From 466887796745faee6c2f8e7857318c926c6fa1f0 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 18 Jan 2020 20:53:32 +0100 Subject: sys/linux: add some batadv descriptions --- executor/common_linux.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'executor/common_linux.h') 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) -- cgit mrf-deployment