diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-01-18 20:53:32 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-01-18 21:02:24 +0100 |
| commit | 466887796745faee6c2f8e7857318c926c6fa1f0 (patch) | |
| tree | 0d428f4ef427588cf6b44bbf7240071f56866017 /executor/common_linux.h | |
| parent | 543c012b4ec683a624e7cffc927ad246e238cc27 (diff) | |
sys/linux: add some batadv descriptions
Diffstat (limited to 'executor/common_linux.h')
| -rw-r--r-- | executor/common_linux.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h index 354a9e84e..e8fa063f6 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -779,7 +779,7 @@ static void initialize_netdevices(void) {"veth", 0}, {"xfrm", "xfrm0"}, }; - const char* devmasters[] = {"bridge", "bond", "team"}; + const char* devmasters[] = {"bridge", "bond", "team", "batadv"}; // If you extend this array, also update netdev_addr_id in vnet.txt // and devnames in socket.txt. struct { @@ -836,6 +836,10 @@ static void initialize_netdevices(void) {"veth1_macvtap", ETH_ALEN}, {"macvtap0", ETH_ALEN}, {"macsec0", ETH_ALEN}, + {"veth0_to_batadv", ETH_ALEN}, + {"veth1_to_batadv", ETH_ALEN}, + {"batadv_slave_0", ETH_ALEN}, + {"batadv_slave_1", ETH_ALEN}, }; int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (sock == -1) |
