diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 7353b3e1f4fc..407658c64fb6 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -449,6 +449,7 @@ struct net_device | |||
449 | #define NETIF_F_VLAN_CHALLENGED 1024 /* Device cannot handle VLAN packets */ | 449 | #define NETIF_F_VLAN_CHALLENGED 1024 /* Device cannot handle VLAN packets */ |
450 | #define NETIF_F_GSO 2048 /* Enable software GSO. */ | 450 | #define NETIF_F_GSO 2048 /* Enable software GSO. */ |
451 | #define NETIF_F_LLTX 4096 /* LockLess TX */ | 451 | #define NETIF_F_LLTX 4096 /* LockLess TX */ |
452 | #define NETIF_F_NETNS_LOCAL 8192 /* Does not change network namespaces */ | ||
452 | #define NETIF_F_MULTI_QUEUE 16384 /* Has multiple TX/RX queues */ | 453 | #define NETIF_F_MULTI_QUEUE 16384 /* Has multiple TX/RX queues */ |
453 | #define NETIF_F_LRO 32768 /* large receive offload */ | 454 | #define NETIF_F_LRO 32768 /* large receive offload */ |
454 | 455 | ||
@@ -1016,6 +1017,8 @@ extern int dev_ethtool(struct net *net, struct ifreq *); | |||
1016 | extern unsigned dev_get_flags(const struct net_device *); | 1017 | extern unsigned dev_get_flags(const struct net_device *); |
1017 | extern int dev_change_flags(struct net_device *, unsigned); | 1018 | extern int dev_change_flags(struct net_device *, unsigned); |
1018 | extern int dev_change_name(struct net_device *, char *); | 1019 | extern int dev_change_name(struct net_device *, char *); |
1020 | extern int dev_change_net_namespace(struct net_device *, | ||
1021 | struct net *, const char *); | ||
1019 | extern int dev_set_mtu(struct net_device *, int); | 1022 | extern int dev_set_mtu(struct net_device *, int); |
1020 | extern int dev_set_mac_address(struct net_device *, | 1023 | extern int dev_set_mac_address(struct net_device *, |
1021 | struct sockaddr *); | 1024 | struct sockaddr *); |