aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-03 21:34:46 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-03 21:34:46 +0100
commit0d1a81432401b5343dde68b9cbeb0e40360e321e (patch)
treed8aa4076f1fbe7e870896f947efa51a88501fe24 /pkg/csource
parent76d86b16e617e761300a6de97f41f36bf091ef65 (diff)
executor: define constants that are missing on some distros
Diffstat (limited to 'pkg/csource')
-rw-r--r--pkg/csource/generated.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go
index ad553310f..b648570bb 100644
--- a/pkg/csource/generated.go
+++ b/pkg/csource/generated.go
@@ -1353,6 +1353,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);