Lines Matching refs:net_device
72 void netdev_set_default_ethtool_ops(struct net_device *dev,
268 int (*create) (struct sk_buff *skb, struct net_device *dev,
274 const struct net_device *dev,
335 struct net_device *dev;
568 struct net_device *dev;
585 struct net_device *sb_dev;
701 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id,
713 struct net_device *dev;
800 typedef u16 (*select_queue_fallback_t)(struct net_device *dev,
802 struct net_device *sb_dev);
904 int (*tls_dev_add)(struct net_device *netdev, struct sock *sk,
908 void (*tls_dev_del)(struct net_device *netdev,
911 void (*tls_dev_resync_rx)(struct net_device *netdev,
1226 int (*ndo_init)(struct net_device *dev);
1227 void (*ndo_uninit)(struct net_device *dev);
1228 int (*ndo_open)(struct net_device *dev);
1229 int (*ndo_stop)(struct net_device *dev);
1231 struct net_device *dev);
1233 struct net_device *dev,
1235 u16 (*ndo_select_queue)(struct net_device *dev,
1237 struct net_device *sb_dev,
1239 void (*ndo_change_rx_flags)(struct net_device *dev,
1241 void (*ndo_set_rx_mode)(struct net_device *dev);
1242 int (*ndo_set_mac_address)(struct net_device *dev,
1244 int (*ndo_validate_addr)(struct net_device *dev);
1245 int (*ndo_do_ioctl)(struct net_device *dev,
1247 int (*ndo_set_config)(struct net_device *dev,
1249 int (*ndo_change_mtu)(struct net_device *dev,
1251 int (*ndo_neigh_setup)(struct net_device *dev,
1253 void (*ndo_tx_timeout) (struct net_device *dev);
1255 void (*ndo_get_stats64)(struct net_device *dev,
1257 bool (*ndo_has_offload_stats)(const struct net_device *dev, int attr_id);
1259 const struct net_device *dev,
1261 struct net_device_stats* (*ndo_get_stats)(struct net_device *dev);
1263 int (*ndo_vlan_rx_add_vid)(struct net_device *dev,
1265 int (*ndo_vlan_rx_kill_vid)(struct net_device *dev,
1268 void (*ndo_poll_controller)(struct net_device *dev);
1269 int (*ndo_netpoll_setup)(struct net_device *dev,
1271 void (*ndo_netpoll_cleanup)(struct net_device *dev);
1273 int (*ndo_set_vf_mac)(struct net_device *dev,
1275 int (*ndo_set_vf_vlan)(struct net_device *dev,
1278 int (*ndo_set_vf_rate)(struct net_device *dev,
1281 int (*ndo_set_vf_spoofchk)(struct net_device *dev,
1283 int (*ndo_set_vf_trust)(struct net_device *dev,
1285 int (*ndo_get_vf_config)(struct net_device *dev,
1288 int (*ndo_set_vf_link_state)(struct net_device *dev,
1290 int (*ndo_get_vf_stats)(struct net_device *dev,
1294 int (*ndo_set_vf_port)(struct net_device *dev,
1297 int (*ndo_get_vf_port)(struct net_device *dev,
1299 int (*ndo_set_vf_guid)(struct net_device *dev,
1303 struct net_device *dev,
1305 int (*ndo_setup_tc)(struct net_device *dev,
1309 int (*ndo_fcoe_enable)(struct net_device *dev);
1310 int (*ndo_fcoe_disable)(struct net_device *dev);
1311 int (*ndo_fcoe_ddp_setup)(struct net_device *dev,
1315 int (*ndo_fcoe_ddp_done)(struct net_device *dev,
1317 int (*ndo_fcoe_ddp_target)(struct net_device *dev,
1321 int (*ndo_fcoe_get_hbainfo)(struct net_device *dev,
1328 int (*ndo_fcoe_get_wwn)(struct net_device *dev,
1333 int (*ndo_rx_flow_steer)(struct net_device *dev,
1338 int (*ndo_add_slave)(struct net_device *dev,
1339 struct net_device *slave_dev,
1341 int (*ndo_del_slave)(struct net_device *dev,
1342 struct net_device *slave_dev);
1343 netdev_features_t (*ndo_fix_features)(struct net_device *dev,
1345 int (*ndo_set_features)(struct net_device *dev,
1347 int (*ndo_neigh_construct)(struct net_device *dev,
1349 void (*ndo_neigh_destroy)(struct net_device *dev,
1354 struct net_device *dev,
1360 struct net_device *dev,
1365 struct net_device *dev,
1366 struct net_device *filter_dev,
1369 int (*ndo_bridge_setlink)(struct net_device *dev,
1374 struct net_device *dev,
1377 int (*ndo_bridge_dellink)(struct net_device *dev,
1380 int (*ndo_change_carrier)(struct net_device *dev,
1382 int (*ndo_get_phys_port_id)(struct net_device *dev,
1384 int (*ndo_get_phys_port_name)(struct net_device *dev,
1386 void (*ndo_udp_tunnel_add)(struct net_device *dev,
1388 void (*ndo_udp_tunnel_del)(struct net_device *dev,
1390 void* (*ndo_dfwd_add_station)(struct net_device *pdev,
1391 struct net_device *dev);
1392 void (*ndo_dfwd_del_station)(struct net_device *pdev,
1395 int (*ndo_get_lock_subclass)(struct net_device *dev);
1396 int (*ndo_set_tx_maxrate)(struct net_device *dev,
1399 int (*ndo_get_iflink)(const struct net_device *dev);
1400 int (*ndo_change_proto_down)(struct net_device *dev,
1402 int (*ndo_fill_metadata_dst)(struct net_device *dev,
1404 void (*ndo_set_rx_headroom)(struct net_device *dev,
1406 int (*ndo_bpf)(struct net_device *dev,
1408 int (*ndo_xdp_xmit)(struct net_device *dev, int n,
1411 int (*ndo_xsk_async_xmit)(struct net_device *dev,
1739 struct net_device { struct
1965 void (*priv_destructor)(struct net_device *dev); argument
2021 #define to_net_dev(d) container_of(d, struct net_device, dev) argument
2023 static inline bool netif_elide_gro(const struct net_device *dev) in netif_elide_gro()
2033 int netdev_get_prio_tc_map(const struct net_device *dev, u32 prio) in netdev_get_prio_tc_map()
2039 int netdev_set_prio_tc_map(struct net_device *dev, u8 prio, u8 tc) in netdev_set_prio_tc_map()
2048 int netdev_txq_to_tc(struct net_device *dev, unsigned int txq);
2049 void netdev_reset_tc(struct net_device *dev);
2050 int netdev_set_tc_queue(struct net_device *dev, u8 tc, u16 count, u16 offset);
2051 int netdev_set_num_tc(struct net_device *dev, u8 num_tc);
2054 int netdev_get_num_tc(struct net_device *dev) in netdev_get_num_tc()
2059 void netdev_unbind_sb_channel(struct net_device *dev,
2060 struct net_device *sb_dev);
2061 int netdev_bind_sb_channel_queue(struct net_device *dev,
2062 struct net_device *sb_dev,
2064 int netdev_set_sb_channel(struct net_device *dev, u16 channel);
2065 static inline int netdev_get_sb_channel(struct net_device *dev) in netdev_get_sb_channel()
2071 struct netdev_queue *netdev_get_tx_queue(const struct net_device *dev, in netdev_get_tx_queue()
2077 static inline struct netdev_queue *skb_get_tx_queue(const struct net_device *dev, in skb_get_tx_queue()
2083 static inline void netdev_for_each_tx_queue(struct net_device *dev, in netdev_for_each_tx_queue()
2084 void (*f)(struct net_device *, in netdev_for_each_tx_queue() argument
2112 struct netdev_queue *netdev_pick_tx(struct net_device *dev,
2114 struct net_device *sb_dev);
2119 static inline unsigned netdev_get_fwd_headroom(struct net_device *dev) in netdev_get_fwd_headroom()
2124 static inline void netdev_set_rx_headroom(struct net_device *dev, int new_hr) in netdev_set_rx_headroom()
2131 static inline void netdev_reset_rx_headroom(struct net_device *dev) in netdev_reset_rx_headroom()
2140 struct net *dev_net(const struct net_device *dev) in dev_net()
2146 void dev_net_set(struct net_device *dev, struct net *net) in dev_net_set()
2157 static inline void *netdev_priv(const struct net_device *dev) in netdev_priv()
2159 return (char *)dev + ALIGN(sizeof(struct net_device), NETDEV_ALIGN); in netdev_priv()
2188 void netif_napi_add(struct net_device *dev, struct napi_struct *napi,
2202 static inline void netif_tx_napi_add(struct net_device *dev, in netif_tx_napi_add()
2323 struct net_device *dev; /* NULL is wildcarded here */
2325 struct net_device *,
2327 struct net_device *);
2330 struct net_device *);
2457 struct net_device *dev;
2475 struct net_device *upper_dev; /* new upper dev */
2487 struct net_device *dev) in netdev_notifier_info_init()
2493 static inline struct net_device *
2505 int call_netdevice_notifiers(unsigned long val, struct net_device *dev);
2525 #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list)
2527 static inline struct net_device *next_net_device(struct net_device *dev) in next_net_device()
2537 static inline struct net_device *next_net_device_rcu(struct net_device *dev) in next_net_device_rcu()
2547 static inline struct net_device *first_net_device(struct net *net) in first_net_device()
2553 static inline struct net_device *first_net_device_rcu(struct net *net) in first_net_device_rcu()
2560 int netdev_boot_setup_check(struct net_device *dev);
2562 struct net_device *dev_getbyhwaddr_rcu(struct net *net, unsigned short type,
2564 struct net_device *dev_getfirstbyhwtype(struct net *net, unsigned short type);
2565 struct net_device *__dev_getfirstbyhwtype(struct net *net, unsigned short type);
2572 int dev_get_iflink(const struct net_device *dev);
2573 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb);
2574 struct net_device *__dev_get_by_flags(struct net *net, unsigned short flags,
2576 struct net_device *dev_get_by_name(struct net *net, const char *name);
2577 struct net_device *dev_get_by_name_rcu(struct net *net, const char *name);
2578 struct net_device *__dev_get_by_name(struct net *net, const char *name);
2579 int dev_alloc_name(struct net_device *dev, const char *name);
2580 int dev_open(struct net_device *dev);
2581 void dev_close(struct net_device *dev);
2583 void dev_disable_lro(struct net_device *dev);
2585 u16 dev_pick_tx_zero(struct net_device *dev, struct sk_buff *skb,
2586 struct net_device *sb_dev,
2588 u16 dev_pick_tx_cpu_id(struct net_device *dev, struct sk_buff *skb,
2589 struct net_device *sb_dev,
2592 int dev_queue_xmit_accel(struct sk_buff *skb, struct net_device *sb_dev);
2594 int register_netdevice(struct net_device *dev);
2595 void unregister_netdevice_queue(struct net_device *dev, struct list_head *head);
2597 static inline void unregister_netdevice(struct net_device *dev) in unregister_netdevice()
2602 int netdev_refcnt_read(const struct net_device *dev);
2603 void free_netdev(struct net_device *dev);
2604 void netdev_freemem(struct net_device *dev);
2606 int init_dummy_netdev(struct net_device *dev);
2616 struct net_device *dev_get_by_index(struct net *net, int ifindex);
2617 struct net_device *__dev_get_by_index(struct net *net, int ifindex);
2618 struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex);
2619 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
2621 int dev_restart(struct net_device *dev);
2870 static inline int dev_hard_header(struct sk_buff *skb, struct net_device *dev, in dev_hard_header()
2884 const struct net_device *dev = skb->dev; in dev_parse_header()
2892 static inline bool dev_validate_header(const struct net_device *dev, in dev_validate_header()
2911 typedef int gifconf_func_t(struct net_device * dev, char __user * bufptr,
2993 static inline void netif_tx_schedule_all(struct net_device *dev) in netif_tx_schedule_all()
3012 static inline void netif_start_queue(struct net_device *dev) in netif_start_queue()
3017 static inline void netif_tx_start_all_queues(struct net_device *dev) in netif_tx_start_all_queues()
3036 static inline void netif_wake_queue(struct net_device *dev) in netif_wake_queue()
3041 static inline void netif_tx_wake_all_queues(struct net_device *dev) in netif_tx_wake_all_queues()
3063 static inline void netif_stop_queue(struct net_device *dev) in netif_stop_queue()
3068 void netif_tx_stop_all_queues(struct net_device *dev);
3081 static inline bool netif_queue_stopped(const struct net_device *dev) in netif_queue_stopped()
3164 static inline void netdev_sent_queue(struct net_device *dev, unsigned int bytes) in netdev_sent_queue()
3203 static inline void netdev_completed_queue(struct net_device *dev, in netdev_completed_queue()
3224 static inline void netdev_reset_queue(struct net_device *dev_queue) in netdev_reset_queue()
3237 static inline u16 netdev_cap_txqueue(struct net_device *dev, u16 queue_index) in netdev_cap_txqueue()
3255 static inline bool netif_running(const struct net_device *dev) in netif_running()
3274 static inline void netif_start_subqueue(struct net_device *dev, u16 queue_index) in netif_start_subqueue()
3288 static inline void netif_stop_subqueue(struct net_device *dev, u16 queue_index) in netif_stop_subqueue()
3301 static inline bool __netif_subqueue_stopped(const struct net_device *dev, in __netif_subqueue_stopped()
3309 static inline bool netif_subqueue_stopped(const struct net_device *dev, in netif_subqueue_stopped()
3322 static inline void netif_wake_subqueue(struct net_device *dev, u16 queue_index) in netif_wake_subqueue()
3330 int netif_set_xps_queue(struct net_device *dev, const struct cpumask *mask,
3332 int __netif_set_xps_queue(struct net_device *dev, const unsigned long *mask,
3419 static inline int netif_set_xps_queue(struct net_device *dev, in netif_set_xps_queue()
3426 static inline int __netif_set_xps_queue(struct net_device *dev, in __netif_set_xps_queue()
3440 static inline bool netif_is_multiqueue(const struct net_device *dev) in netif_is_multiqueue()
3445 int netif_set_real_num_tx_queues(struct net_device *dev, unsigned int txq);
3448 int netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq);
3450 static inline int netif_set_real_num_rx_queues(struct net_device *dev, in netif_set_real_num_rx_queues()
3459 __netif_get_rx_queue(struct net_device *dev, unsigned int rxq) in __netif_get_rx_queue()
3468 struct net_device *dev = queue->dev; in get_netdev_rx_queue_index()
3546 bool netdev_is_rx_handler_busy(struct net_device *dev);
3547 int netdev_rx_handler_register(struct net_device *dev,
3550 void netdev_rx_handler_unregister(struct net_device *dev);
3557 unsigned int dev_get_flags(const struct net_device *);
3558 int __dev_change_flags(struct net_device *, unsigned int flags);
3559 int dev_change_flags(struct net_device *, unsigned int);
3560 void __dev_notify_flags(struct net_device *, unsigned int old_flags,
3562 int dev_change_name(struct net_device *, const char *);
3563 int dev_set_alias(struct net_device *, const char *, size_t);
3564 int dev_get_alias(const struct net_device *, char *, size_t);
3565 int dev_change_net_namespace(struct net_device *, struct net *, const char *);
3566 int __dev_set_mtu(struct net_device *, int);
3567 int dev_set_mtu_ext(struct net_device *dev, int mtu,
3569 int dev_set_mtu(struct net_device *, int);
3570 int dev_change_tx_queue_len(struct net_device *, unsigned long);
3571 void dev_set_group(struct net_device *, int);
3572 int dev_set_mac_address(struct net_device *, struct sockaddr *);
3573 int dev_change_carrier(struct net_device *, bool new_carrier);
3574 int dev_get_phys_port_id(struct net_device *dev,
3576 int dev_get_phys_port_name(struct net_device *dev,
3578 int dev_change_proto_down(struct net_device *dev, bool proto_down);
3579 struct sk_buff *validate_xmit_skb_list(struct sk_buff *skb, struct net_device *dev, bool *again);
3580 struct sk_buff *dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev,
3583 typedef int (*bpf_op_t)(struct net_device *dev, struct netdev_bpf *bpf);
3584 int dev_change_xdp_fd(struct net_device *dev, struct netlink_ext_ack *extack,
3586 u32 __dev_xdp_query(struct net_device *dev, bpf_op_t xdp_op,
3588 int xdp_umem_query(struct net_device *dev, u16 queue_id);
3590 int __dev_forward_skb(struct net_device *dev, struct sk_buff *skb);
3591 int dev_forward_skb(struct net_device *dev, struct sk_buff *skb);
3592 bool is_skb_forwardable(const struct net_device *dev,
3595 static __always_inline int ____dev_forward_skb(struct net_device *dev, in ____dev_forward_skb()
3610 void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev);
3624 static inline void dev_put(struct net_device *dev) in dev_put()
3635 static inline void dev_hold(struct net_device *dev) in dev_hold()
3649 void linkwatch_init_dev(struct net_device *dev);
3650 void linkwatch_fire_event(struct net_device *dev);
3651 void linkwatch_forget_dev(struct net_device *dev);
3659 static inline bool netif_carrier_ok(const struct net_device *dev) in netif_carrier_ok()
3664 unsigned long dev_trans_start(struct net_device *dev);
3666 void __netdev_watchdog_up(struct net_device *dev);
3668 void netif_carrier_on(struct net_device *dev);
3670 void netif_carrier_off(struct net_device *dev);
3684 static inline void netif_dormant_on(struct net_device *dev) in netif_dormant_on()
3696 static inline void netif_dormant_off(struct net_device *dev) in netif_dormant_off()
3708 static inline bool netif_dormant(const struct net_device *dev) in netif_dormant()
3720 static inline bool netif_oper_up(const struct net_device *dev) in netif_oper_up()
3732 static inline bool netif_device_present(struct net_device *dev) in netif_device_present()
3737 void netif_device_detach(struct net_device *dev);
3739 void netif_device_attach(struct net_device *dev);
3840 static inline void netif_trans_update(struct net_device *dev) in netif_trans_update()
3854 static inline void netif_tx_lock(struct net_device *dev) in netif_tx_lock()
3876 static inline void netif_tx_lock_bh(struct net_device *dev) in netif_tx_lock_bh()
3882 static inline void netif_tx_unlock(struct net_device *dev) in netif_tx_unlock()
3899 static inline void netif_tx_unlock_bh(struct net_device *dev) in netif_tx_unlock_bh()
3926 static inline void netif_tx_disable(struct net_device *dev) in netif_tx_disable()
3943 static inline void netif_addr_lock(struct net_device *dev) in netif_addr_lock()
3948 static inline void netif_addr_lock_nested(struct net_device *dev) in netif_addr_lock_nested()
3958 static inline void netif_addr_lock_bh(struct net_device *dev) in netif_addr_lock_bh()
3963 static inline void netif_addr_unlock(struct net_device *dev) in netif_addr_unlock()
3968 static inline void netif_addr_unlock_bh(struct net_device *dev) in netif_addr_unlock_bh()
3982 void ether_setup(struct net_device *dev);
3985 struct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name,
3987 void (*setup)(struct net_device *),
3989 int dev_get_valid_name(struct net *net, struct net_device *dev,
3999 int register_netdev(struct net_device *dev);
4000 void unregister_netdev(struct net_device *dev);
4008 struct net_device *dev,
4009 int (*sync)(struct net_device *, const unsigned char *),
4010 int (*unsync)(struct net_device *,
4013 struct net_device *dev,
4014 int (*unsync)(struct net_device *,
4019 int dev_addr_add(struct net_device *dev, const unsigned char *addr,
4021 int dev_addr_del(struct net_device *dev, const unsigned char *addr,
4023 void dev_addr_flush(struct net_device *dev);
4024 int dev_addr_init(struct net_device *dev);
4027 int dev_uc_add(struct net_device *dev, const unsigned char *addr);
4028 int dev_uc_add_excl(struct net_device *dev, const unsigned char *addr);
4029 int dev_uc_del(struct net_device *dev, const unsigned char *addr);
4030 int dev_uc_sync(struct net_device *to, struct net_device *from);
4031 int dev_uc_sync_multiple(struct net_device *to, struct net_device *from);
4032 void dev_uc_unsync(struct net_device *to, struct net_device *from);
4033 void dev_uc_flush(struct net_device *dev);
4034 void dev_uc_init(struct net_device *dev);
4045 static inline int __dev_uc_sync(struct net_device *dev, in __dev_uc_sync()
4046 int (*sync)(struct net_device *, in __dev_uc_sync() argument
4048 int (*unsync)(struct net_device *, in __dev_uc_sync() argument
4061 static inline void __dev_uc_unsync(struct net_device *dev, in __dev_uc_unsync()
4062 int (*unsync)(struct net_device *, in __dev_uc_unsync() argument
4069 int dev_mc_add(struct net_device *dev, const unsigned char *addr);
4070 int dev_mc_add_global(struct net_device *dev, const unsigned char *addr);
4071 int dev_mc_add_excl(struct net_device *dev, const unsigned char *addr);
4072 int dev_mc_del(struct net_device *dev, const unsigned char *addr);
4073 int dev_mc_del_global(struct net_device *dev, const unsigned char *addr);
4074 int dev_mc_sync(struct net_device *to, struct net_device *from);
4075 int dev_mc_sync_multiple(struct net_device *to, struct net_device *from);
4076 void dev_mc_unsync(struct net_device *to, struct net_device *from);
4077 void dev_mc_flush(struct net_device *dev);
4078 void dev_mc_init(struct net_device *dev);
4089 static inline int __dev_mc_sync(struct net_device *dev, in __dev_mc_sync()
4090 int (*sync)(struct net_device *, in __dev_mc_sync() argument
4092 int (*unsync)(struct net_device *, in __dev_mc_sync() argument
4105 static inline void __dev_mc_unsync(struct net_device *dev, in __dev_mc_unsync()
4106 int (*unsync)(struct net_device *, in __dev_mc_unsync() argument
4113 void dev_set_rx_mode(struct net_device *dev);
4114 void __dev_set_rx_mode(struct net_device *dev);
4115 int dev_set_promiscuity(struct net_device *dev, int inc);
4116 int dev_set_allmulti(struct net_device *dev, int inc);
4117 void netdev_state_change(struct net_device *dev);
4118 void netdev_notify_peers(struct net_device *dev);
4119 void netdev_features_change(struct net_device *dev);
4122 struct rtnl_link_stats64 *dev_get_stats(struct net_device *dev,
4135 bool netdev_has_upper_dev(struct net_device *dev, struct net_device *upper_dev);
4136 struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev,
4138 struct net_device *netdev_all_upper_get_next_dev_rcu(struct net_device *dev,
4148 int netdev_walk_all_upper_dev_rcu(struct net_device *dev,
4149 int (*fn)(struct net_device *upper_dev,
4153 bool netdev_has_upper_dev_all_rcu(struct net_device *dev,
4154 struct net_device *upper_dev);
4156 bool netdev_has_any_upper_dev(struct net_device *dev);
4158 void *netdev_lower_get_next_private(struct net_device *dev,
4160 void *netdev_lower_get_next_private_rcu(struct net_device *dev,
4175 void *netdev_lower_get_next(struct net_device *dev,
4184 struct net_device *netdev_all_lower_get_next(struct net_device *dev,
4186 struct net_device *netdev_all_lower_get_next_rcu(struct net_device *dev,
4189 int netdev_walk_all_lower_dev(struct net_device *dev,
4190 int (*fn)(struct net_device *lower_dev,
4193 int netdev_walk_all_lower_dev_rcu(struct net_device *dev,
4194 int (*fn)(struct net_device *lower_dev,
4199 void *netdev_lower_get_first_private_rcu(struct net_device *dev);
4200 struct net_device *netdev_master_upper_dev_get(struct net_device *dev);
4201 struct net_device *netdev_master_upper_dev_get_rcu(struct net_device *dev);
4202 int netdev_upper_dev_link(struct net_device *dev, struct net_device *upper_dev,
4204 int netdev_master_upper_dev_link(struct net_device *dev,
4205 struct net_device *upper_dev,
4208 void netdev_upper_dev_unlink(struct net_device *dev,
4209 struct net_device *upper_dev);
4210 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname);
4211 void *netdev_lower_dev_get_private(struct net_device *dev,
4212 struct net_device *lower_dev);
4213 void netdev_lower_state_changed(struct net_device *lower_dev,
4221 int dev_get_nest_level(struct net_device *dev);
4242 void netdev_bonding_info_change(struct net_device *dev,
4276 void netdev_rx_csum_fault(struct net_device *dev);
4278 static inline void netdev_rx_csum_fault(struct net_device *dev) in netdev_rx_csum_fault()
4293 struct sk_buff *skb, struct net_device *dev, in __netdev_start_xmit()
4300 static inline netdev_tx_t netdev_start_xmit(struct sk_buff *skb, struct net_device *dev, in netdev_start_xmit()
4330 const char *netdev_drivername(const struct net_device *dev);
4348 struct net_device *dev) in netdev_get_wanted_features()
4365 int __netdev_update_features(struct net_device *dev);
4366 void netdev_update_features(struct net_device *dev);
4367 void netdev_change_features(struct net_device *dev);
4369 void netif_stacked_transfer_operstate(const struct net_device *rootdev,
4370 struct net_device *dev);
4373 struct net_device *dev,
4418 static inline void netif_set_gso_max_size(struct net_device *dev, in netif_set_gso_max_size()
4437 static inline bool netif_is_macsec(const struct net_device *dev) in netif_is_macsec()
4442 static inline bool netif_is_macvlan(const struct net_device *dev) in netif_is_macvlan()
4447 static inline bool netif_is_macvlan_port(const struct net_device *dev) in netif_is_macvlan_port()
4452 static inline bool netif_is_bond_master(const struct net_device *dev) in netif_is_bond_master()
4457 static inline bool netif_is_bond_slave(const struct net_device *dev) in netif_is_bond_slave()
4462 static inline bool netif_supports_nofcs(struct net_device *dev) in netif_supports_nofcs()
4467 static inline bool netif_is_l3_master(const struct net_device *dev) in netif_is_l3_master()
4472 static inline bool netif_is_l3_slave(const struct net_device *dev) in netif_is_l3_slave()
4477 static inline bool netif_is_bridge_master(const struct net_device *dev) in netif_is_bridge_master()
4482 static inline bool netif_is_bridge_port(const struct net_device *dev) in netif_is_bridge_port()
4487 static inline bool netif_is_ovs_master(const struct net_device *dev) in netif_is_ovs_master()
4492 static inline bool netif_is_ovs_port(const struct net_device *dev) in netif_is_ovs_port()
4497 static inline bool netif_is_team_master(const struct net_device *dev) in netif_is_team_master()
4502 static inline bool netif_is_team_port(const struct net_device *dev) in netif_is_team_port()
4507 static inline bool netif_is_lag_master(const struct net_device *dev) in netif_is_lag_master()
4512 static inline bool netif_is_lag_port(const struct net_device *dev) in netif_is_lag_port()
4517 static inline bool netif_is_rxfh_configured(const struct net_device *dev) in netif_is_rxfh_configured()
4522 static inline bool netif_is_failover(const struct net_device *dev) in netif_is_failover()
4527 static inline bool netif_is_failover_slave(const struct net_device *dev) in netif_is_failover_slave()
4533 static inline void netif_keep_dst(struct net_device *dev) in netif_keep_dst()
4539 static inline bool netif_reduces_vlan_mtu(struct net_device *dev) in netif_reduces_vlan_mtu()
4551 static inline const char *netdev_name(const struct net_device *dev) in netdev_name()
4558 static inline bool netdev_unregistering(const struct net_device *dev) in netdev_unregistering()
4563 static inline const char *netdev_reg_state(const struct net_device *dev) in netdev_reg_state()
4579 void netdev_printk(const char *level, const struct net_device *dev,
4582 void netdev_emerg(const struct net_device *dev, const char *format, ...);
4584 void netdev_alert(const struct net_device *dev, const char *format, ...);
4586 void netdev_crit(const struct net_device *dev, const char *format, ...);
4588 void netdev_err(const struct net_device *dev, const char *format, ...);
4590 void netdev_warn(const struct net_device *dev, const char *format, ...);
4592 void netdev_notice(const struct net_device *dev, const char *format, ...);
4594 void netdev_info(const struct net_device *dev, const char *format, ...);