aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource
diff options
context:
space:
mode:
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);