aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-29 18:00:15 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-31 19:12:16 +0100
commit96ce537b15c550775cd9ca09002992d9254095c7 (patch)
treee618a90fa11eff427e02e5ac73cc778b06bcae49 /executor/common_linux.h
parent5ed23f9aa677d71bc60f61df8e05046151868541 (diff)
sys/linux: add some wireguard descriptions
Update #806
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index bf56cb00c..a1532e438 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -793,6 +793,8 @@ static void initialize_netdevices(void)
// This adds connected veth0 and veth1 devices.
{"veth", 0},
{"xfrm", "xfrm0"},
+ {"wireguard", "wireguard0"},
+ {"wireguard", "wireguard1"},
};
const char* devmasters[] = {"bridge", "bond", "team", "batadv"};
// If you extend this array, also update netdev_addr_id in vnet.txt
@@ -857,6 +859,8 @@ static void initialize_netdevices(void)
{"batadv_slave_1", ETH_ALEN},
{"geneve0", ETH_ALEN},
{"geneve1", ETH_ALEN},
+ {"wireguard0", 0},
+ {"wireguard1", 0},
};
int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
if (sock == -1)