mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-13 23:33:32 +08:00
1052a4a75f
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
20 lines
425 B
Diff
20 lines
425 B
Diff
--- busybox-1.22.1/networking/libiproute/iplink.c
|
|
+++ busybox-1.22.1-iplink/networking/libiproute/iplink.c
|
|
@@ -31,6 +31,16 @@
|
|
#ifndef IFLA_LINKINFO
|
|
# define IFLA_LINKINFO 18
|
|
# define IFLA_INFO_KIND 1
|
|
+# define IFLA_INFO_DATA 2
|
|
+#endif
|
|
+
|
|
+#ifndef IFLA_VLAN_MAX
|
|
+# define IFLA_VLAN_ID 1
|
|
+# define IFLA_VLAN_FLAGS 2
|
|
+struct ifla_vlan_flags {
|
|
+ uint32_t flags;
|
|
+ uint32_t mask;
|
|
+};
|
|
#endif
|
|
|
|
/* taken from linux/sockios.h */
|