/linux-6.8/include/net/ |
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 …]
|
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 …]
|
D | rtnetlink.h | 57 * @priv_size: sizeof net_device private space 58 * @setup: net_device setup function 83 struct net_device *(*alloc)(struct nlattr *tb[], 88 void (*setup)(struct net_device *dev); 98 struct net_device *dev, 102 int (*changelink)(struct net_device *dev, 106 void (*dellink)(struct net_device *dev, 109 size_t (*get_size)(const struct net_device *dev); 111 const struct net_device *dev); 113 size_t (*get_xstats_size)(const struct net_device *dev); [all …]
|
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 …]
|
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, 64 int l3mdev_master_ifindex_rcu(const struct net_device *dev); 65 static inline int l3mdev_master_ifindex(struct net_device *dev) in l3mdev_master_ifindex() 78 struct net_device *dev; in l3mdev_master_ifindex_by_index() 95 struct net_device *l3mdev_master_dev_rcu(const struct net_device *_dev) in l3mdev_master_dev_rcu() 103 struct net_device *dev = (struct net_device *)_dev; in l3mdev_master_dev_rcu() 104 struct net_device *master; in l3mdev_master_dev_rcu() [all …]
|
/linux-6.8/include/linux/ |
D | if_bridge.h | 75 int br_multicast_list_adjacent(struct net_device *dev, 77 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto); 78 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto); 79 bool br_multicast_has_router_adjacent(struct net_device *dev, int proto); 80 bool br_multicast_enabled(const struct net_device *dev); 81 bool br_multicast_router(const struct net_device *dev); 83 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent() 88 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere() 93 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, in br_multicast_has_querier_adjacent() 99 static inline bool br_multicast_has_router_adjacent(struct net_device *dev, in br_multicast_has_router_adjacent() [all …]
|
D | netdevice.h | 86 void netdev_set_default_ethtool_ops(struct net_device *dev, 88 void netdev_sw_irq_coalesce_default_on(struct net_device *dev); 312 int (*create) (struct sk_buff *skb, struct net_device *dev, 318 const struct net_device *dev, 372 struct net_device *dev; 433 * Currently, a net_device can only have a single rx_handler registered. Trying 436 * To register a rx_handler on a net_device, use netdev_rx_handler_register(). 437 * To unregister a rx_handler on a net_device, use 448 * net_device, it should return RX_HANDLER_ANOTHER. The rx_handler for the 558 int dev_set_threaded(struct net_device *dev, bool threaded); [all …]
|
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 …]
|
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 …]
|
/linux-6.8/net/8021q/ |
D | vlan.h | 25 struct net_device **vlan_devices_arrays[VLAN_PROTO_NUM] 30 struct net_device *real_dev; /* The ethernet(like) device 52 static inline struct net_device *__vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device() 56 struct net_device **array; in __vlan_group_get_device() 67 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device() 81 struct net_device *dev) in vlan_group_set_device() 84 struct net_device **array; in vlan_group_set_device() 94 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev() 106 static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev) in vlan_tnl_features() 128 void vlan_dev_set_ingress_priority(const struct net_device *dev, [all …]
|
/linux-6.8/drivers/net/hyperv/ |
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(sizeof(struct netvsc_device), GFP_KERNEL); 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-6.8/drivers/infiniband/ulp/ipoib/ |
D | ipoib.h | 153 static inline struct ipoib_dev_priv *ipoib_priv(const struct net_device *dev) in ipoib_priv() 180 struct net_device *dev; 239 struct net_device *dev; 249 struct net_device *dev; 324 struct net_device *dev; 325 void (*next_priv_destructor)(struct net_device *dev); 401 struct net_device *parent; 423 struct net_device *dev; 432 struct net_device *dev; 455 struct net_device *dev; [all …]
|
/linux-6.8/drivers/net/ethernet/sfc/siena/ |
D | ethtool_common.h | 14 void efx_siena_ethtool_get_drvinfo(struct net_device *net_dev, 16 u32 efx_siena_ethtool_get_msglevel(struct net_device *net_dev); 17 void efx_siena_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable); 18 void efx_siena_ethtool_self_test(struct net_device *net_dev, 20 void efx_siena_ethtool_get_pauseparam(struct net_device *net_dev, 22 int efx_siena_ethtool_set_pauseparam(struct net_device *net_dev, 24 int efx_siena_ethtool_get_sset_count(struct net_device *net_dev, int string_set); 25 void efx_siena_ethtool_get_strings(struct net_device *net_dev, u32 string_set, 27 void efx_siena_ethtool_get_stats(struct net_device *net_dev, 30 int efx_siena_ethtool_get_link_ksettings(struct net_device *net_dev, [all …]
|
/linux-6.8/drivers/net/ethernet/sfc/ |
D | ethtool_common.h | 14 void efx_ethtool_get_drvinfo(struct net_device *net_dev, 16 u32 efx_ethtool_get_msglevel(struct net_device *net_dev); 17 void efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable); 18 void efx_ethtool_self_test(struct net_device *net_dev, 20 void efx_ethtool_get_pauseparam(struct net_device *net_dev, 22 int efx_ethtool_set_pauseparam(struct net_device *net_dev, 27 int efx_ethtool_get_sset_count(struct net_device *net_dev, int string_set); 28 void efx_ethtool_get_strings(struct net_device *net_dev, u32 string_set, 30 void efx_ethtool_get_stats(struct net_device *net_dev, 33 int efx_ethtool_get_link_ksettings(struct net_device *net_dev, [all …]
|
/linux-6.8/net/switchdev/ |
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_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred() [all …]
|
/linux-6.8/net/core/ |
D | dev.h | 8 struct net_device; 32 void linkwatch_init_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); 70 int netdev_name_node_alt_create(struct net_device *dev, const char *name); 71 int netdev_name_node_alt_destroy(struct net_device *dev, const char *name); 73 int dev_validate_mtu(struct net_device *dev, int mtu, [all …]
|
/linux-6.8/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.h | 12 bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev); 13 bool rtl92e_get_nmode_support_by_sec(struct net_device *dev); 14 bool rtl92e_is_tx_stuck(struct net_device *dev); 15 bool rtl92e_is_rx_stuck(struct net_device *dev); 16 void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta); 17 void rtl92e_enable_rx(struct net_device *dev); 18 void rtl92e_enable_tx(struct net_device *dev); 19 void rtl92e_init_variables(struct net_device *dev); 20 void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val); 21 void rtl92e_get_eeprom_size(struct net_device *dev); [all …]
|
D | r8192E_phy.h | 28 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr, 30 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask); 31 void rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, 33 u32 rtl92e_get_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, 35 void rtl92e_config_mac(struct net_device *dev); 36 bool rtl92e_check_bb_and_rf(struct net_device *dev, 39 bool rtl92e_config_bb(struct net_device *dev); 40 void rtl92e_get_tx_power(struct net_device *dev); 41 void rtl92e_set_tx_power(struct net_device *dev, u8 channel); 42 u8 rtl92e_config_rf_path(struct net_device *dev, enum rf90_radio_path eRFPath); [all …]
|
/linux-6.8/drivers/net/ethernet/wangxun/libwx/ |
D | wx_ethtool.h | 7 int wx_get_sset_count(struct net_device *netdev, int sset); 8 void wx_get_strings(struct net_device *netdev, u32 stringset, u8 *data); 9 void wx_get_ethtool_stats(struct net_device *netdev, 11 void wx_get_mac_stats(struct net_device *netdev, 13 void wx_get_pause_stats(struct net_device *netdev, 15 void wx_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info); 16 int wx_nway_reset(struct net_device *netdev); 17 int wx_get_link_ksettings(struct net_device *netdev, 19 int wx_set_link_ksettings(struct net_device *netdev, 21 void wx_get_pauseparam(struct net_device *netdev, [all …]
|
/linux-6.8/drivers/net/ethernet/qlogic/qede/ |
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-6.8/include/linux/can/ |
D | dev.h | 45 struct net_device *dev; 79 int (*do_set_bittiming)(struct net_device *dev); 80 int (*do_set_data_bittiming)(struct net_device *dev); 81 int (*do_set_mode)(struct net_device *dev, enum can_mode mode); 82 int (*do_set_termination)(struct net_device *dev, u16 term); 83 int (*do_get_state)(const struct net_device *dev, 85 int (*do_get_berr_counter)(const struct net_device *dev, 87 int (*do_get_auto_tdcv)(const struct net_device *dev, u32 *tdcv); 125 static inline int __must_check can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode() 156 static inline bool can_dev_dropped_skb(struct net_device *dev, struct sk_buff *skb) in can_dev_dropped_skb() [all …]
|
/linux-6.8/net/dsa/ |
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 void dsa_user_sync_ha(struct net_device *dev); 46 void dsa_user_unsync_ha(struct net_device *dev); 47 void dsa_user_setup_tagger(struct net_device *user); 48 int dsa_user_change_mtu(struct net_device *dev, int new_mtu); 49 int dsa_user_change_conduit(struct net_device *dev, struct net_device *conduit, [all …]
|
/linux-6.8/drivers/net/ |
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-6.8/net/wireless/ |
D | wext-compat.h | 14 int cfg80211_ibss_wext_siwfreq(struct net_device *dev, 17 int cfg80211_ibss_wext_giwfreq(struct net_device *dev, 20 int cfg80211_ibss_wext_siwap(struct net_device *dev, 23 int cfg80211_ibss_wext_giwap(struct net_device *dev, 26 int cfg80211_ibss_wext_siwessid(struct net_device *dev, 29 int cfg80211_ibss_wext_giwessid(struct net_device *dev, 33 int cfg80211_mgd_wext_siwfreq(struct net_device *dev, 36 int cfg80211_mgd_wext_giwfreq(struct net_device *dev, 39 int cfg80211_mgd_wext_siwap(struct net_device *dev, 42 int cfg80211_mgd_wext_giwap(struct net_device *dev, [all …]
|
/linux-6.8/drivers/net/ethernet/intel/ice/ |
D | ice_sriov.h | 31 int ice_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac); 33 ice_get_vf_cfg(struct net_device *netdev, int vf_id, struct ifla_vf_info *ivi); 39 ice_set_vf_port_vlan(struct net_device *netdev, int vf_id, u16 vlan_id, u8 qos, 43 ice_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate, 46 int ice_set_vf_trust(struct net_device *netdev, int vf_id, bool trusted); 48 int ice_set_vf_link_state(struct net_device *netdev, int vf_id, int link_state); 50 int ice_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool ena); 55 ice_get_vf_stats(struct net_device *netdev, int vf_id, 82 ice_set_vf_mac(struct net_device __always_unused *netdev, in ice_set_vf_mac() 89 ice_get_vf_cfg(struct net_device __always_unused *netdev, in ice_get_vf_cfg() [all …]
|