diff options
-rw-r--r-- | networking/libiproute/iplink.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index 286e59ebf..506fb3c7e 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c | |||
@@ -31,6 +31,16 @@ | |||
31 | #ifndef IFLA_LINKINFO | 31 | #ifndef IFLA_LINKINFO |
32 | # define IFLA_LINKINFO 18 | 32 | # define IFLA_LINKINFO 18 |
33 | # define IFLA_INFO_KIND 1 | 33 | # define IFLA_INFO_KIND 1 |
34 | # define IFLA_INFO_DATA 2 | ||
35 | #endif | ||
36 | |||
37 | #ifndef IFLA_VLAN_MAX | ||
38 | # define IFLA_VLAN_ID 1 | ||
39 | # define IFLA_VLAN_FLAGS 2 | ||
40 | struct ifla_vlan_flags { | ||
41 | uint32_t flags; | ||
42 | uint32_t mask; | ||
43 | }; | ||
34 | #endif | 44 | #endif |
35 | 45 | ||
36 | /* taken from linux/sockios.h */ | 46 | /* taken from linux/sockios.h */ |