Home
last modified time | relevance | path

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

123456

/include/net/
Ddcbnl.h32 int dcb_setapp(struct net_device *, struct dcb_app *);
33 u8 dcb_getapp(struct net_device *, struct dcb_app *);
34 int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
35 int dcb_ieee_delapp(struct net_device *, struct dcb_app *);
36 u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *);
38 int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd,
40 int dcbnl_cee_notify(struct net_device *dev, int event, int cmd,
49 int (*ieee_getets) (struct net_device *, struct ieee_ets *);
50 int (*ieee_setets) (struct net_device *, struct ieee_ets *);
51 int (*ieee_getpfc) (struct net_device *, struct ieee_pfc *);
[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 …]
Dnl802154.h24 struct net_device;
39 int ieee802154_nl_assoc_indic(struct net_device *dev,
54 int ieee802154_nl_assoc_confirm(struct net_device *dev,
67 int ieee802154_nl_disassoc_indic(struct net_device *dev,
82 int ieee802154_nl_disassoc_confirm(struct net_device *dev,
97 int ieee802154_nl_scan_confirm(struct net_device *dev,
114 int ieee802154_nl_beacon_indic(struct net_device *dev, u16 panid,
124 int ieee802154_nl_start_confirm(struct net_device *dev, u8 status);
Drtnetlink.h54 void (*setup)(struct net_device *dev);
62 struct net_device *dev,
65 int (*changelink)(struct net_device *dev,
68 void (*dellink)(struct net_device *dev,
71 size_t (*get_size)(const struct net_device *dev);
73 const struct net_device *dev);
75 size_t (*get_xstats_size)(const struct net_device *dev);
77 const struct net_device *dev);
108 const struct net_device *dev);
109 size_t (*get_link_af_size)(const struct net_device *dev);
[all …]
Dieee802154_netdev.h85 int (*assoc_req)(struct net_device *dev,
88 int (*assoc_resp)(struct net_device *dev,
91 int (*disassoc_req)(struct net_device *dev,
94 int (*start_req)(struct net_device *dev,
98 int (*scan_req)(struct net_device *dev,
101 struct wpan_phy *(*get_phy)(const struct net_device *dev);
107 u16 (*get_pan_id)(const struct net_device *dev);
108 u16 (*get_short_addr)(const struct net_device *dev);
109 u8 (*get_dsn)(const struct net_device *dev);
110 u8 (*get_bsn)(const struct net_device *dev);
[all …]
Dcfg80211.h484 struct net_device *vlan;
926 struct net_device *dev;
973 struct net_device *dev;
1511 struct net_device * (*add_virtual_intf)(struct wiphy *wiphy,
1516 int (*del_virtual_intf)(struct wiphy *wiphy, struct net_device *dev);
1518 struct net_device *dev,
1522 int (*add_key)(struct wiphy *wiphy, struct net_device *netdev,
1525 int (*get_key)(struct wiphy *wiphy, struct net_device *netdev,
1529 int (*del_key)(struct wiphy *wiphy, struct net_device *netdev,
1532 struct net_device *netdev,
[all …]
Darp.h11 static inline u32 arp_hashfn(u32 key, const struct net_device *dev, u32 hash_rnd) in arp_hashfn()
18 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup()
45 struct net_device *dev, __be32 src_ip,
48 extern int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir);
49 extern void arp_ifdown(struct net_device *dev);
52 struct net_device *dev, __be32 src_ip,
57 int arp_invalidate(struct net_device *dev, __be32 ip);
Dwext.h14 extern struct iw_statistics *get_wireless_stats(struct net_device *dev);
15 extern int call_commit_handler(struct net_device *dev);
44 int ioctl_private_call(struct net_device *dev, struct iwreq *iwr,
47 int compat_private_call(struct net_device *dev, struct iwreq *iwr,
50 int iw_handler_get_private(struct net_device * dev,
Daddrconf.h63 struct net_device *dev,
72 struct net_device *dev);
76 struct net_device *dev,
80 struct net_device *dev,
87 extern int ipv6_get_lladdr(struct net_device *dev,
92 extern void addrconf_join_solict(struct net_device *dev,
141 extern int ipv6_dev_mc_inc(struct net_device *dev, const struct in6_addr *addr);
143 extern int ipv6_dev_mc_dec(struct net_device *dev, const struct in6_addr *addr);
152 extern int ipv6_chk_mcast_addr(struct net_device *dev,
157 extern void addrconf_prefix_rcv(struct net_device *dev,
[all …]
/include/linux/can/
Ddev.h46 int (*do_set_bittiming)(struct net_device *dev);
47 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
48 int (*do_get_state)(const struct net_device *dev,
50 int (*do_get_berr_counter)(const struct net_device *dev,
67 static inline int can_dropped_invalid_skb(struct net_device *dev, in can_dropped_invalid_skb()
81 struct net_device *alloc_candev(int sizeof_priv, unsigned int echo_skb_max);
82 void free_candev(struct net_device *dev);
84 int open_candev(struct net_device *dev);
85 void close_candev(struct net_device *dev);
87 int register_candev(struct net_device *dev);
[all …]
/include/linux/
Dhdlc.h33 int (*open)(struct net_device *dev);
34 void (*close)(struct net_device *dev);
35 void (*start)(struct net_device *dev); /* if open & DCD */
36 void (*stop)(struct net_device *dev); /* if open & !DCD */
37 void (*detach)(struct net_device *dev);
38 int (*ioctl)(struct net_device *dev, struct ifreq *ifr);
39 __be16 (*type_trans)(struct sk_buff *skb, struct net_device *dev);
41 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
50 int (*attach)(struct net_device *dev,
54 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.h289 int (*create) (struct sk_buff *skb, struct net_device *dev,
296 const struct net_device *dev,
348 struct net_device *dev;
543 struct net_device *dev;
664 extern bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index,
673 struct net_device *dev;
910 int (*ndo_init)(struct net_device *dev);
911 void (*ndo_uninit)(struct net_device *dev);
912 int (*ndo_open)(struct net_device *dev);
913 int (*ndo_stop)(struct net_device *dev);
[all …]
Dif_frad.h151 struct net_device *master;
152 struct net_device *slave;
158 void (*receive)(struct sk_buff *skb, struct net_device *);
166 struct net_device *master[CONFIG_DLCI_MAX];
174 int (*activate)(struct net_device *, struct net_device *);
175 int (*deactivate)(struct net_device *, struct net_device *);
176 int (*assoc)(struct net_device *, struct net_device *);
177 int (*deassoc)(struct net_device *, struct net_device *);
178 int (*dlci_conf)(struct net_device *, struct net_device *, int get);
Dif_vlan.h79 static inline int is_vlan_dev(struct net_device *dev) in is_vlan_dev()
91 extern struct net_device *__vlan_find_dev_deep(struct net_device *real_dev,
93 extern struct net_device *vlan_dev_real_dev(const struct net_device *dev);
94 extern u16 vlan_dev_vlan_id(const struct net_device *dev);
99 extern int vlan_vid_add(struct net_device *dev, unsigned short vid);
100 extern void vlan_vid_del(struct net_device *dev, unsigned short vid);
102 extern int vlan_vids_add_by_dev(struct net_device *dev,
103 const struct net_device *by_dev);
104 extern void vlan_vids_del_by_dev(struct net_device *dev,
105 const struct net_device *by_dev);
[all …]
Dhippidevice.h34 extern __be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev);
35 extern int hippi_change_mtu(struct net_device *dev, int new_mtu);
36 extern int hippi_mac_addr(struct net_device *dev, void *p);
37 extern int hippi_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p);
38 extern struct net_device *alloc_hippi_dev(int sizeof_priv);
Dethtool.h768 extern int __ethtool_get_settings(struct net_device *dev,
787 struct net_device;
790 u32 ethtool_op_get_link(struct net_device *dev);
907 int (*get_settings)(struct net_device *, struct ethtool_cmd *);
908 int (*set_settings)(struct net_device *, struct ethtool_cmd *);
909 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
910 int (*get_regs_len)(struct net_device *);
911 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
912 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
913 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
[all …]
Darcdevice.h196 void (*rx) (struct net_device * dev, int bufnum,
198 int (*build_header) (struct sk_buff * skb, struct net_device *dev,
202 int (*prepare_tx) (struct net_device * dev, struct archdr * pkt, int length,
204 int (*continue_tx) (struct net_device * dev, int bufnum);
205 int (*ack_tx) (struct net_device * dev, int acked);
305 void (*command) (struct net_device * dev, int cmd);
306 int (*status) (struct net_device * dev);
307 void (*intmask) (struct net_device * dev, int mask);
308 bool (*reset) (struct net_device * dev, bool really_reset);
309 void (*open) (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 *),
21 extern struct phy_device *of_phy_connect_fixed_link(struct net_device *dev,
22 void (*hndlr)(struct net_device *),
Dif_macvlan.h56 struct net_device *dev;
60 struct net_device *lowerdev;
64 int (*forward)(struct net_device *dev, struct sk_buff *skb);
89 extern void macvlan_common_setup(struct net_device *dev);
91 extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev,
94 int (*forward)(struct net_device *dev,
101 extern void macvlan_dellink(struct net_device *dev, struct list_head *head);
106 struct net_device *dev);
Dfddidevice.h29 struct net_device *dev);
30 extern int fddi_change_mtu(struct net_device *dev, int new_mtu);
31 extern struct net_device *alloc_fddidev(int sizeof_priv);
Dtrdevice.h31 extern __be16 tr_type_trans(struct sk_buff *skb, struct net_device *dev);
32 extern void tr_source_route(struct sk_buff *skb, struct trh_hdr *trh, struct net_device *dev);
33 extern struct net_device *alloc_trdev(int sizeof_priv);
/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 …]
/include/linux/usb/
Dusbnet.h44 struct net_device *net;
205 extern int usbnet_open(struct net_device *net);
206 extern int usbnet_stop(struct net_device *net);
208 struct net_device *net);
209 extern void usbnet_tx_timeout(struct net_device *net);
210 extern int usbnet_change_mtu(struct net_device *net, int new_mtu);
222 extern int usbnet_get_settings(struct net_device *net,
224 extern int usbnet_set_settings(struct net_device *net,
226 extern u32 usbnet_get_link(struct net_device *net);
227 extern u32 usbnet_get_msglevel(struct net_device *);
[all …]
/include/net/irda/
Dirda_device.h112 struct net_device *dev; /* Device we are attached to */
118 int (*set_mode)(struct net_device *, int mode);
119 int (*read)(struct net_device *dev, __u8 *buf, int len);
120 int (*write)(struct net_device *dev, __u8 *buf, int len);
121 int (*set_dtr_rts)(struct net_device *dev, int dtr, int rts);
216 struct irlap_cb *irlap_open(struct net_device *dev, struct qos_info *qos,
221 void irda_device_set_media_busy(struct net_device *dev, int status);
222 int irda_device_is_media_busy(struct net_device *dev);
223 int irda_device_is_receiving(struct net_device *dev);
226 static inline int irda_device_txqueue_empty(const struct net_device *dev) in irda_device_txqueue_empty()
[all …]

123456