| /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 | switchdev.h | 52 struct net_device *orig_dev; 56 void (*complete)(struct net_device *dev, int err, void *priv); 88 struct net_device *orig_dev; 92 void (*complete)(struct net_device *dev, int err, void *priv); 126 struct net_device *p_port; 127 struct net_device *s_port; 185 struct net_device *i_port; 205 struct net_device *dev; 236 struct net_device *dev; 271 static inline struct net_device * [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 | 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 | udp_tunnel.h | 131 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, 133 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, 146 struct net_device *dev, 183 struct net_device *dev, in udp_tunnel_update_gro_lookup() 190 struct net_device *dev, in udp_tunnel_cleanup_gro() 265 struct net_device *dev; 300 int (*set_port)(struct net_device *dev, 303 int (*unset_port)(struct net_device *dev, 308 int (*sync_table)(struct net_device *dev, unsigned int table); 331 void (*get_port)(struct net_device *de in udp_tunnel_nic_get_port() [all...] |
| H A D | l3mdev.h | 36 u32 (*l3mdev_fib_table)(const struct net_device *dev); 37 struct sk_buff * (*l3mdev_l3_rcv)(struct net_device *dev, 39 struct sk_buff * (*l3mdev_l3_out)(struct net_device *dev, 44 struct dst_entry * (*l3mdev_link_scope_lookup)(const struct net_device *dev, 78 int l3mdev_master_ifindex_rcu(const struct net_device *dev); 79 static inline int l3mdev_master_ifindex(struct net_device *dev) in l3mdev_master_ifindex() 92 struct net_device *dev; in l3mdev_master_ifindex_by_index() 109 struct net_device *l3mdev_master_dev_rcu(const struct net_device *_dev) in l3mdev_master_dev_rcu() 117 struct net_device *de in l3mdev_master_dev_rcu() [all...] |
| H A D | ndisc.h | 65 struct net_device; 127 struct ndisc_options *ndisc_parse_options(const struct net_device *dev, 189 int (*parse_options)(const struct net_device *dev, 192 void (*update)(const struct net_device *dev, struct neighbour *n, 195 int (*opt_addr_space)(const struct net_device *dev, u8 icmp6_type, 198 void (*fill_addr_option)(const struct net_device *dev, 201 void (*prefix_rcv_add_addr)(struct net *net, struct net_device *dev, 212 static inline int ndisc_ops_parse_options(const struct net_device *dev, in ndisc_ops_parse_options() 222 static inline void ndisc_ops_update(const struct net_device *dev, in ndisc_ops_update() 231 static inline int ndisc_ops_opt_addr_space(const struct net_device *dev, in ndisc_ops_opt_addr_space() [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 …]
|
| /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); 311 int (*create) (struct sk_buff *skb, struct net_device *dev, 317 const struct net_device *dev, 399 struct net_device *dev; 595 void netif_threaded_enable(struct net_device *dev); 596 int dev_set_threaded(struct net_device *dev, 678 struct net_device *dev; 695 struct net_device *sb_dev; 775 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id, [all …]
|
| H A D | if_bridge.h | 73 int br_multicast_list_adjacent(struct net_device *dev, 75 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto); 76 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto); 77 bool br_multicast_has_router_adjacent(struct net_device *dev, int proto); 78 bool br_multicast_enabled(const struct net_device *dev); 79 bool br_multicast_router(const struct net_device *dev); 81 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent() 86 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere() 91 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, in br_multicast_has_querier_adjacent() 97 static inline bool br_multicast_has_router_adjacent(struct net_device *dev, in br_multicast_has_router_adjacent() [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 …]
|
| /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() 129 void vlan_dev_set_ingress_priority(const struct net_device *dev, [all …]
|
| /linux/drivers/net/hyperv/ |
| H A D | netvsc.c | 35 int netvsc_switch_datapath(struct net_device *ndev, bool vf) in netvsc_switch_datapath() 130 struct netvsc_device *net_device; in alloc_net_device() local 132 net_device = kzalloc_obj(struct netvsc_device); in alloc_net_device() 133 if (!net_device) in alloc_net_device() 136 init_waitqueue_head(&net_device->wait_drain); in alloc_net_device() 137 net_device->destroy = false; in alloc_net_device() 138 net_device->tx_disable = true; in alloc_net_device() 140 net_device->max_pkt = RNDIS_MAX_PKT_DEFAULT; in alloc_net_device() 141 net_device->pkt_align = RNDIS_PKT_ALIGN_DEFAULT; in alloc_net_device() 143 init_completion(&net_device->channel_init_wait); in alloc_net_device() [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 *dev, in switchdev_obj_id_to_helpful_msg() [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/staging/octeon/ |
| H A D | octeon-ethernet.h | 57 struct net_device *netdev; 72 void (*poll)(struct net_device *dev); 79 int cvm_oct_rgmii_open(struct net_device *dev); 81 int cvm_oct_sgmii_init(struct net_device *dev); 82 int cvm_oct_sgmii_open(struct net_device *dev); 84 int cvm_oct_spi_init(struct net_device *dev); 85 void cvm_oct_spi_uninit(struct net_device *dev); 87 int cvm_oct_common_init(struct net_device *dev); 88 void cvm_oct_common_uninit(struct net_device *dev); 89 void cvm_oct_adjust_link(struct net_device *dev); [all …]
|
| /linux/drivers/net/arcnet/ |
| H A D | arcdevice.h | 199 void (*rx)(struct net_device *dev, int bufnum, 201 int (*build_header)(struct sk_buff *skb, struct net_device *dev, 205 int (*prepare_tx)(struct net_device *dev, struct archdr *pkt, 207 int (*continue_tx)(struct net_device *dev, int bufnum); 208 int (*ack_tx)(struct net_device *dev, int acked); 270 struct net_device *dev; 321 void (*command)(struct net_device *dev, int cmd); 322 int (*status)(struct net_device *dev); 323 void (*intmask)(struct net_device *dev, int mask); 324 int (*reset)(struct net_device *dev, int really_reset); [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/net/core/ |
| H A D | dev_api.c | 18 int dev_change_name(struct net_device *dev, const char *newname) in dev_change_name() 39 int dev_set_alias(struct net_device *dev, const char *alias, size_t len) in dev_set_alias() 62 int dev_change_flags(struct net_device *dev, unsigned int flags, in dev_change_flags() 80 void dev_set_group(struct net_device *dev, int new_group) in dev_set_group() 87 int dev_set_mac_address_user(struct net_device *dev, in dev_set_mac_address_user() 118 int dev_change_net_namespace(struct net_device *dev, struct net *net, in dev_change_net_namespace() 134 int dev_change_carrier(struct net_device *dev, bool new_carrier) in dev_change_carrier() 152 int dev_change_tx_queue_len(struct net_device *dev, unsigned long new_len) in dev_change_tx_queue_len() 170 int dev_change_proto_down(struct net_device *dev, bool proto_down) in dev_change_proto_down() 196 int dev_open(struct net_device *dev, struct netlink_ext_ack *extack) in dev_open() [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/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/drivers/infiniband/core/ |
| H A D | roce_gid_mgmt.c | 63 struct net_device *ndev; 64 struct net_device *filter_ndev; 129 static enum bonding_slave_state is_eth_active_slave_of_bonding_rcu(struct net_device *dev, in is_eth_active_slave_of_bonding_rcu() 130 struct net_device *upper) in is_eth_active_slave_of_bonding_rcu() 133 struct net_device *pdev = in is_eth_active_slave_of_bonding_rcu() 148 struct net_device *rdma_ndev, void *cookie) in is_eth_port_of_netdev_filter() 150 struct net_device *real_dev; in is_eth_port_of_netdev_filter() 172 struct net_device *rdma_ndev, void *cookie) in is_eth_port_inactive_slave_filter() 174 struct net_device *master_dev; in is_eth_port_inactive_slave_filter() 202 struct net_device *rdma_ndev, void *cookie) in is_ndev_for_default_gid_filter() [all …]
|