projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa6ab56
)
iplink: fix build with kernel versions prior to 2.6.23
author
Eugene Rudoy
<gene.devel@gmail.com>
Wed, 22 Jan 2014 10:49:46 +0000
(11:49 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 22 Jan 2014 10:49:46 +0000
(11:49 +0100)
Signed-off-by: Eugene Rudoy <gene.devel@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/libiproute/iplink.c
patch
|
blob
|
history
diff --git
a/networking/libiproute/iplink.c
b/networking/libiproute/iplink.c
index 286e59ebf8b11558fbf62f286702739906b2fd10..506fb3c7ef1791c293526a95f1a113aa73255ca7 100644
(file)
--- a/
networking/libiproute/iplink.c
+++ b/
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 */