Lines Matching defs:net_device

2016 struct net_device {  struct
2028 const struct net_device_ops *netdev_ops; argument
2029 const struct header_ops *header_ops;
2030 struct netdev_queue *_tx;
2054 __cacheline_group_end(net_device_read_tx); argument
2068 __cacheline_group_end(net_device_read_txrx); argument
2090 __cacheline_group_end(net_device_read_rx); argument
2092 char name[IFNAMSIZ];
2093 struct netdev_name_node *name_node;
2094 struct dev_ifalias __rcu *ifalias;
2099 unsigned long mem_end;
2100 unsigned long mem_start;
2101 unsigned long base_addr;
2110 struct list_head dev_list;
2111 struct list_head napi_list;
2112 struct list_head unreg_list;
2113 struct list_head close_list;
2114 struct list_head ptype_all;
2116 struct {
2119 } adj_list;
2143 struct net_device_stats stats; /* not used by modern drivers */ argument
2145 struct net_device_core_stats __percpu *core_stats; argument
2148 atomic_t carrier_up_count;
2149 atomic_t carrier_down_count;
2152 const struct iw_handler_def *wireless_handlers;
2153 struct iw_public_data *wireless_data;
2155 const struct ethtool_ops *ethtool_ops;
2157 const struct l3mdev_ops *l3mdev_ops;
2160 const struct ndisc_ops *ndisc_ops;
2164 const struct xfrmdev_ops *xfrmdev_ops;
2168 const struct tlsdev_ops *tlsdev_ops;
2171 unsigned int operstate;
2172 unsigned char link_mode;
2174 unsigned char if_port;
2175 unsigned char dma;
2178 unsigned char perm_addr[MAX_ADDR_LEN];
2179 unsigned char addr_assign_type;
2180 unsigned char addr_len;
2181 unsigned char upper_level;
2182 unsigned char lower_level;
2184 unsigned short neigh_priv_len;
2185 unsigned short dev_id;
2186 unsigned short dev_port;
2187 int irq;
2188 u32 priv_len;
2190 spinlock_t addr_list_lock;
2192 struct netdev_hw_addr_list uc;
2193 struct netdev_hw_addr_list mc;
2194 struct netdev_hw_addr_list dev_addrs;
2197 struct kset *queues_kset;
2200 struct list_head unlink_list;
2202 unsigned int promiscuity;
2203 unsigned int allmulti;
2204 bool uc_promisc;
2206 unsigned char nested_level;
2211 struct in_device __rcu *ip_ptr;
2213 struct vlan_info __rcu *vlan_info;
2216 struct dsa_port *dsa_ptr;
2219 struct tipc_bearer __rcu *tipc_ptr;
2222 void *atalk_ptr;
2225 void *ax25_ptr;
2228 struct wireless_dev *ieee80211_ptr;
2231 struct wpan_dev *ieee802154_ptr;
2234 struct mpls_dev __rcu *mpls_ptr;
2237 struct mctp_dev __rcu *mctp_ptr;
2244 const unsigned char *dev_addr;
2246 unsigned int num_rx_queues;
2252 unsigned int xdp_zc_max_segs;
2253 struct netdev_queue __rcu *ingress_queue;
2255 struct nf_hook_entries __rcu *nf_hooks_ingress;
2258 unsigned char broadcast[MAX_ADDR_LEN];
2260 struct cpu_rmap *rx_cpu_rmap;
2262 struct hlist_node index_hlist;
2267 unsigned int num_tx_queues;
2268 struct Qdisc __rcu *qdisc;
2269 unsigned int tx_queue_len;
2270 spinlock_t tx_global_lock;
2272 struct xdp_dev_bulk_queue __percpu *xdp_bulkq;
2278 struct timer_list watchdog_timer;
2279 int watchdog_timeo;
2304 void (*priv_destructor)(struct net_device *dev); argument
2307 void *ml_priv;
2308 enum netdev_ml_priv_type ml_priv_type;
2310 enum netdev_stat_type pcpu_stat_type:8;
2313 struct garp_port __rcu *garp_port;
2316 struct mrp_port __rcu *mrp_port;
2319 struct dm_hw_stat_delta __rcu *dm_private;
2321 struct device dev;
2322 const struct attribute_group *sysfs_groups[4];
2323 const struct attribute_group *sysfs_rx_queue_group;
2325 const struct rtnl_link_ops *rtnl_link_ops;
2327 const struct netdev_stat_ops *stat_ops;
2329 const struct netdev_queue_mgmt_ops *queue_mgmt_ops;
2341 unsigned int tso_max_size;
2343 u16 tso_max_segs;
2346 const struct dcbnl_rtnl_ops *dcbnl_ops;
2348 u8 prio_tc_map[TC_BITMASK + 1];
2351 unsigned int fcoe_ddp_xid;
2354 struct netprio_map __rcu *priomap;
2356 struct phy_link_topology *link_topo;
2357 struct phy_device *phydev;
2358 struct sfp_bus *sfp_bus;
2359 struct lock_class_key *qdisc_tx_busylock;
2360 bool proto_down;
2361 bool threaded;
2364 unsigned long see_all_hwtstamp_requests:1;
2365 unsigned long change_proto_down:1;
2366 unsigned long netns_local:1;
2367 unsigned long fcoe_mtu:1;
2369 struct list_head net_notifier_list;
2373 const struct macsec_ops *macsec_ops;
2375 const struct udp_tunnel_nic_info *udp_tunnel_nic_info;
2376 struct udp_tunnel_nic *udp_tunnel_nic;
2378 struct ethtool_netdev_state *ethtool;
2381 struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE];
2405 #define to_net_dev(d) container_of(d, struct net_device, dev) argument
2496 void (*f)(struct net_device *, in netdev_for_each_tx_queue()
4128 DEFINE_FREE(dev_put, struct net_device *, if (_T) dev_put(_T)) in DEFINE_FREE()
4634 int (*sync)(struct net_device *, in __dev_uc_sync()
4636 int (*unsync)(struct net_device *, in __dev_uc_sync()
4650 int (*unsync)(struct net_device *, in __dev_uc_unsync()
4678 int (*sync)(struct net_device *, in __dev_mc_sync()
4680 int (*unsync)(struct net_device *, in __dev_mc_sync()
4694 int (*unsync)(struct net_device *, in __dev_mc_unsync()