Lines Matching defs:net_device

10586 struct net_device;
10596 struct net_device *dev;
11108 void (*ifdown)(struct dst_entry *, struct net_device *, int);
11400 struct net_device *loopback_dev;
11578 struct net_device *dev;
11718 struct net_device {
11841 void (*priv_destructor)(struct net_device *);
11949 struct net_device *dev;
11964 typedef void nf_logfn(struct net *, u_int8_t, unsigned int, const struct sk_buff *, const struct net_device *, const struct net_device *, const struct nf_loginfo *, const char *);
12185 struct net_device *dev;
12206 struct net_device *dev;
12227 struct net_device *dev_rx;
12512 int (*create)(struct sk_buff *, struct net_device *, short unsigned int, const void *, const void *, unsigned int);
12515 void (*cache_update)(struct hh_cache *, const struct net_device *, const unsigned char *);
12521 struct net_device *dev;
12529 struct net_device *sb_dev;
12663 struct net_device *dev;
12702 const struct net_device *dev;
12733 const struct net_device *dev;
12858 struct net_device *netdev;
12905 int (*ndo_init)(struct net_device *);
12906 void (*ndo_uninit)(struct net_device *);
12907 int (*ndo_open)(struct net_device *);
12908 int (*ndo_stop)(struct net_device *);
12909 netdev_tx_t (*ndo_start_xmit)(struct sk_buff *, struct net_device *);
12910 netdev_features_t (*ndo_features_check)(struct sk_buff *, struct net_device *, netdev_features_t);
12911 u16 (*ndo_select_queue)(struct net_device *, struct sk_buff *, struct net_device *);
12912 void (*ndo_change_rx_flags)(struct net_device *, int);
12913 void (*ndo_set_rx_mode)(struct net_device *);
12914 int (*ndo_set_mac_address)(struct net_device *, void *);
12915 int (*ndo_validate_addr)(struct net_device *);
12916 int (*ndo_do_ioctl)(struct net_device *, struct ifreq *, int);
12917 int (*ndo_eth_ioctl)(struct net_device *, struct ifreq *, int);
12918 int (*ndo_siocbond)(struct net_device *, struct ifreq *, int);
12919 int (*ndo_siocwandev)(struct net_device *, struct if_settings *);
12920 int (*ndo_siocdevprivate)(struct net_device *, struct ifreq *, void *, int);
12921 int (*ndo_set_config)(struct net_device *, struct ifmap *);
12922 int (*ndo_change_mtu)(struct net_device *, int);
12923 int (*ndo_neigh_setup)(struct net_device *, struct neigh_parms *);
12924 void (*ndo_tx_timeout)(struct net_device *, unsigned int);
12925 void (*ndo_get_stats64)(struct net_device *, struct rtnl_link_stats64 *);
12926 bool (*ndo_has_offload_stats)(const struct net_device *, int);
12927 int (*ndo_get_offload_stats)(int, const struct net_device *, void *);
12928 struct net_device_stats * (*ndo_get_stats)(struct net_device *);
12929 int (*ndo_vlan_rx_add_vid)(struct net_device *, __be16, u16);
12930 int (*ndo_vlan_rx_kill_vid)(struct net_device *, __be16, u16);
12931 void (*ndo_poll_controller)(struct net_device *);
12932 int (*ndo_netpoll_setup)(struct net_device *, struct netpoll_info *);
12933 void (*ndo_netpoll_cleanup)(struct net_device *);
12934 int (*ndo_set_vf_mac)(struct net_device *, int, u8 *);
12935 int (*ndo_set_vf_vlan)(struct net_device *, int, u16, u8, __be16);
12936 int (*ndo_set_vf_rate)(struct net_device *, int, int, int);
12937 int (*ndo_set_vf_spoofchk)(struct net_device *, int, bool);
12938 int (*ndo_set_vf_trust)(struct net_device *, int, bool);
12939 int (*ndo_get_vf_config)(struct net_device *, int, struct ifla_vf_info *);
12940 int (*ndo_set_vf_link_state)(struct net_device *, int, int);
12941 int (*ndo_get_vf_stats)(struct net_device *, int, struct ifla_vf_stats *);
12942 int (*ndo_set_vf_port)(struct net_device *, int, struct nlattr **);
12943 int (*ndo_get_vf_port)(struct net_device *, int, struct sk_buff *);
12944 int (*ndo_get_vf_guid)(struct net_device *, int, struct ifla_vf_guid *, struct ifla_vf_guid *);
12945 int (*ndo_set_vf_guid)(struct net_device *, int, u64, int);
12946 int (*ndo_set_vf_rss_query_en)(struct net_device *, int, bool);
12947 int (*ndo_setup_tc)(struct net_device *, enum tc_setup_type, void *);
12948 int (*ndo_rx_flow_steer)(struct net_device *, const struct sk_buff *, u16, u32);
12949 int (*ndo_add_slave)(struct net_device *, struct net_device *, struct netlink_ext_ack *);
12950 int (*ndo_del_slave)(struct net_device *, struct net_device *);
12951 struct net_device * (*ndo_get_xmit_slave)(struct net_device *, struct sk_buff *, bool);
12952 struct net_device * (*ndo_sk_get_lower_dev)(struct net_device *, struct sock *);
12953 netdev_features_t (*ndo_fix_features)(struct net_device *, netdev_features_t);
12954 int (*ndo_set_features)(struct net_device *, netdev_features_t);
12955 int (*ndo_neigh_construct)(struct net_device *, struct neighbour *);
12956 void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *);
12957 int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *);
12958 int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, struct netlink_ext_ack *);
12959 int (*ndo_fdb_del_bulk)(struct ndmsg *, struct nlattr **, struct net_device *, u16, struct netlink_ext_ack *);
12960 int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *);
12961 int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *);
12962 int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *);
12963 int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int);
12964 int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16);
12965 int (*ndo_change_carrier)(struct net_device *, bool);
12966 int (*ndo_get_phys_port_id)(struct net_device *, struct netdev_phys_item_id *);
12967 int (*ndo_get_port_parent_id)(struct net_device *, struct netdev_phys_item_id *);
12968 int (*ndo_get_phys_port_name)(struct net_device *, char *, size_t);
12969 void * (*ndo_dfwd_add_station)(struct net_device *, struct net_device *);
12970 void (*ndo_dfwd_del_station)(struct net_device *, void *);
12971 int (*ndo_set_tx_maxrate)(struct net_device *, int, u32);
12972 int (*ndo_get_iflink)(const struct net_device *);
12973 int (*ndo_fill_metadata_dst)(struct net_device *, struct sk_buff *);
12974 void (*ndo_set_rx_headroom)(struct net_device *, int);
12975 int (*ndo_bpf)(struct net_device *, struct netdev_bpf *);
12976 int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32);
12977 struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *, struct xdp_buff *);
12978 int (*ndo_xsk_wakeup)(struct net_device *, u32, u32);
12979 struct devlink_port * (*ndo_get_devlink_port)(struct net_device *);
12980 int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm *, int);
12981 struct net_device * (*ndo_get_peer_dev)(struct net_device *);
12983 ktime_t (*ndo_get_tstamp)(struct net_device *, const struct skb_shared_hwtstamps *, bool);
13073 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
13074 int (*get_regs_len)(struct net_device *);
13075 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
13076 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
13077 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
13078 u32 (*get_msglevel)(struct net_device *);
13079 void (*set_msglevel)(struct net_device *, u32);
13080 int (*nway_reset)(struct net_device *);
13081 u32 (*get_link)(struct net_device *);
13082 int (*get_link_ext_state)(struct net_device *, struct ethtool_link_ext_state_info *);
13083 int (*get_eeprom_len)(struct net_device *);
13084 int (*get_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
13085 int (*set_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
13086 int (*get_coalesce)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *);
13087 int (*set_coalesce)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *);
13088 void (*get_ringparam)(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack *);
13089 int (*set_ringparam)(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack *);
13090 void (*get_pause_stats)(struct net_device *, struct ethtool_pause_stats *);
13091 void (*get_pauseparam)(struct net_device *, struct ethtool_pauseparam *);
13092 int (*set_pauseparam)(struct net_device *, struct ethtool_pauseparam *);
13093 void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
13094 void (*get_strings)(struct net_device *, u32, u8 *);
13095 int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
13096 void (*get_ethtool_stats)(struct net_device *, struct ethtool_stats *, u64 *);
13097 int (*begin)(struct net_device *);
13098 void (*complete)(struct net_device *);
13099 u32 (*get_priv_flags)(struct net_device *);
13100 int (*set_priv_flags)(struct net_device *, u32);
13101 int (*get_sset_count)(struct net_device *, int);
13102 int (*get_rxnfc)(struct net_device *, struct ethtool_rxnfc *, u32 *);
13103 int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
13104 int (*flash_device)(struct net_device *, struct ethtool_flash *);
13105 int (*reset)(struct net_device *, u32 *);
13106 u32 (*get_rxfh_key_size)(struct net_device *);
13107 u32 (*get_rxfh_indir_size)(struct net_device *);
13108 int (*get_rxfh)(struct net_device *, u32 *, u8 *, u8 *);
13109 int (*set_rxfh)(struct net_device *, const u32 *, const u8 *, const u8);
13110 int (*get_rxfh_context)(struct net_device *, u32 *, u8 *, u8 *, u32);
13111 int (*set_rxfh_context)(struct net_device *, const u32 *, const u8 *, const u8, u32 *, bool);
13112 void (*get_channels)(struct net_device *, struct ethtool_channels *);
13113 int (*set_channels)(struct net_device *, struct ethtool_channels *);
13114 int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
13115 int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *);
13116 int (*set_dump)(struct net_device *, struct ethtool_dump *);
13117 int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *);
13118 int (*get_module_info)(struct net_device *, struct ethtool_modinfo *);
13119 int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
13120 int (*get_eee)(struct net_device *, struct ethtool_eee *);
13121 int (*set_eee)(struct net_device *, struct ethtool_eee *);
13122 int (*get_tunable)(struct net_device *, const struct ethtool_tunable *, void *);
13123 int (*set_tunable)(struct net_device *, const struct ethtool_tunable *, const void *);
13124 int (*get_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *);
13125 int (*set_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *);
13126 int (*get_link_ksettings)(struct net_device *, struct ethtool_link_ksettings *);
13127 int (*set_link_ksettings)(struct net_device *, const struct ethtool_link_ksettings *);
13128 void (*get_fec_stats)(struct net_device *, struct ethtool_fec_stats *);
13129 int (*get_fecparam)(struct net_device *, struct ethtool_fecparam *);
13130 int (*set_fecparam)(struct net_device *, struct ethtool_fecparam *);
13131 void (*get_ethtool_phy_stats)(struct net_device *, struct ethtool_stats *, u64 *);
13132 int (*get_phy_tunable)(struct net_device *, const struct ethtool_tunable *, void *);
13133 int (*set_phy_tunable)(struct net_device *, const struct ethtool_tunable *, const void *);
13134 int (*get_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *);
13135 void (*get_eth_phy_stats)(struct net_device *, struct ethtool_eth_phy_stats *);
13136 void (*get_eth_mac_stats)(struct net_device *, struct ethtool_eth_mac_stats *);
13137 void (*get_eth_ctrl_stats)(struct net_device *, struct ethtool_eth_ctrl_stats *);
13138 void (*get_rmon_stats)(struct net_device *, struct ethtool_rmon_stats *, const struct ethtool_rmon_hist_range **);
13139 int (*get_module_power_mode)(struct net_device *, struct ethtool_module_power_mode_params *, struct netlink_ext_ack *);
13140 int (*set_module_power_mode)(struct net_device *, const struct ethtool_module_power_mode_params *, struct netlink_ext_ack *);
13151 int (*parse_options)(const struct net_device *, struct nd_opt_hdr *, struct ndisc_options *);
13152 void (*update)(const struct net_device *, struct neighbour *, u32, u8, const struct ndisc_options *);
13153 int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *, u8 **);
13154 void (*fill_addr_option)(const struct net_device *, struct sk_buff *, u8, const u8 *);
13155 void (*prefix_rcv_add_addr)(struct net *, struct net_device *, const struct prefix_info *, struct inet6_dev *, struct in6_addr *, int, u32, bool, bool, __u32, u32, bool);
13174 struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int);
13175 void (*setup)(struct net_device *);
13180 int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
13181 int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
13182 void (*dellink)(struct net_device *, struct list_head *);
13183 size_t (*get_size)(const struct net_device *);
13184 int (*fill_info)(struct sk_buff *, const struct net_device *);
13185 size_t (*get_xstats_size)(const struct net_device *);
13186 int (*fill_xstats)(struct sk_buff *, const struct net_device *);
13191 int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
13192 size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
13193 int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
13194 struct net * (*get_link_net)(const struct net_device *);
13195 size_t (*get_linkxstats_size)(const struct net_device *, int);
13196 int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
13209 int (*set_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *);
13210 int (*unset_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *);
13211 int (*sync_table)(struct net_device *, unsigned int);
13722 struct net_device *netdev;
18014 struct net_device *dev;
18041 struct net_device *dev;
18160 __u32 (*hash)(const void *, const struct net_device *, __u32 *);
18167 bool (*allow_add)(const struct net_device *, struct netlink_ext_ack *);
18217 struct net_device *dev;
28818 struct net_device *dev;
28831 struct net_device *dev;
29017 struct net_device *dev;
29697 struct net_device *dev;
29698 int (*mdio_read)(struct net_device *, int, int);
29699 void (*mdio_write)(struct net_device *, int, int, int);
30065 struct net_device *netdev;
30801 struct net_device *netdev;
34021 struct net_device *nhc_dev;
34408 struct net_device *attached_dev;
34414 void (*adjust_link)(struct net_device *);
34895 struct net_device *lower_dev;
35051 struct net_device *in;
35052 struct net_device *out;
35696 struct net_device *dev;
35698 struct net_device *real_dev;
36404 struct net_device *dev;
36410 struct net_device *dev;
36505 struct net_device *dev;
37188 void (*ndisc_send_na)(struct net_device *, const struct in6_addr *, const struct in6_addr *, bool, bool, bool, bool);
37194 struct net_device * (*ipv6_dev_find)(struct net *, const struct in6_addr *, struct net_device *);
37869 struct net_device *netdev;
48381 struct net_device *dev;
53758 struct net_device *netdev;
54229 struct net_device *netdev;
54361 struct net_device *dev;
58715 struct net_device *dev;
58775 struct net_device *dev;
58777 int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
58778 void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
59092 struct net_device *dev;
88262 struct net_device *dev;
88547 int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32);
88548 size_t (*get_link_af_size)(const struct net_device *, u32);
88549 int (*validate_link_af)(const struct net_device *, const struct nlattr *, struct netlink_ext_ack *);
88550 int (*set_link_af)(struct net_device *, const struct nlattr *, struct netlink_ext_ack *);
88551 int (*fill_stats_af)(struct sk_buff *, const struct net_device *);
88552 size_t (*get_stats_af_size)(const struct net_device *);
88571 struct net_device *dev;
88608 struct net_device *dev;
88614 struct net_device *dev;
88654 struct net_device *brdev;
90412 struct net_device *dev;
90527 typedef void (*btf_trace_xdp_exception)(void *, const struct net_device *, const struct bpf_prog *, u32);
90529 typedef void (*btf_trace_xdp_bulk_tx)(void *, const struct net_device *, int, int, int);
90531 typedef void (*btf_trace_xdp_redirect)(void *, const struct net_device *, const struct bpf_prog *, const void *, int, enum bpf_map_type, u32, u32);
90533 typedef void (*btf_trace_xdp_redirect_err)(void *, const struct net_device *, const struct bpf_prog *, const void *, int, enum bpf_map_type, u32, u32);
90535 typedef void (*btf_trace_xdp_redirect_map)(void *, const struct net_device *, const struct bpf_prog *, const void *, int, enum bpf_map_type, u32, u32);
90537 typedef void (*btf_trace_xdp_redirect_map_err)(void *, const struct net_device *, const struct bpf_prog *, const void *, int, enum bpf_map_type, u32, u32);
90543 typedef void (*btf_trace_xdp_devmap_xmit)(void *, const struct net_device *, const struct net_device *, int, int, int);
93790 struct net_device *netdev;
97967 struct net_device *dev;
98003 struct net_device *fb_tunnel_dev;
98040 struct net_device *dev;
98050 int (*fill_dst)(struct xfrm_dst *, struct net_device *, const struct flowi *);
100120 int (*link_update)(struct net_device *, struct fixed_phy_status *);
100444 int (*fn)(struct net_device *);
100578 struct net_device *dev;
100584 struct net_device *dev;
100659 struct net_device *upper_dev;
103263 struct net_device *ndev;
103401 struct net_device *dev;
103435 typedef int flow_indr_block_bind_cb_t(struct net_device *, struct Qdisc *, void *, enum tc_setup_type, void *, void *, void (*)(struct flow_block_cb *));
103446 struct net_device *dev;
103611 int (*newlink)(const char *, struct net_device *);
103844 struct net_device * (*get_netdev)(struct ib_device *, u32);
103845 struct net_device * (*alloc_rdma_netdev)(struct ib_device *, u32, enum rdma_netdev_t, const char *, unsigned char, void (*)(struct net_device *));
104225 struct net_device *ndev;
104525 struct net_device *xmit_slave;
104756 struct net_device *xmit_slave;
105222 struct net_device *netdev;
105233 int (*initialize_rdma_netdev)(struct ib_device *, u32, struct net_device *, void *);
106006 struct net_device *input_dev;
106517 int (*ipv6_chk_addr)(struct net *, const struct in6_addr *, const struct net_device *, int);
106536 struct net_device *dev;
107926 struct net_device *dev;
107927 struct net_device *dev_rx;
107935 struct net_device *dev;
114117 typedef void (*ethnl_notify_handler_t)(struct net_device *, unsigned int, const void *);
114244 struct net_device *dev;
114278 struct net_device *dev;
114471 struct net_device *fb_tunnel_dev;
116200 struct net_device *dev;
116201 int (*mdio_read)(struct net_device *, int, int);
116202 void (*mdio_write)(struct net_device *, int, int, int);
117573 struct net_device *dev;
117695 void (*get_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *);
117696 void (*set_port_priv)(struct net_device *, unsigned int, unsigned int, u8);
117697 void (*add_port)(struct net_device *, struct udp_tunnel_info *);
117698 void (*del_port)(struct net_device *, struct udp_tunnel_info *);
117699 void (*reset_ntf)(struct net_device *);
117700 size_t (*dump_size)(struct net_device *, unsigned int);
117701 int (*dump_write)(struct net_device *, unsigned int, struct sk_buff *);
120575 struct net_device * (*get_dev)(const struct tc_action *, tc_action_priv_destructor *);
122585 struct net_device *dev;
123245 typedef void (*btf_trace_net_dev_start_xmit)(void *, const struct sk_buff *, const struct net_device *);
123247 typedef void (*btf_trace_net_dev_xmit)(void *, struct sk_buff *, int, struct net_device *, unsigned int);
123249 typedef void (*btf_trace_net_dev_xmit_timeout)(void *, struct net_device *, int);
123586 typedef void (*btf_trace_qdisc_create)(void *, const struct Qdisc_ops *, struct net_device *, u32);
123686 struct net_device *dev;
123782 struct net_device *dev;
123921 typedef void (*btf_trace_br_fdb_add)(void *, struct ndmsg *, struct net_device *, const unsigned char *, u16, u16);
124048 typedef void (*btf_trace_neigh_create)(void *, struct neigh_table *, struct net_device *, const void *, const struct neighbour *, bool);
125711 struct net_device *dev;
125935 struct net_device *dev;
126001 typedef int (*bpf_op_t)(struct net_device *, struct netdev_bpf *);
126008 struct net_device *dev;
128563 struct net_device *dev;
128759 struct net_device *dev;
128859 const struct net_device *dev;
128887 struct net_device *dev;
128893 const struct net_device *dev;
128901 struct net_device *dev;
129231 struct net_device *cached_dev;