Searched refs:net_device (Results 326 - 350 of 2447) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dmirred.c16 same_vf_reps(struct mlx5e_priv *priv, struct net_device *out_dev)
25 struct net_device *out_dev,
59 is_duplicated_output_device(struct net_device *dev,
60 struct net_device *out_dev,
78 static struct net_device *
79 get_fdb_out_dev(struct net_device *uplink_dev, struct net_device *out_dev)
81 struct net_device *fdb_out_dev = out_dev;
82 struct net_device *uplink_upper;
109 struct net_device *out_de
[all...]
/linux-master/drivers/net/can/softing/
H A Dsofting.h22 struct net_device *netdev;
40 struct net_device *net[2];
75 int softing_default_output(struct net_device *netdev);
98 int softing_startstop(struct net_device *netdev, int up);
101 int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg,
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_dcb.h120 void cxgb4_dcb_state_init(struct net_device *);
121 void cxgb4_dcb_version_init(struct net_device *);
122 void cxgb4_dcb_reset(struct net_device *dev);
123 void cxgb4_dcb_state_fsm(struct net_device *, enum cxgb4_dcb_state_input);
146 static inline void cxgb4_dcb_state_init(struct net_device *dev)
/linux-master/net/phonet/
H A Dpn_dev.c26 struct net_device __rcu *table[64];
48 static struct phonet_device *__phonet_device_alloc(struct net_device *dev)
62 static struct phonet_device *__phonet_get(struct net_device *dev)
75 static struct phonet_device *__phonet_get_rcu(struct net_device *dev)
87 static void phonet_device_destroy(struct net_device *dev)
109 struct net_device *phonet_device_get(struct net *net)
113 struct net_device *dev = NULL;
130 int phonet_address_add(struct net_device *dev, u8 addr)
149 int phonet_address_del(struct net_device *dev, u8 addr)
173 u8 phonet_address_get(struct net_device *de
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dkfree_skb.c27 struct net_device /* same as kernel's struct net_device */ { struct
43 struct net_device *dev;
63 struct net_device *dev;
118 int BPF_PROG(fentry_eth_type_trans, struct sk_buff *skb, struct net_device *dev,
136 int BPF_PROG(fexit_eth_type_trans, struct sk_buff *skb, struct net_device *dev,
H A Dcore_kern.c26 static __noinline int randmap(int v, const struct net_device *dev)
43 int BPF_PROG(tp_xdp_devmap_xmit_multi, const struct net_device
44 *from_dev, const struct net_device *to_dev, int sent, int drops,
52 struct net_device *dev, unsigned short protocol)
59 struct net_device *dev, unsigned short protocol)
/linux-master/drivers/net/wireless/marvell/libertas/
H A Dethtool.c12 static void lbs_ethtool_get_drvinfo(struct net_device *dev,
33 static int lbs_ethtool_get_eeprom_len(struct net_device *dev)
38 static int lbs_ethtool_get_eeprom(struct net_device *dev,
61 static void lbs_ethtool_get_wol(struct net_device *dev,
81 static int lbs_ethtool_set_wol(struct net_device *dev,
/linux-master/include/net/
H A Dmrp.h118 struct net_device *dev;
138 int mrp_init_applicant(struct net_device *dev, struct mrp_application *app);
139 void mrp_uninit_applicant(struct net_device *dev, struct mrp_application *app);
141 int mrp_request_join(const struct net_device *dev,
144 void mrp_request_leave(const struct net_device *dev,
/linux-master/drivers/net/can/sja1000/
H A Dsja1000.h166 struct net_device *dev;
177 struct net_device *alloc_sja1000dev(int sizeof_priv);
178 void free_sja1000dev(struct net_device *dev);
179 int register_sja1000dev(struct net_device *dev);
180 void unregister_sja1000dev(struct net_device *dev);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_span.h56 const struct net_device *to_dev;
71 const struct net_device *to_dev;
80 bool (*can_handle)(const struct net_device *to_dev);
82 const struct net_device *to_dev,
95 const struct net_device *to_dev);
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.h29 int wx_set_mac(struct net_device *netdev, void *p);
31 void wx_set_rx_mode(struct net_device *netdev);
32 int wx_change_mtu(struct net_device *netdev, int new_mtu);
42 int wx_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid);
43 int wx_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid);
/linux-master/drivers/net/ethernet/altera/
H A Daltera_tse_ethtool.c63 static void tse_get_drvinfo(struct net_device *dev,
78 static void tse_gstrings(struct net_device *dev, u32 stringset, u8 *buf)
83 static void tse_fill_stats(struct net_device *dev, struct ethtool_stats *dummy,
172 static int tse_sset_count(struct net_device *dev, int sset)
182 static u32 tse_get_msglevel(struct net_device *dev)
188 static void tse_set_msglevel(struct net_device *dev, uint32_t data)
194 static int tse_reglen(struct net_device *dev)
199 static void tse_get_regs(struct net_device *dev, struct ethtool_regs *regs,
224 static int tse_ethtool_set_link_ksettings(struct net_device *dev,
232 static int tse_ethtool_get_link_ksettings(struct net_device *de
[all...]
/linux-master/net/openvswitch/
H A Dvport-internal_dev.c27 static struct internal_dev *internal_dev_priv(struct net_device *netdev)
34 internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev)
53 static int internal_dev_open(struct net_device *netdev)
59 static int internal_dev_stop(struct net_device *netdev)
65 static void internal_dev_getinfo(struct net_device *netdev,
76 static void internal_dev_destructor(struct net_device *dev)
95 static void do_setup(struct net_device *netdev)
127 struct net_device *dev;
195 struct net_device *netdev = skb->dev;
223 int ovs_is_internal_dev(const struct net_device *netde
[all...]
/linux-master/drivers/net/ipvlan/
H A Dipvlan.h63 struct net_device *dev;
66 struct net_device *phy_dev;
90 struct net_device *dev;
109 static inline struct ipvl_port *ipvlan_port_get_rcu(const struct net_device *d)
114 static inline struct ipvl_port *ipvlan_port_get_rcu_bh(const struct net_device *d)
119 static inline struct ipvl_port *ipvlan_port_get_rtnl(const struct net_device *d)
158 int ipvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev);
169 int ipvlan_link_new(struct net *src_net, struct net_device *dev,
172 void ipvlan_link_delete(struct net_device *dev, struct list_head *head);
173 void ipvlan_link_setup(struct net_device *de
[all...]
/linux-master/drivers/net/can/dev/
H A Dskb.c25 void can_flush_echo_skb(struct net_device *dev)
47 int can_put_echo_skb(struct sk_buff *skb, struct net_device *dev,
98 __can_get_echo_skb(struct net_device *dev, unsigned int idx,
146 unsigned int can_get_echo_skb(struct net_device *dev, unsigned int idx,
170 void can_free_echo_skb(struct net_device *dev, unsigned int idx,
208 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf)
230 struct sk_buff *alloc_canfd_skb(struct net_device *dev,
256 struct sk_buff *alloc_canxl_skb(struct net_device *dev,
289 struct sk_buff *alloc_can_err_skb(struct net_device *dev, struct can_frame **cf)
305 static bool can_skb_headroom_valid(struct net_device *de
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Dethtool.c33 static int efx_ethtool_phys_id(struct net_device *net_dev,
56 static int efx_ethtool_get_regs_len(struct net_device *net_dev)
61 static void efx_ethtool_get_regs(struct net_device *net_dev,
99 static int efx_ethtool_get_coalesce(struct net_device *net_dev,
119 static int efx_ethtool_set_coalesce(struct net_device *net_dev,
161 efx_ethtool_get_ringparam(struct net_device *net_dev,
175 efx_ethtool_set_ringparam(struct net_device *net_dev,
204 static void efx_ethtool_get_wol(struct net_device *net_dev,
212 static int efx_ethtool_set_wol(struct net_device *net_dev,
219 static void efx_ethtool_get_fec_stats(struct net_device *net_de
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dethtool.c33 static int efx_ethtool_phys_id(struct net_device *net_dev,
56 static int efx_ethtool_get_regs_len(struct net_device *net_dev)
61 static void efx_ethtool_get_regs(struct net_device *net_dev,
99 static int efx_ethtool_get_coalesce(struct net_device *net_dev,
119 static int efx_ethtool_set_coalesce(struct net_device *net_dev,
161 efx_ethtool_get_ringparam(struct net_device *net_dev,
175 efx_ethtool_set_ringparam(struct net_device *net_dev,
204 static void efx_ethtool_get_wol(struct net_device *net_dev,
212 static int efx_ethtool_set_wol(struct net_device *net_dev,
219 static void efx_ethtool_get_fec_stats(struct net_device *net_de
[all...]
/linux-master/include/scsi/
H A Dlibfcoe.h262 int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type);
264 struct net_device *netdev);
313 bool (*match) (struct net_device *device);
314 int (*alloc) (struct net_device *device);
315 int (*create) (struct net_device *device, enum fip_mode fip_mode);
316 int (*destroy) (struct net_device *device);
317 int (*enable) (struct net_device *device);
318 int (*disable) (struct net_device *device);
353 * @get_netdev: function that returns a &net_device from @lport
368 struct net_device * (*get_netde
[all...]
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_net.c24 struct net_device *dev;
30 static bool ocelot_netdevice_dev_check(const struct net_device *dev);
478 static int ocelot_setup_tc(struct net_device *dev, enum tc_setup_type type,
492 static int ocelot_vlan_vid_add(struct net_device *dev, u16 vid, bool pvid,
512 static int ocelot_vlan_vid_del(struct net_device *dev, u16 vid)
536 static int ocelot_port_open(struct net_device *dev)
545 static int ocelot_port_stop(struct net_device *dev)
554 static netdev_tx_t ocelot_port_xmit(struct sk_buff *skb, struct net_device *dev)
655 static int ocelot_mc_unsync(struct net_device *dev, const unsigned char *addr)
669 static int ocelot_mc_sync(struct net_device *de
[all...]
/linux-master/net/bluetooth/bnep/
H A Dnetdev.c38 static int bnep_net_open(struct net_device *dev)
44 static int bnep_net_close(struct net_device *dev)
50 static void bnep_net_set_mc_list(struct net_device *dev)
109 static int bnep_net_set_mac_addr(struct net_device *dev, void *arg)
115 static void bnep_net_timeout(struct net_device *dev, unsigned int txqueue)
165 struct net_device *dev)
217 void bnep_net_setup(struct net_device *dev)
/linux-master/drivers/net/ethernet/apm/xgene-v2/
H A Dethtool.c85 static void xge_get_drvinfo(struct net_device *ndev,
95 static void xge_get_strings(struct net_device *ndev, u32 stringset, u8 *data)
114 static int xge_get_sset_count(struct net_device *ndev, int sset)
122 static void xge_get_ethtool_stats(struct net_device *ndev,
138 static int xge_get_link_ksettings(struct net_device *ndev,
151 static int xge_set_link_ksettings(struct net_device *ndev,
172 void xge_set_ethtool_ops(struct net_device *ndev)
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Dcore.h64 struct net_device *netdev;
138 struct net_device *qtnf_classify_skb(struct qtnf_bus *bus, struct sk_buff *skb);
139 void qtnf_wake_all_queues(struct net_device *ndev);
141 void qtnf_virtual_intf_cleanup(struct net_device *ndev);
143 void qtnf_netdev_updown(struct net_device *ndev, bool up);
146 bool qtnf_netdev_is_qtn(const struct net_device *ndev);
148 static inline struct qtnf_vif *qtnf_netdev_get_priv(struct net_device *dev)
/linux-master/net/wireless/
H A Dwext-spy.c18 static inline struct iw_spy_data *get_spydata(struct net_device *dev)
26 int iw_handler_set_spy(struct net_device * dev,
74 int iw_handler_get_spy(struct net_device * dev,
110 int iw_handler_set_thrspy(struct net_device * dev,
137 int iw_handler_get_thrspy(struct net_device * dev,
161 static void iw_send_thrspy_event(struct net_device * dev,
192 void wireless_spy_update(struct net_device * dev,
/linux-master/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_cm.c79 struct net_device *(*get_real_dev)(struct net_device *),
80 struct net_device *egress_dev)
93 struct net_device *(*get_real_dev)(struct net_device *),
122 struct net_device *(*get_real_dev)(struct net_device *),
/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth.h48 struct net_device **netdevs;
85 struct net_device *netdev;
158 void fun_set_ethtool_ops(struct net_device *netdev);
162 int fun_replace_queues(struct net_device *dev, struct fun_qset *newqs,
164 int fun_change_num_queues(struct net_device *dev, unsigned int ntx,
166 void fun_set_ring_count(struct net_device *netdev, unsigned int ntx,
168 int fun_config_rss(struct net_device *dev, int algo, const u8 *key,

Completed in 338 milliseconds

<<11121314151617181920>>