| /linux/include/net/ |
| H A D | dcbnl.h | 13 struct net_device; 22 u16 dcb_getrewr(struct net_device *dev, struct dcb_app *app); 23 int dcb_setrewr(struct net_device *dev, struct dcb_app *app); 24 int dcb_delrewr(struct net_device *dev, struct dcb_app *app); 26 int dcb_setapp(struct net_device *, struct dcb_app *); 27 u8 dcb_getapp(struct net_device *, struct dcb_app *); 28 int dcb_ieee_setapp(struct net_device *, struct dcb_app *); 29 int dcb_ieee_delapp(struct net_device *, struct dcb_app *); 30 u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *); 36 void dcb_getrewr_prio_pcp_mask_map(const struct net_device *dev, [all …]
|
| H A D | failover.h | 10 int (*slave_pre_register)(struct net_device *slave_dev, 11 struct net_device *failover_dev); 12 int (*slave_register)(struct net_device *slave_dev, 13 struct net_device *failover_dev); 14 int (*slave_pre_unregister)(struct net_device *slave_dev, 15 struct net_device *failover_dev); 16 int (*slave_unregister)(struct net_device *slave_dev, 17 struct net_device *failover_dev); 18 int (*slave_link_change)(struct net_device *slave_dev, 19 struct net_device *failover_dev); [all …]
|
| H A D | rtnetlink.h | 147 struct net_device *(*alloc)(struct nlattr *tb[], 152 void (*setup)(struct net_device *dev); 162 int (*newlink)(struct net_device *dev, 165 int (*changelink)(struct net_device *dev, 169 void (*dellink)(struct net_device *dev, 172 size_t (*get_size)(const struct net_device *dev); 174 const struct net_device *dev); 176 size_t (*get_xstats_size)(const struct net_device *dev); 178 const struct net_device *dev); 184 int (*slave_changelink)(struct net_device *dev, [all …]
|
| H A D | cfg80211-wext.h | 20 int cfg80211_wext_giwname(struct net_device *dev, 23 int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info, 25 int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info, 27 int cfg80211_wext_siwscan(struct net_device *dev, 30 int cfg80211_wext_giwscan(struct net_device *dev, 33 int cfg80211_wext_giwrange(struct net_device *dev, 36 int cfg80211_wext_siwrts(struct net_device *dev, 39 int cfg80211_wext_giwrts(struct net_device *dev, 42 int cfg80211_wext_siwfrag(struct net_device *dev, 45 int cfg80211_wext_giwfrag(struct net_device *dev, [all …]
|
| H A D | ndisc.h | 63 struct net_device; 125 struct ndisc_options *ndisc_parse_options(const struct net_device *dev, 187 int (*parse_options)(const struct net_device *dev, 190 void (*update)(const struct net_device *dev, struct neighbour *n, 193 int (*opt_addr_space)(const struct net_device *dev, u8 icmp6_type, 196 void (*fill_addr_option)(const struct net_device *dev, 199 void (*prefix_rcv_add_addr)(struct net *net, struct net_device *dev, 210 static inline int ndisc_ops_parse_options(const struct net_device *dev, in ndisc_ops_parse_options() 220 static inline void ndisc_ops_update(const struct net_device *dev, in ndisc_ops_update() 229 static inline int ndisc_ops_opt_addr_space(const struct net_device *dev, in ndisc_ops_opt_addr_space() [all …]
|
| /linux/net/core/ |
| H A D | dev.h | 32 struct net_device *dev_get_by_napi_id(unsigned int napi_id); 34 struct net_device *netdev_put_lock(struct net_device *dev, struct net *net, 37 static inline struct net_device * 38 __netdev_put_lock(struct net_device *dev, struct net *net) in __netdev_put_lock() 43 struct net_device * 44 netdev_xa_find_lock(struct net *net, struct net_device *dev, 47 DEFINE_FREE(netdev_unlock, struct net_device *, if (_T) netdev_unlock(_T)); 50 for (struct net_device *var_name __free(netdev_unlock) = NULL; \ 54 struct net_device * 56 struct net_device * [all …]
|
| /linux/include/linux/ |
| H A D | netdevice.h | 91 void netdev_set_default_ethtool_ops(struct net_device *dev, 93 void netdev_sw_irq_coalesce_default_on(struct net_device *dev); 313 int (*create) (struct sk_buff *skb, struct net_device *dev, 317 const struct net_device *dev, 321 const struct net_device *dev, 403 struct net_device *dev; 599 void netif_threaded_enable(struct net_device *dev); 600 int dev_set_threaded(struct net_device *dev, 682 struct net_device *dev; 699 struct net_device *sb_dev; [all …]
|
| H A D | ethtool.h | 132 struct net_device; 219 void ethtool_rxfh_context_lost(struct net_device *dev, u32 context_id); 220 void ethtool_rxfh_indir_lost(struct net_device *dev); 221 bool ethtool_rxfh_indir_can_resize(struct net_device *dev, const u32 *tbl, 223 void ethtool_rxfh_indir_resize(struct net_device *dev, u32 *tbl, 225 int ethtool_rxfh_ctxs_can_resize(struct net_device *dev, u32 new_indir_size); 226 void ethtool_rxfh_ctxs_resize(struct net_device *dev, u32 new_indir_size); 326 __ethtool_get_link_ksettings(struct net_device *dev, 328 int netif_get_link_ksettings(struct net_device *dev, 845 struct net_device *dev; [all …]
|
| H A D | hdlc.h | 20 int (*open)(struct net_device *dev); 21 void (*close)(struct net_device *dev); 22 void (*start)(struct net_device *dev); /* if open & DCD */ 23 void (*stop)(struct net_device *dev); /* if open & !DCD */ 24 void (*detach)(struct net_device *dev); 25 int (*ioctl)(struct net_device *dev, struct if_settings *ifs); 26 __be16 (*type_trans)(struct sk_buff *skb, struct net_device *dev); 28 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev); 37 int (*attach)(struct net_device *dev, 41 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev); [all …]
|
| H A D | lapb.h | 12 struct net_device; 33 void (*connect_confirmation)(struct net_device *dev, int reason); 34 void (*connect_indication)(struct net_device *dev, int reason); 35 void (*disconnect_confirmation)(struct net_device *dev, int reason); 36 void (*disconnect_indication)(struct net_device *dev, int reason); 37 int (*data_indication)(struct net_device *dev, struct sk_buff *skb); 38 void (*data_transmit)(struct net_device *dev, struct sk_buff *skb); 53 extern int lapb_register(struct net_device *dev, 55 extern int lapb_unregister(struct net_device *dev); 56 extern int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms); [all …]
|
| H A D | ethtool_netlink.h | 34 void ethtool_aggregate_mac_stats(struct net_device *dev, 36 void ethtool_aggregate_phy_stats(struct net_device *dev, 38 void ethtool_aggregate_ctrl_stats(struct net_device *dev, 40 void ethtool_aggregate_pause_stats(struct net_device *dev, 42 void ethtool_aggregate_rmon_stats(struct net_device *dev, 44 bool ethtool_dev_mm_supported(struct net_device *dev); 46 void ethnl_pse_send_ntf(struct net_device *netdev, unsigned long notif); 91 ethtool_aggregate_mac_stats(struct net_device *dev, in ethtool_aggregate_mac_stats() 97 ethtool_aggregate_phy_stats(struct net_device *dev, in ethtool_aggregate_phy_stats() 103 ethtool_aggregate_ctrl_stats(struct net_device *dev, in ethtool_aggregate_ctrl_stats() [all …]
|
| /linux/net/8021q/ |
| H A D | vlan.h | 25 struct net_device **vlan_devices_arrays[VLAN_PROTO_NUM] 30 struct net_device *real_dev; /* The ethernet(like) device 53 static inline struct net_device *__vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device() 57 struct net_device **array; in __vlan_group_get_device() 68 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device() 82 struct net_device *dev) in vlan_group_set_device() 85 struct net_device **array; in vlan_group_set_device() 95 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev() 107 static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev) in vlan_tnl_features() 135 void vlan_stacked_transfer_operstate(const struct net_device *rootdev, [all …]
|
| /linux/net/switchdev/ |
| H A D | switchdev.c | 54 typedef void switchdev_deferred_func_t(struct net_device *dev, 59 struct net_device *dev; 111 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue() 132 struct net_device *dev, in switchdev_port_attr_notify() 158 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now() 166 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred() 180 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer() 197 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set() 224 struct net_device *dev, in switchdev_port_obj_notify() 247 static void switchdev_obj_id_to_helpful_msg(struct net_device *de [all...] |
| /linux/include/linux/can/ |
| H A D | dev.h | 45 struct net_device *dev; 74 int (*do_set_bittiming)(struct net_device *dev); 75 int (*do_set_mode)(struct net_device *dev, enum can_mode mode); 76 int (*do_set_termination)(struct net_device *dev, u16 term); 77 int (*do_get_state)(const struct net_device *dev, 79 int (*do_get_berr_counter)(const struct net_device *dev, 103 void can_setup(struct net_device *dev); 105 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, 111 void free_candev(struct net_device *dev); 114 struct can_priv *safe_candev_priv(struct net_device *dev); [all …]
|
| /linux/net/dsa/ |
| H A D | user.h | 14 struct net_device; 23 struct net_device *dev); 40 void dsa_user_destroy(struct net_device *user_dev); 41 int dsa_user_suspend(struct net_device *user_dev); 42 int dsa_user_resume(struct net_device *user_dev); 45 int dsa_user_host_uc_install(struct net_device *dev, const u8 *addr); 46 void dsa_user_host_uc_uninstall(struct net_device *dev); 47 void dsa_user_sync_ha(struct net_device *dev); 48 void dsa_user_unsync_ha(struct net_device *dev); 49 void dsa_user_setup_tagger(struct net_device *user); [all …]
|
| /linux/drivers/net/ethernet/8390/ |
| H A D | 8390.h | 29 void ei_poll(struct net_device *dev); 30 void eip_poll(struct net_device *dev); 35 void NS8390_init(struct net_device *dev, int startp); 36 int ei_open(struct net_device *dev); 37 int ei_close(struct net_device *dev); 39 void ei_tx_timeout(struct net_device *dev, unsigned int txqueue); 40 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev); 41 void ei_set_multicast_list(struct net_device *dev); 42 struct net_device_stats *ei_get_stats(struct net_device *dev); 46 struct net_device *__alloc_ei_netdev(int size); [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | u_ether.h | 119 struct net_device *gether_setup_name_default(const char *netname); 128 int gether_register_netdev(struct net_device *net); 139 static inline struct net_device *gether_setup_default(void) in gether_setup_default() 151 void gether_set_gadget(struct net_device *net, struct usb_gadget *g); 164 int gether_attach_gadget(struct net_device *net, struct usb_gadget *g); 175 void gether_detach_gadget(struct net_device *net); 177 DEFINE_FREE(detach_gadget, struct net_device *, if (_T) gether_detach_gadget(_T)) 188 int gether_set_dev_addr(struct net_device *net, const char *dev_addr); 199 int gether_get_dev_addr(struct net_device *net, char *dev_addr, int len); 210 int gether_set_host_addr(struct net_device *net, const char *host_addr); [all …]
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_dcbnl.c | 13 static u8 qede_dcbnl_getstate(struct net_device *netdev) in qede_dcbnl_getstate() 20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate() 27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, in qede_dcbnl_getpermhwaddr() 33 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgtx() 43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx() 51 static void qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgrx() 61 static void qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgrx() 69 static void qede_dcbnl_getpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_getpfccfg() 77 static void qede_dcbnl_setpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_setpfccfg() 85 static u8 qede_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap) in qede_dcbnl_getcap() [all …]
|
| /linux/drivers/net/ |
| H A D | net_failover.c | 30 static bool net_failover_xmit_ready(struct net_device *dev) in net_failover_xmit_ready() 35 static int net_failover_open(struct net_device *dev) in net_failover_open() 38 struct net_device *primary_dev, *standby_dev; in net_failover_open() 71 static int net_failover_close(struct net_device *dev) in net_failover_close() 74 struct net_device *slave_dev; in net_failover_close() 90 struct net_device *dev) in net_failover_drop_xmit() 98 struct net_device *dev) in net_failover_start_xmit() 101 struct net_device *xmit_dev; in net_failover_start_xmit() 117 static u16 net_failover_select_queue(struct net_device *dev, in net_failover_select_queue() 119 struct net_device *sb_dev) in net_failover_select_queue() [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_repr.h | 21 struct net_device __rcu *reprs[] __counted_by(num_reprs); 52 struct net_device *netdev; 78 static inline bool nfp_netdev_is_nfp_repr(struct net_device *netdev) in nfp_netdev_is_nfp_repr() 83 static inline int nfp_repr_get_port_id(struct net_device *netdev) in nfp_repr_get_port_id() 90 struct net_device * 94 void nfp_repr_inc_rx_stats(struct net_device *netdev, unsigned int len); 96 nfp_repr_transfer_features(struct net_device *netdev, struct net_device *lower); 97 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev, 99 struct net_device *pf_netdev); 100 void nfp_repr_free(struct net_device *netdev); [all …]
|
| /linux/net/batman-adv/ |
| H A D | hard-interface.h | 65 struct net_device *__batadv_get_real_netdev(struct net_device *net_device); 66 struct net_device *batadv_get_real_netdev(struct net_device *net_device); 67 u32 batadv_netdev_get_wifi_flags(struct net_device *net_dev); 71 batadv_hardif_get_by_netdev(struct net_device *net_dev); 72 int batadv_hardif_enable_interface(struct net_device *net_dev, 73 struct net_device *mesh_iface); 75 int batadv_hardif_min_mtu(struct net_device *mesh_iface); 76 void batadv_update_min_mtu(struct net_device *mesh_iface);
|
| H A D | hard-interface.c | 48 .key_len = sizeof(struct net_device *), 79 batadv_hardif_get_by_netdev(struct net_device *net_dev) in batadv_hardif_get_by_netdev() 82 struct net_device *mesh_iface; in batadv_hardif_get_by_netdev() 104 static struct net *batadv_getlink_net(const struct net_device *netdev, in batadv_getlink_net() 127 static bool batadv_mutual_parents(const struct net_device *dev1, in batadv_mutual_parents() 129 const struct net_device *dev2, in batadv_mutual_parents() 162 static bool batadv_is_on_batman_iface(const struct net_device *net_dev) in batadv_is_on_batman_iface() 165 struct net_device *parent_dev; in batadv_is_on_batman_iface() 211 static bool batadv_is_valid_iface(const struct net_device *net_dev) in batadv_is_valid_iface() 240 struct net_device *__batadv_get_real_netdev(struct net_device *netdev) in __batadv_get_real_netdev() [all …]
|
| /linux/drivers/net/ethernet/freescale/fs_enet/ |
| H A D | fs_enet.h | 75 int (*setup_data)(struct net_device *dev); 76 int (*allocate_bd)(struct net_device *dev); 77 void (*free_bd)(struct net_device *dev); 78 void (*cleanup_data)(struct net_device *dev); 79 void (*set_multicast_list)(struct net_device *dev); 80 void (*restart)(struct net_device *dev, phy_interface_t interface, 82 void (*stop)(struct net_device *dev); 83 void (*napi_clear_event)(struct net_device *dev); 84 void (*napi_enable)(struct net_device *dev); 85 void (*napi_disable)(struct net_device *dev); [all …]
|
| /linux/net/ethtool/ |
| H A D | common.h | 38 int __ethtool_get_link(struct net_device *dev); 43 int ethtool_check_max_channel(struct net_device *dev, 49 int ethtool_check_rss_ctx_busy(struct net_device *dev, u32 rss_context); 52 void ethtool_ringparam_get_cfg(struct net_device *dev, 57 int ethtool_get_rx_ring_count(struct net_device *dev); 59 int __ethtool_get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info *info); 60 int ethtool_get_ts_info_by_phc(struct net_device *dev, 63 int ethtool_net_get_ts_info_by_phc(struct net_device *dev, 67 ethtool_phy_get_ts_info_by_phc(struct net_device *dev, 70 bool net_support_hwtstamp_qualifier(struct net_device *dev, [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | tc_tun.h | 35 int (*init_encap_attr)(struct net_device *tunnel_dev, 54 int (*get_remote_ifindex)(struct net_device *mirred_dev); 62 struct mlx5e_tc_tunnel *mlx5e_get_tc_tun(struct net_device *tunnel_dev); 64 int mlx5e_tc_tun_init_encap_attr(struct net_device *tunnel_dev, 70 struct net_device *mirred_dev, 73 struct net_device *mirred_dev, 78 struct net_device *mirred_dev, 81 struct net_device *mirred_dev, 86 struct net_device *mirred_dev, in mlx5e_tc_tun_create_header_ipv6() 91 struct net_device *mirred_dev, in mlx5e_tc_tun_update_header_ipv6() [all …]
|