summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/netdevice.h
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-05-31 16:11:24 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2014-06-02 00:16:18 +0200
commit4d1a1850cfb8918fbf190071d1f1f1383814538e (patch)
tree065e06b59f5873e94a55f1c8dff03414254b1e61 /backport/backport-include/linux/netdevice.h
parentd787b3dd3b4fcb5f40eb6532163dc3abdca4fd45 (diff)
backports: move net_device_priv_flags
These flags are now defined in linux/netdevice.h and not in linux/if.h any more. This patch also removed some defined in all kernel versions since 3.0. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'backport/backport-include/linux/netdevice.h')
-rw-r--r--backport/backport-include/linux/netdevice.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h
index 2abb47d7..69797588 100644
--- a/backport/backport-include/linux/netdevice.h
+++ b/backport/backport-include/linux/netdevice.h
@@ -145,4 +145,16 @@ static inline void netdev_reset_queue(struct net_device *dev_queue)
#define napi_gro_flush(napi, old) napi_gro_flush(napi)
#endif
+#ifndef IFF_LIVE_ADDR_CHANGE
+#define IFF_LIVE_ADDR_CHANGE 0x100000
+#endif
+
+#ifndef IFF_SUPP_NOFCS
+#define IFF_SUPP_NOFCS 0x80000 /* device supports sending custom FCS */
+#endif
+
+#ifndef IFF_UNICAST_FLT
+#define IFF_UNICAST_FLT 0x20000 /* Supports unicast filtering */
+#endif
+
#endif /* __BACKPORT_NETDEVICE_H */