Lines Matching refs:net_device

8 struct net_device;
31 void linkwatch_init_dev(struct net_device *dev);
32 void linkwatch_forget_dev(struct net_device *dev);
35 void dev_addr_flush(struct net_device *dev);
36 int dev_addr_init(struct net_device *dev);
37 void dev_addr_check(struct net_device *dev);
57 struct net_device *dev;
62 int dev_change_name(struct net_device *dev, const char *newname);
64 int netdev_name_node_alt_create(struct net_device *dev, const char *name);
65 int netdev_name_node_alt_destroy(struct net_device *dev, const char *name);
67 int dev_validate_mtu(struct net_device *dev, int mtu,
69 int dev_set_mtu_ext(struct net_device *dev, int mtu,
72 int dev_get_phys_port_id(struct net_device *dev,
74 int dev_get_phys_port_name(struct net_device *dev,
77 int dev_change_proto_down(struct net_device *dev, bool proto_down);
78 void dev_change_proto_down_reason(struct net_device *dev, unsigned long mask,
81 typedef int (*bpf_op_t)(struct net_device *dev, struct netdev_bpf *bpf);
82 int dev_change_xdp_fd(struct net_device *dev, struct netlink_ext_ack *extack,
85 int dev_change_tx_queue_len(struct net_device *dev, unsigned long new_len);
86 void dev_set_group(struct net_device *dev, int new_group);
87 int dev_change_carrier(struct net_device *dev, bool new_carrier);
89 void __dev_set_rx_mode(struct net_device *dev);
91 static inline void netif_set_gso_max_size(struct net_device *dev, in netif_set_gso_max_size()
98 static inline void netif_set_gso_max_segs(struct net_device *dev, in netif_set_gso_max_segs()
105 static inline void netif_set_gro_max_size(struct net_device *dev, in netif_set_gro_max_size()