Home
last modified time | relevance | path

Searched refs:net_device (Results 1 – 25 of 170) sorted by relevance

1234567

/include/net/
Ddcbnl.h20 int dcb_setapp(struct net_device *, struct dcb_app *);
21 u8 dcb_getapp(struct net_device *, struct dcb_app *);
22 int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
23 int dcb_ieee_delapp(struct net_device *, struct dcb_app *);
24 u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *);
29 void dcb_ieee_getapp_prio_dscp_mask_map(const struct net_device *dev,
35 void dcb_ieee_getapp_dscp_prio_mask_map(const struct net_device *dev,
37 u8 dcb_ieee_getapp_default_prio_mask(const struct net_device *dev);
39 int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd,
41 int dcbnl_cee_notify(struct net_device *dev, int event, int cmd,
[all …]
DSpace.h6 struct net_device *hp100_probe(int unit);
7 struct net_device *ultra_probe(int unit);
8 struct net_device *wd_probe(int unit);
9 struct net_device *ne_probe(int unit);
10 struct net_device *fmv18x_probe(int unit);
11 struct net_device *i82596_probe(int unit);
12 struct net_device *ni65_probe(int unit);
13 struct net_device *sonic_probe(int unit);
14 struct net_device *smc_init(int unit);
15 struct net_device *atarilance_probe(int unit);
[all …]
Dfailover.h10 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 …]
Dswitchdev.h46 struct net_device *orig_dev;
50 void (*complete)(struct net_device *dev, int err, void *priv);
69 struct net_device *orig_dev;
73 void (*complete)(struct net_device *dev, int err, void *priv);
118 struct net_device *dev;
144 static inline struct net_device *
159 int switchdev_port_attr_set(struct net_device *dev,
161 int switchdev_port_obj_add(struct net_device *dev,
164 int switchdev_port_obj_del(struct net_device *dev,
169 int call_switchdev_notifiers(unsigned long val, struct net_device *dev,
[all …]
Drtnetlink.h65 void (*setup)(struct net_device *dev);
74 struct net_device *dev,
78 int (*changelink)(struct net_device *dev,
82 void (*dellink)(struct net_device *dev,
85 size_t (*get_size)(const struct net_device *dev);
87 const struct net_device *dev);
89 size_t (*get_xstats_size)(const struct net_device *dev);
91 const struct net_device *dev);
97 int (*slave_changelink)(struct net_device *dev,
98 struct net_device *slave_dev,
[all …]
Dcfg80211-wext.h20 int cfg80211_wext_giwname(struct net_device *dev,
23 int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info,
25 int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info,
27 int cfg80211_wext_siwscan(struct net_device *dev,
30 int cfg80211_wext_giwscan(struct net_device *dev,
33 int cfg80211_wext_giwrange(struct net_device *dev,
36 int cfg80211_wext_siwrts(struct net_device *dev,
39 int cfg80211_wext_giwrts(struct net_device *dev,
42 int cfg80211_wext_siwfrag(struct net_device *dev,
45 int cfg80211_wext_giwfrag(struct net_device *dev,
[all …]
Dl3mdev.h26 u32 (*l3mdev_fib_table)(const struct net_device *dev);
27 struct sk_buff * (*l3mdev_l3_rcv)(struct net_device *dev,
29 struct sk_buff * (*l3mdev_l3_out)(struct net_device *dev,
34 struct dst_entry * (*l3mdev_link_scope_lookup)(const struct net_device *dev,
45 int l3mdev_master_ifindex_rcu(const struct net_device *dev);
46 static inline int l3mdev_master_ifindex(struct net_device *dev) in l3mdev_master_ifindex()
59 struct net_device *dev; in l3mdev_master_ifindex_by_index()
76 struct net_device *l3mdev_master_dev_rcu(const struct net_device *_dev) in l3mdev_master_dev_rcu()
84 struct net_device *dev = (struct net_device *)_dev; in l3mdev_master_dev_rcu()
85 struct net_device *master; in l3mdev_master_dev_rcu()
[all …]
Dncsi.h27 struct net_device *dev;
32 int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid);
33 int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid);
34 struct ncsi_dev *ncsi_register_dev(struct net_device *dev,
40 static inline int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_add_vid()
45 static inline int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_kill_vid()
50 static inline struct ncsi_dev *ncsi_register_dev(struct net_device *dev, in ncsi_register_dev()
Darp.h13 static inline u32 arp_hashfn(const void *pkey, const struct net_device *dev, u32 *hash_rnd) in arp_hashfn()
22 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
31 struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
37 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup()
50 static inline void __ipv4_confirm_neigh(struct net_device *dev, u32 key) in __ipv4_confirm_neigh()
69 struct net_device *dev, __be32 src_ip,
72 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir);
73 void arp_ifdown(struct net_device *dev);
76 struct net_device *dev, __be32 src_ip,
Dieee802154_netdev.h269 int (*get_params)(struct net_device *dev,
271 int (*set_params)(struct net_device *dev,
275 int (*add_key)(struct net_device *dev,
278 int (*del_key)(struct net_device *dev,
281 int (*add_dev)(struct net_device *dev,
283 int (*del_dev)(struct net_device *dev, __le64 dev_addr);
285 int (*add_devkey)(struct net_device *dev,
288 int (*del_devkey)(struct net_device *dev,
292 int (*add_seclevel)(struct net_device *dev,
294 int (*del_seclevel)(struct net_device *dev,
[all …]
/include/linux/
Dethtool.h83 struct net_device;
86 u32 ethtool_op_get_link(struct net_device *dev);
87 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *eti);
160 __ethtool_get_link_ksettings(struct net_device *dev,
326 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
327 int (*get_regs_len)(struct net_device *);
328 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
329 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
330 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
331 u32 (*get_msglevel)(struct net_device *);
[all …]
Dif_frad.h53 struct net_device *master;
54 struct net_device *slave;
60 void (*receive)(struct sk_buff *skb, struct net_device *);
66 struct net_device *master[CONFIG_DLCI_MAX];
74 int (*activate)(struct net_device *, struct net_device *);
75 int (*deactivate)(struct net_device *, struct net_device *);
76 int (*assoc)(struct net_device *, struct net_device *);
77 int (*deassoc)(struct net_device *, struct net_device *);
78 int (*dlci_conf)(struct net_device *, struct net_device *, int get);
82 struct net_device *dev;
Dif_bridge.h56 int br_multicast_list_adjacent(struct net_device *dev,
58 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto);
59 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
60 bool br_multicast_enabled(const struct net_device *dev);
61 bool br_multicast_router(const struct net_device *dev);
63 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent()
68 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere()
73 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, in br_multicast_has_querier_adjacent()
78 static inline bool br_multicast_enabled(const struct net_device *dev) in br_multicast_enabled()
82 static inline bool br_multicast_router(const struct net_device *dev) in br_multicast_router()
[all …]
Dlapb.h28 void (*connect_confirmation)(struct net_device *dev, int reason);
29 void (*connect_indication)(struct net_device *dev, int reason);
30 void (*disconnect_confirmation)(struct net_device *dev, int reason);
31 void (*disconnect_indication)(struct net_device *dev, int reason);
32 int (*data_indication)(struct net_device *dev, struct sk_buff *skb);
33 void (*data_transmit)(struct net_device *dev, struct sk_buff *skb);
48 extern int lapb_register(struct net_device *dev,
50 extern int lapb_unregister(struct net_device *dev);
51 extern int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms);
52 extern int lapb_setparms(struct net_device *dev, struct lapb_parms_struct *parms);
[all …]
Dhdlc.h20 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 ifreq *ifr);
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 …]
Dnetdevice.h68 void netdev_set_default_ethtool_ops(struct net_device *dev,
264 int (*create) (struct sk_buff *skb, struct net_device *dev,
270 const struct net_device *dev,
332 struct net_device *dev;
593 struct net_device *dev;
610 struct net_device *sb_dev;
730 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id,
742 struct net_device *dev;
832 typedef u16 (*select_queue_fallback_t)(struct net_device *dev,
834 struct net_device *sb_dev);
[all …]
Dif_macvlan.h19 struct net_device *dev;
23 struct net_device *lowerdev;
57 extern void macvlan_common_setup(struct net_device *dev);
59 extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev,
63 extern void macvlan_dellink(struct net_device *dev, struct list_head *head);
68 static inline struct net_device *
69 macvlan_dev_real_dev(const struct net_device *dev) in macvlan_dev_real_dev()
76 static inline struct net_device *
77 macvlan_dev_real_dev(const struct net_device *dev) in macvlan_dev_real_dev()
84 static inline void *macvlan_accel_priv(struct net_device *dev) in macvlan_accel_priv()
[all …]
Dnetpoll.h26 struct net_device *dev;
50 void netpoll_poll_dev(struct net_device *dev);
51 void netpoll_poll_disable(struct net_device *dev);
52 void netpoll_poll_enable(struct net_device *dev);
54 static inline void netpoll_poll_disable(struct net_device *dev) { return; } in netpoll_poll_disable()
55 static inline void netpoll_poll_enable(struct net_device *dev) { return; } in netpoll_poll_enable()
61 int __netpoll_setup(struct netpoll *np, struct net_device *ndev);
67 struct net_device *dev);
79 struct net_device *dev = napi->dev; in netpoll_poll_lock()
100 static inline bool netpoll_tx_running(struct net_device *dev) in netpoll_tx_running()
[all …]
Dif_vlan.h70 static inline bool is_vlan_dev(const struct net_device *dev) in is_vlan_dev()
81 static inline int vlan_get_rx_ctag_filter_info(struct net_device *dev) in vlan_get_rx_ctag_filter_info()
87 static inline void vlan_drop_rx_ctag_filter_info(struct net_device *dev) in vlan_drop_rx_ctag_filter_info()
93 static inline int vlan_get_rx_stag_filter_info(struct net_device *dev) in vlan_get_rx_stag_filter_info()
99 static inline void vlan_drop_rx_stag_filter_info(struct net_device *dev) in vlan_drop_rx_stag_filter_info()
129 extern struct net_device *__vlan_find_dev_deep_rcu(struct net_device *real_dev,
131 extern int vlan_for_each(struct net_device *dev,
132 int (*action)(struct net_device *dev, int vid,
134 extern struct net_device *vlan_dev_real_dev(const struct net_device *dev);
135 extern u16 vlan_dev_vlan_id(const struct net_device *dev);
[all …]
Drtnetlink.h21 void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change, gfp_t flags);
22 void rtmsg_ifinfo_newnet(int type, struct net_device *dev, unsigned int change,
24 struct sk_buff *rtmsg_ifinfo_build_skb(int type, struct net_device *dev,
28 void rtmsg_ifinfo_send(struct sk_buff *skb, struct net_device *dev,
83 static inline struct netdev_queue *dev_ingress_queue(struct net_device *dev) in dev_ingress_queue()
88 static inline struct netdev_queue *dev_ingress_queue_rcu(struct net_device *dev) in dev_ingress_queue_rcu()
93 struct netdev_queue *dev_ingress_queue_create(struct net_device *dev);
115 struct net_device *dev,
116 struct net_device *filter_dev,
120 struct net_device *dev,
[all …]
Dof_mdio.h17 extern struct phy_device *of_phy_connect(struct net_device *dev,
19 void (*hndlr)(struct net_device *),
22 of_phy_get_and_connect(struct net_device *dev, struct device_node *np,
23 void (*hndlr)(struct net_device *));
24 struct phy_device *of_phy_attach(struct net_device *dev,
72 static inline struct phy_device *of_phy_connect(struct net_device *dev, in of_phy_connect()
74 void (*hndlr)(struct net_device *), in of_phy_connect() argument
81 of_phy_get_and_connect(struct net_device *dev, struct device_node *np, in of_phy_get_and_connect()
82 void (*hndlr)(struct net_device *)) in of_phy_get_and_connect() argument
87 static inline struct phy_device *of_phy_attach(struct net_device *dev, in of_phy_attach()
Dhippidevice.h30 __be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev);
31 int hippi_mac_addr(struct net_device *dev, void *p);
32 int hippi_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p);
33 struct net_device *alloc_hippi_dev(int sizeof_priv);
/include/linux/can/
Ddev.h37 struct net_device *dev;
63 int (*do_set_bittiming)(struct net_device *dev);
64 int (*do_set_data_bittiming)(struct net_device *dev);
65 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
66 int (*do_set_termination)(struct net_device *dev, u16 term);
67 int (*do_get_state)(const struct net_device *dev,
69 int (*do_get_berr_counter)(const struct net_device *dev,
96 static inline bool can_skb_headroom_valid(struct net_device *dev, in can_skb_headroom_valid()
126 static inline bool can_dropped_invalid_skb(struct net_device *dev, in can_dropped_invalid_skb()
160 static inline void can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode()
[all …]
Dled.h27 void can_led_event(struct net_device *netdev, enum can_led_event event);
28 void devm_can_led_init(struct net_device *netdev);
34 static inline void can_led_event(struct net_device *netdev, in can_led_event()
38 static inline void devm_can_led_init(struct net_device *netdev) in devm_can_led_init()
/include/net/phonet/
Dpn_dev.h22 struct net_device *netdev;
30 struct net_device *phonet_device_get(struct net *net);
32 int phonet_address_add(struct net_device *dev, u8 addr);
33 int phonet_address_del(struct net_device *dev, u8 addr);
34 u8 phonet_address_get(struct net_device *dev, u8 addr);
36 void phonet_address_notify(int event, struct net_device *dev, u8 addr);
38 int phonet_route_add(struct net_device *dev, u8 daddr);
39 int phonet_route_del(struct net_device *dev, u8 daddr);
40 void rtm_phonet_notify(int event, struct net_device *dev, u8 dst);
41 struct net_device *phonet_route_get_rcu(struct net *net, u8 daddr);
[all …]

1234567