--- zzzz-none-000/linux-3.10.107/include/uapi/linux/if.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/uapi/linux/if.h 2021-11-10 11:53:56.000000000 +0000 @@ -23,7 +23,15 @@ #include /* for "struct sockaddr" et al */ #include /* for "__user" et al */ +/* nsc@avm: gently define IFNAMSIZ is not yet done; check for consistency */ +#ifdef IFNAMSIZ +# if IFNAMSIZ != 16 +# error IFNAMSIZ has been defined != 16 +# endif +#else #define IFNAMSIZ 16 +#endif + #define IFALIASZ 256 #include @@ -83,6 +91,10 @@ #define IFF_SUPP_NOFCS 0x80000 /* device supports sending custom FCS */ #define IFF_LIVE_ADDR_CHANGE 0x100000 /* device supports hardware address * change when it's running */ +#define IFF_AVM_WLAN_OFFLOAD_DEVICE 0x200000 /* wlan offload devices need special handling in ioctrl code */ +#define IFF_MACVLAN 0x400000 /* Macvlan device */ +#define IFF_NO_IP_ALIGN 0x800000 /* do not ip-align allocated rx pkts */ +#define IFF_AVM_INTERNAL_VLAN_DEV 0x1000000 /* internal vlan tagging for switch port seperation */ #define IF_GET_IFACE 0x0001 /* for querying only */