From 0d1a81432401b5343dde68b9cbeb0e40360e321e Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 3 Jan 2020 21:34:46 +0100 Subject: executor: define constants that are missing on some distros --- executor/common_linux.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'executor') diff --git a/executor/common_linux.h b/executor/common_linux.h index 30abfd6c7..bfc4788c7 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -317,6 +317,12 @@ static void netlink_add_macvlan(struct nlmsg* nlmsg, int sock, const char* name, (void)err; } +#define IFLA_IPVLAN_FLAGS 2 +#define IPVLAN_MODE_L3S 2 +#ifndef IPVLAN_F_VEPA +#define IPVLAN_F_VEPA 2 +#endif + static void netlink_add_ipvlan(struct nlmsg* nlmsg, int sock, const char* name, const char* link, uint16 mode, uint16 flags) { netlink_add_device_impl(nlmsg, "ipvlan", name); -- cgit mrf-deployment