mirror of
https://github.com/sheumann/hush.git
synced 2025-01-11 08:29:54 +00:00
iplink: fix build with kernel versions prior to 2.6.23
Signed-off-by: Eugene Rudoy <gene.devel@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
fa6ab56353
commit
731f596175
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user