diff options
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 17 | 
1 files changed, 9 insertions, 8 deletions
| diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index e49d8c98d284..5aee8d3895f4 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -589,6 +589,7 @@ static inline bool napi_complete(struct napi_struct *n)  	return napi_complete_done(n, 0);  } +int netif_set_threaded(struct net_device *dev, bool threaded);  int dev_set_threaded(struct net_device *dev, bool threaded);  void napi_disable(struct napi_struct *n); @@ -3342,7 +3343,7 @@ int netif_open(struct net_device *dev, struct netlink_ext_ack *extack);  int dev_open(struct net_device *dev, struct netlink_ext_ack *extack);  void netif_close(struct net_device *dev);  void dev_close(struct net_device *dev); -void dev_close_many(struct list_head *head, bool unlink); +void netif_close_many(struct list_head *head, bool unlink);  void netif_disable_lro(struct net_device *dev);  void dev_disable_lro(struct net_device *dev);  int dev_loopback_xmit(struct net *net, struct sock *sk, struct sk_buff *newskb); @@ -4196,7 +4197,7 @@ int generic_hwtstamp_set_lower(struct net_device *dev,  			       struct kernel_hwtstamp_config *kernel_cfg,  			       struct netlink_ext_ack *extack);  int dev_ethtool(struct net *net, struct ifreq *ifr, void __user *userdata); -unsigned int dev_get_flags(const struct net_device *); +unsigned int netif_get_flags(const struct net_device *dev);  int __dev_change_flags(struct net_device *dev, unsigned int flags,  		       struct netlink_ext_ack *extack);  int netif_change_flags(struct net_device *dev, unsigned int flags, @@ -4211,20 +4212,20 @@ int __dev_change_net_namespace(struct net_device *dev, struct net *net,  			       struct netlink_ext_ack *extack);  int dev_change_net_namespace(struct net_device *dev, struct net *net,  			     const char *pat); -int __dev_set_mtu(struct net_device *, int); +int __netif_set_mtu(struct net_device *dev, int new_mtu);  int netif_set_mtu(struct net_device *dev, int new_mtu);  int dev_set_mtu(struct net_device *, int); -int dev_pre_changeaddr_notify(struct net_device *dev, const char *addr, -			      struct netlink_ext_ack *extack); +int netif_pre_changeaddr_notify(struct net_device *dev, const char *addr, +				struct netlink_ext_ack *extack);  int netif_set_mac_address(struct net_device *dev, struct sockaddr_storage *ss,  			  struct netlink_ext_ack *extack);  int dev_set_mac_address(struct net_device *dev, struct sockaddr_storage *ss,  			struct netlink_ext_ack *extack);  int dev_set_mac_address_user(struct net_device *dev, struct sockaddr_storage *ss,  			     struct netlink_ext_ack *extack); -int dev_get_mac_address(struct sockaddr *sa, struct net *net, char *dev_name); -int dev_get_port_parent_id(struct net_device *dev, -			   struct netdev_phys_item_id *ppid, bool recurse); +int netif_get_mac_address(struct sockaddr *sa, struct net *net, char *dev_name); +int netif_get_port_parent_id(struct net_device *dev, +			     struct netdev_phys_item_id *ppid, bool recurse);  bool netdev_port_same_parent_id(struct net_device *a, struct net_device *b);  struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev, bool *again); | 
