/include/net/ |
D | dcbnl.h | 13 struct net_device; 22 int dcb_setapp(struct net_device *, struct dcb_app *); 23 u8 dcb_getapp(struct net_device *, struct dcb_app *); 24 int dcb_ieee_setapp(struct net_device *, struct dcb_app *); 25 int dcb_ieee_delapp(struct net_device *, struct dcb_app *); 26 u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *); 31 void dcb_ieee_getapp_prio_dscp_mask_map(const struct net_device *dev, 37 void dcb_ieee_getapp_dscp_prio_mask_map(const struct net_device *dev, 39 u8 dcb_ieee_getapp_default_prio_mask(const struct net_device *dev); 41 int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd, [all …]
|
D | Space.h | 6 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 *ni65_probe(int unit); 12 struct net_device *sonic_probe(int unit); 13 struct net_device *smc_init(int unit); 14 struct net_device *cs89x0_probe(int unit); 15 struct net_device *tc515_probe(int unit); [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 | 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; 207 struct net_device *dev; 237 struct net_device *dev; 271 static inline struct net_device * [all …]
|
D | rtnetlink.h | 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); 115 const struct net_device *dev); 121 int (*slave_changelink)(struct net_device *dev, [all …]
|
D | cfg80211-wext.h | 20 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 …]
|
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 …]
|
D | arp.h | 13 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() 63 struct net_device *dev, __be32 src_ip, 66 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir); 67 void arp_ifdown(struct net_device *dev); 68 int arp_invalidate(struct net_device *dev, __be32 ip, bool force); 71 struct net_device *dev, __be32 src_ip,
|
D | ncsi.h | 29 struct net_device *dev; 34 int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid); 35 int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid); 36 struct ncsi_dev *ncsi_register_dev(struct net_device *dev, 42 static inline int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_add_vid() 47 static inline int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_kill_vid() 52 static inline struct ncsi_dev *ncsi_register_dev(struct net_device *dev, in ncsi_register_dev()
|
D | udp_tunnel.h | 126 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, 128 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, 133 static inline void udp_tunnel_get_rx_info(struct net_device *dev) in udp_tunnel_get_rx_info() 141 static inline void udp_tunnel_drop_rx_info(struct net_device *dev) in udp_tunnel_drop_rx_info() 157 struct net_device *dev, struct in6_addr *saddr, 221 struct net_device *dev; 256 int (*set_port)(struct net_device *dev, 259 int (*unset_port)(struct net_device *dev, 264 int (*sync_table)(struct net_device *dev, unsigned int table); 287 void (*get_port)(struct net_device *dev, unsigned int table, [all …]
|
D | ndisc.h | 74 struct net_device; 136 struct ndisc_options *ndisc_parse_options(const struct net_device *dev, 204 int (*parse_options)(const struct net_device *dev, 207 void (*update)(const struct net_device *dev, struct neighbour *n, 210 int (*opt_addr_space)(const struct net_device *dev, u8 icmp6_type, 213 void (*fill_addr_option)(const struct net_device *dev, 216 void (*prefix_rcv_add_addr)(struct net *net, struct net_device *dev, 227 static inline int ndisc_ops_is_useropt(const struct net_device *dev, in ndisc_ops_is_useropt() 236 static inline int ndisc_ops_parse_options(const struct net_device *dev, in ndisc_ops_parse_options() 246 static inline void ndisc_ops_update(const struct net_device *dev, in ndisc_ops_update() [all …]
|
/include/linux/ |
D | if_bridge.h | 73 int br_multicast_list_adjacent(struct net_device *dev, 75 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto); 76 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto); 77 bool br_multicast_has_router_adjacent(struct net_device *dev, int proto); 78 bool br_multicast_enabled(const struct net_device *dev); 79 bool br_multicast_router(const struct net_device *dev); 81 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent() 86 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere() 91 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, in br_multicast_has_querier_adjacent() 97 static inline bool br_multicast_has_router_adjacent(struct net_device *dev, in br_multicast_has_router_adjacent() [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 | ethtool.h | 107 struct net_device; 111 u32 ethtool_op_get_link(struct net_device *dev); 112 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *eti); 201 __ethtool_get_link_ksettings(struct net_device *dev, 645 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *); 646 int (*get_regs_len)(struct net_device *); 647 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *); 648 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *); 649 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *); 650 u32 (*get_msglevel)(struct net_device *); [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 …]
|
D | netdevice.h | 80 void netdev_set_default_ethtool_ops(struct net_device *dev, 305 int (*create) (struct sk_buff *skb, struct net_device *dev, 311 const struct net_device *dev, 365 struct net_device *dev; 531 int dev_set_threaded(struct net_device *dev, bool threaded); 617 struct net_device *dev; 636 struct net_device *sb_dev; 783 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id, 796 struct net_device *dev; 909 typedef u16 (*select_queue_fallback_t)(struct net_device *dev, [all …]
|
D | if_macvlan.h | 19 struct net_device *dev; 23 struct net_device *lowerdev; 60 extern void macvlan_common_setup(struct net_device *dev); 62 extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev, 66 extern void macvlan_dellink(struct net_device *dev, struct list_head *head); 71 static inline struct net_device * 72 macvlan_dev_real_dev(const struct net_device *dev) in macvlan_dev_real_dev() 79 static inline struct net_device * 80 macvlan_dev_real_dev(const struct net_device *dev) in macvlan_dev_real_dev() 87 static inline void *macvlan_accel_priv(struct net_device *dev) in macvlan_accel_priv() [all …]
|
D | hippidevice.h | 27 struct net_device; 34 __be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev); 35 int hippi_mac_addr(struct net_device *dev, void *p); 36 int hippi_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p); 37 struct net_device *alloc_hippi_dev(int sizeof_priv);
|
D | rtnetlink.h | 21 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); 116 struct net_device *dev, 117 struct net_device *filter_dev, 121 struct net_device *dev, [all …]
|
D | netpoll.h | 26 struct net_device *dev; 51 void netpoll_poll_dev(struct net_device *dev); 52 void netpoll_poll_disable(struct net_device *dev); 53 void netpoll_poll_enable(struct net_device *dev); 55 static inline void netpoll_poll_disable(struct net_device *dev) { return; } in netpoll_poll_disable() 56 static inline void netpoll_poll_enable(struct net_device *dev) { return; } in netpoll_poll_enable() 62 int __netpoll_setup(struct netpoll *np, struct net_device *ndev); 72 struct net_device *dev = napi->dev; in netpoll_poll_lock() 93 static inline bool netpoll_tx_running(struct net_device *dev) in netpoll_tx_running() 106 static inline bool netpoll_tx_running(struct net_device *dev) in netpoll_tx_running()
|
D | if_hsr.h | 7 struct net_device; 33 extern bool is_hsr_master(struct net_device *dev); 34 extern int hsr_get_version(struct net_device *dev, enum hsr_version *ver); 36 static inline bool is_hsr_master(struct net_device *dev) in is_hsr_master() 40 static inline int hsr_get_version(struct net_device *dev, in hsr_get_version()
|
D | if_vlan.h | 82 static inline bool is_vlan_dev(const struct net_device *dev) in is_vlan_dev() 93 static inline int vlan_get_rx_ctag_filter_info(struct net_device *dev) in vlan_get_rx_ctag_filter_info() 99 static inline void vlan_drop_rx_ctag_filter_info(struct net_device *dev) in vlan_drop_rx_ctag_filter_info() 105 static inline int vlan_get_rx_stag_filter_info(struct net_device *dev) in vlan_get_rx_stag_filter_info() 111 static inline void vlan_drop_rx_stag_filter_info(struct net_device *dev) in vlan_drop_rx_stag_filter_info() 141 extern struct net_device *__vlan_find_dev_deep_rcu(struct net_device *real_dev, 143 extern int vlan_for_each(struct net_device *dev, 144 int (*action)(struct net_device *dev, int vid, 146 extern struct net_device *vlan_dev_real_dev(const struct net_device *dev); 147 extern u16 vlan_dev_vlan_id(const struct net_device *dev); [all …]
|
D | of_net.h | 14 struct net_device; 17 int of_get_ethdev_address(struct device_node *np, struct net_device *dev); 18 extern struct net_device *of_find_net_device_by_node(struct device_node *np); 31 static inline int of_get_ethdev_address(struct device_node *np, struct net_device *dev) in of_get_ethdev_address() 36 static inline struct net_device *of_find_net_device_by_node(struct device_node *np) in of_find_net_device_by_node()
|
/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 …]
|
/include/net/phonet/ |
D | pn_dev.h | 27 struct net_device *netdev; 35 struct net_device *phonet_device_get(struct net *net); 37 int phonet_address_add(struct net_device *dev, u8 addr); 38 int phonet_address_del(struct net_device *dev, u8 addr); 39 u8 phonet_address_get(struct net_device *dev, u8 addr); 41 void phonet_address_notify(int event, struct net_device *dev, u8 addr); 43 int phonet_route_add(struct net_device *dev, u8 daddr); 44 int phonet_route_del(struct net_device *dev, u8 daddr); 45 void rtm_phonet_notify(int event, struct net_device *dev, u8 dst); 46 struct net_device *phonet_route_get_rcu(struct net *net, u8 daddr); [all …]
|