aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h6
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)