Home
last modified time | relevance | path

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

123456

/include/net/
Ddcbnl.h31 int dcb_setapp(struct net_device *, struct dcb_app *);
32 u8 dcb_getapp(struct net_device *, struct dcb_app *);
33 int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
34 int dcb_ieee_delapp(struct net_device *, struct dcb_app *);
35 u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *);
37 int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd,
39 int dcbnl_cee_notify(struct net_device *dev, int event, int cmd,
48 int (*ieee_getets) (struct net_device *, struct ieee_ets *);
49 int (*ieee_setets) (struct net_device *, struct ieee_ets *);
50 int (*ieee_getmaxrate) (struct net_device *, struct ieee_maxrate *);
[all …]
DSpace.h5 struct net_device *hp100_probe(int unit);
6 struct net_device *ultra_probe(int unit);
7 struct net_device *wd_probe(int unit);
8 struct net_device *ne_probe(int unit);
9 struct net_device *fmv18x_probe(int unit);
10 struct net_device *i82596_probe(int unit);
11 struct net_device *ni65_probe(int unit);
12 struct net_device *sonic_probe(int unit);
13 struct net_device *smc_init(int unit);
14 struct net_device *atarilance_probe(int unit);
[all …]
Dswitchdev.h54 struct net_device *orig_dev;
58 void (*complete)(struct net_device *dev, int err, void *priv);
76 struct net_device *orig_dev;
80 void (*complete)(struct net_device *dev, int err, void *priv);
136 int (*switchdev_port_attr_get)(struct net_device *dev,
138 int (*switchdev_port_attr_set)(struct net_device *dev,
141 int (*switchdev_port_obj_add)(struct net_device *dev,
144 int (*switchdev_port_obj_del)(struct net_device *dev,
146 int (*switchdev_port_obj_dump)(struct net_device *dev,
157 struct net_device *dev;
[all …]
Drtnetlink.h60 void (*setup)(struct net_device *dev);
68 struct net_device *dev,
71 int (*changelink)(struct net_device *dev,
74 void (*dellink)(struct net_device *dev,
77 size_t (*get_size)(const struct net_device *dev);
79 const struct net_device *dev);
81 size_t (*get_xstats_size)(const struct net_device *dev);
83 const struct net_device *dev);
91 int (*slave_changelink)(struct net_device *dev,
92 struct net_device *slave_dev,
[all …]
Dcfg80211-wext.h23 int cfg80211_wext_giwname(struct net_device *dev,
26 int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info,
28 int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info,
30 int cfg80211_wext_siwscan(struct net_device *dev,
33 int cfg80211_wext_giwscan(struct net_device *dev,
36 int cfg80211_wext_giwrange(struct net_device *dev,
39 int cfg80211_wext_siwrts(struct net_device *dev,
42 int cfg80211_wext_giwrts(struct net_device *dev,
45 int cfg80211_wext_siwfrag(struct net_device *dev,
48 int cfg80211_wext_giwfrag(struct net_device *dev,
[all …]
Dl3mdev.h30 u32 (*l3mdev_fib_table)(const struct net_device *dev);
31 struct sk_buff * (*l3mdev_l3_rcv)(struct net_device *dev,
33 struct sk_buff * (*l3mdev_l3_out)(struct net_device *dev,
38 struct dst_entry * (*l3mdev_link_scope_lookup)(const struct net_device *dev,
49 int l3mdev_master_ifindex_rcu(const struct net_device *dev);
50 static inline int l3mdev_master_ifindex(struct net_device *dev) in l3mdev_master_ifindex()
63 struct net_device *dev; in l3mdev_master_ifindex_by_index()
80 struct net_device *l3mdev_master_dev_rcu(const struct net_device *_dev) in l3mdev_master_dev_rcu()
88 struct net_device *dev = (struct net_device *)_dev; in l3mdev_master_dev_rcu()
89 struct net_device *master; in l3mdev_master_dev_rcu()
[all …]
Darp.h12 static inline u32 arp_hashfn(const void *pkey, const struct net_device *dev, u32 *hash_rnd) in arp_hashfn()
20 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
28 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup()
44 struct net_device *dev, __be32 src_ip,
47 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir);
48 void arp_ifdown(struct net_device *dev);
51 struct net_device *dev, __be32 src_ip,
Dieee802154_netdev.h277 int (*get_params)(struct net_device *dev,
279 int (*set_params)(struct net_device *dev,
283 int (*add_key)(struct net_device *dev,
286 int (*del_key)(struct net_device *dev,
289 int (*add_dev)(struct net_device *dev,
291 int (*del_dev)(struct net_device *dev, __le64 dev_addr);
293 int (*add_devkey)(struct net_device *dev,
296 int (*del_devkey)(struct net_device *dev,
300 int (*add_seclevel)(struct net_device *dev,
302 int (*del_seclevel)(struct net_device *dev,
[all …]
Dndisc.h68 struct net_device;
129 struct ndisc_options *ndisc_parse_options(const struct net_device *dev,
197 int (*parse_options)(const struct net_device *dev,
200 void (*update)(const struct net_device *dev, struct neighbour *n,
203 int (*opt_addr_space)(const struct net_device *dev, u8 icmp6_type,
206 void (*fill_addr_option)(const struct net_device *dev,
209 void (*prefix_rcv_add_addr)(struct net *net, struct net_device *dev,
220 static inline int ndisc_ops_is_useropt(const struct net_device *dev, in ndisc_ops_is_useropt()
229 static inline int ndisc_ops_parse_options(const struct net_device *dev, in ndisc_ops_parse_options()
239 static inline void ndisc_ops_update(const struct net_device *dev, in ndisc_ops_update()
[all …]
/include/linux/
Dethtool.h80 struct net_device;
83 u32 ethtool_op_get_link(struct net_device *dev);
84 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *eti);
150 __ethtool_get_link_ksettings(struct net_device *dev,
303 int (*get_settings)(struct net_device *, struct ethtool_cmd *);
304 int (*set_settings)(struct net_device *, struct ethtool_cmd *);
305 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
306 int (*get_regs_len)(struct net_device *);
307 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
308 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
[all …]
Dif_frad.h57 struct net_device *master;
58 struct net_device *slave;
64 void (*receive)(struct sk_buff *skb, struct net_device *);
72 struct net_device *master[CONFIG_DLCI_MAX];
80 int (*activate)(struct net_device *, struct net_device *);
81 int (*deactivate)(struct net_device *, struct net_device *);
82 int (*assoc)(struct net_device *, struct net_device *);
83 int (*deassoc)(struct net_device *, struct net_device *);
84 int (*dlci_conf)(struct net_device *, struct net_device *, int get);
Dhdlc.h23 int (*open)(struct net_device *dev);
24 void (*close)(struct net_device *dev);
25 void (*start)(struct net_device *dev); /* if open & DCD */
26 void (*stop)(struct net_device *dev); /* if open & !DCD */
27 void (*detach)(struct net_device *dev);
28 int (*ioctl)(struct net_device *dev, struct ifreq *ifr);
29 __be16 (*type_trans)(struct sk_buff *skb, struct net_device *dev);
31 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
40 int (*attach)(struct net_device *dev,
44 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
[all …]
Dlapb.h27 void (*connect_confirmation)(struct net_device *dev, int reason);
28 void (*connect_indication)(struct net_device *dev, int reason);
29 void (*disconnect_confirmation)(struct net_device *dev, int reason);
30 void (*disconnect_indication)(struct net_device *dev, int reason);
31 int (*data_indication)(struct net_device *dev, struct sk_buff *skb);
32 void (*data_transmit)(struct net_device *dev, struct sk_buff *skb);
47 extern int lapb_register(struct net_device *dev,
49 extern int lapb_unregister(struct net_device *dev);
50 extern int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms);
51 extern int lapb_setparms(struct net_device *dev, struct lapb_parms_struct *parms);
[all …]
Dnetdevice.h69 void netdev_set_default_ethtool_ops(struct net_device *dev,
265 int (*create) (struct sk_buff *skb, struct net_device *dev,
271 const struct net_device *dev,
322 struct net_device *dev;
566 struct net_device *dev;
687 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id,
699 struct net_device *dev;
781 typedef u16 (*select_queue_fallback_t)(struct net_device *dev,
1139 int (*ndo_init)(struct net_device *dev);
1140 void (*ndo_uninit)(struct net_device *dev);
[all …]
Dhippidevice.h34 __be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev);
35 int hippi_change_mtu(struct net_device *dev, int new_mtu);
36 int hippi_mac_addr(struct net_device *dev, void *p);
37 int hippi_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p);
38 struct net_device *alloc_hippi_dev(int sizeof_priv);
Dof_mdio.h18 extern struct phy_device *of_phy_connect(struct net_device *dev,
20 void (*hndlr)(struct net_device *),
23 of_phy_get_and_connect(struct net_device *dev, struct device_node *np,
24 void (*hndlr)(struct net_device *));
25 struct phy_device *of_phy_attach(struct net_device *dev,
51 static inline struct phy_device *of_phy_connect(struct net_device *dev, in of_phy_connect()
53 void (*hndlr)(struct net_device *), in of_phy_connect() argument
60 of_phy_get_and_connect(struct net_device *dev, struct device_node *np, in of_phy_get_and_connect()
61 void (*hndlr)(struct net_device *)) in of_phy_get_and_connect() argument
66 static inline struct phy_device *of_phy_attach(struct net_device *dev, in of_phy_attach()
Dnetpoll.h24 struct net_device *dev;
50 extern void netpoll_poll_disable(struct net_device *dev);
51 extern void netpoll_poll_enable(struct net_device *dev);
53 static inline void netpoll_poll_disable(struct net_device *dev) { return; } in netpoll_poll_disable()
54 static inline void netpoll_poll_enable(struct net_device *dev) { return; } in netpoll_poll_enable()
60 int __netpoll_setup(struct netpoll *np, struct net_device *ndev);
66 struct net_device *dev);
78 struct net_device *dev = napi->dev; in netpoll_poll_lock()
98 static inline bool netpoll_tx_running(struct net_device *dev) in netpoll_tx_running()
111 static inline void netpoll_netdev_init(struct net_device *dev) in netpoll_netdev_init()
[all …]
Dif_vlan.h76 static inline bool is_vlan_dev(const struct net_device *dev) in is_vlan_dev()
110 extern struct net_device *__vlan_find_dev_deep_rcu(struct net_device *real_dev,
112 extern struct net_device *vlan_dev_real_dev(const struct net_device *dev);
113 extern u16 vlan_dev_vlan_id(const struct net_device *dev);
114 extern __be16 vlan_dev_vlan_proto(const struct net_device *dev);
155 struct net_device *real_dev;
166 static inline struct vlan_dev_priv *vlan_dev_priv(const struct net_device *dev) in vlan_dev_priv()
172 vlan_dev_get_egress_qos_mask(struct net_device *dev, u32 skprio) in vlan_dev_get_egress_qos_mask()
192 extern int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid);
193 extern void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid);
[all …]
Dif_macvlan.h38 struct net_device *dev;
42 struct net_device *lowerdev;
85 extern void macvlan_common_setup(struct net_device *dev);
87 extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev,
94 extern void macvlan_dellink(struct net_device *dev, struct list_head *head);
99 static inline struct net_device *
100 macvlan_dev_real_dev(const struct net_device *dev) in macvlan_dev_real_dev()
107 static inline struct net_device *
108 macvlan_dev_real_dev(const struct net_device *dev) in macvlan_dev_real_dev()
Drtnetlink.h19 void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change, gfp_t flags);
20 struct sk_buff *rtmsg_ifinfo_build_skb(int type, struct net_device *dev,
22 void rtmsg_ifinfo_send(struct sk_buff *skb, struct net_device *dev,
75 static inline struct netdev_queue *dev_ingress_queue(struct net_device *dev) in dev_ingress_queue()
80 struct netdev_queue *dev_ingress_queue_create(struct net_device *dev);
106 struct net_device *dev,
107 struct net_device *filter_dev,
111 struct net_device *dev,
117 struct net_device *dev,
122 struct net_device *dev, u16 mode,
[all …]
Dif_bridge.h58 int br_multicast_list_adjacent(struct net_device *dev,
60 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto);
61 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
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()
Dfddidevice.h28 __be16 fddi_type_trans(struct sk_buff *skb, struct net_device *dev);
29 int fddi_change_mtu(struct net_device *dev, int new_mtu);
30 struct net_device *alloc_fddidev(int sizeof_priv);
/include/linux/can/
Ddev.h35 struct net_device *dev;
53 int (*do_set_bittiming)(struct net_device *dev);
54 int (*do_set_data_bittiming)(struct net_device *dev);
55 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
56 int (*do_get_state)(const struct net_device *dev,
58 int (*do_get_berr_counter)(const struct net_device *dev,
85 static inline bool can_dropped_invalid_skb(struct net_device *dev, in can_dropped_invalid_skb()
116 static inline void can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode()
136 struct net_device *alloc_candev(int sizeof_priv, unsigned int echo_skb_max);
137 void free_candev(struct net_device *dev);
[all …]
Dled.h30 void can_led_event(struct net_device *netdev, enum can_led_event event);
31 void devm_can_led_init(struct net_device *netdev);
37 static inline void can_led_event(struct net_device *netdev, in can_led_event()
41 static inline void devm_can_led_init(struct net_device *netdev) in devm_can_led_init()
/include/net/phonet/
Dpn_dev.h35 struct net_device *netdev;
43 struct net_device *phonet_device_get(struct net *net);
45 int phonet_address_add(struct net_device *dev, u8 addr);
46 int phonet_address_del(struct net_device *dev, u8 addr);
47 u8 phonet_address_get(struct net_device *dev, u8 addr);
49 void phonet_address_notify(int event, struct net_device *dev, u8 addr);
51 int phonet_route_add(struct net_device *dev, u8 daddr);
52 int phonet_route_del(struct net_device *dev, u8 daddr);
53 void rtm_phonet_notify(int event, struct net_device *dev, u8 dst);
54 struct net_device *phonet_route_get_rcu(struct net *net, u8 daddr);
[all …]

123456