aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 76c5de4978a8..ec8f9b5f6500 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1164,6 +1164,8 @@ struct net_device_ops {
1164 bool new_carrier); 1164 bool new_carrier);
1165 int (*ndo_get_phys_port_id)(struct net_device *dev, 1165 int (*ndo_get_phys_port_id)(struct net_device *dev,
1166 struct netdev_phys_item_id *ppid); 1166 struct netdev_phys_item_id *ppid);
1167 int (*ndo_get_phys_port_name)(struct net_device *dev,
1168 char *name, size_t len);
1167 void (*ndo_add_vxlan_port)(struct net_device *dev, 1169 void (*ndo_add_vxlan_port)(struct net_device *dev,
1168 sa_family_t sa_family, 1170 sa_family_t sa_family,
1169 __be16 port); 1171 __be16 port);
@@ -2947,6 +2949,8 @@ int dev_set_mac_address(struct net_device *, struct sockaddr *);
2947int dev_change_carrier(struct net_device *, bool new_carrier); 2949int dev_change_carrier(struct net_device *, bool new_carrier);
2948int dev_get_phys_port_id(struct net_device *dev, 2950int dev_get_phys_port_id(struct net_device *dev,
2949 struct netdev_phys_item_id *ppid); 2951 struct netdev_phys_item_id *ppid);
2952int dev_get_phys_port_name(struct net_device *dev,
2953 char *name, size_t len);
2950struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev); 2954struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev);
2951struct sk_buff *dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev, 2955struct sk_buff *dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev,
2952 struct netdev_queue *txq, int *ret); 2956 struct netdev_queue *txq, int *ret);