Home
last modified time | relevance | path

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

12345678910>>...19

/net/8021q/
Dvlan.h25 struct net_device **vlan_devices_arrays[VLAN_PROTO_NUM]
30 struct net_device *real_dev; /* The ethernet(like) device
52 static inline struct net_device *__vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device()
56 struct net_device **array; in __vlan_group_get_device()
63 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device()
77 struct net_device *dev) in vlan_group_set_device()
80 struct net_device **array; in vlan_group_set_device()
90 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev()
102 static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev) in vlan_tnl_features()
123 void vlan_dev_set_ingress_priority(const struct net_device *dev,
[all …]
Dvlan_dev.c44 static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, in vlan_dev_hard_header()
99 struct net_device *dev) in vlan_dev_hard_start_xmit()
141 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) in vlan_dev_change_mtu()
143 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; in vlan_dev_change_mtu()
156 void vlan_dev_set_ingress_priority(const struct net_device *dev, in vlan_dev_set_ingress_priority()
169 int vlan_dev_set_egress_priority(const struct net_device *dev, in vlan_dev_set_egress_priority()
214 int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask) in vlan_dev_change_flags()
242 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result) in vlan_dev_get_realdev_name()
247 bool vlan_dev_inherit_address(struct net_device *dev, in vlan_dev_inherit_address()
248 struct net_device *real_dev) in vlan_dev_inherit_address()
[all …]
Dvlan_core.c14 struct net_device *vlan_dev; in vlan_do_receive()
75 struct net_device *__vlan_find_dev_deep_rcu(struct net_device *dev, in __vlan_find_dev_deep_rcu()
89 struct net_device *upper_dev; in __vlan_find_dev_deep_rcu()
101 struct net_device *vlan_dev_real_dev(const struct net_device *dev) in vlan_dev_real_dev()
103 struct net_device *ret = vlan_dev_priv(dev)->real_dev; in vlan_dev_real_dev()
112 u16 vlan_dev_vlan_id(const struct net_device *dev) in vlan_dev_vlan_id()
118 __be16 vlan_dev_vlan_proto(const struct net_device *dev) in vlan_dev_vlan_proto()
148 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc()
168 static bool vlan_hw_filter_capable(const struct net_device *dev, __be16 proto) in vlan_hw_filter_capable()
204 static int vlan_add_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_add_rx_filter_info()
[all …]
/net/switchdev/
Dswitchdev.c25 typedef void switchdev_deferred_func_t(struct net_device *dev,
30 struct net_device *dev;
81 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
102 struct net_device *dev, in switchdev_port_attr_notify()
129 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
162 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
176 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
196 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
222 struct net_device *dev, in switchdev_port_obj_notify()
247 static int switchdev_port_obj_add_now(struct net_device *dev, in switchdev_port_obj_add_now()
[all …]
/net/mac802154/
Dieee802154_i.h81 struct net_device *dev;
104 IEEE802154_DEV_TO_SUB_IF(const struct net_device *dev) in IEEE802154_DEV_TO_SUB_IF()
126 ieee802154_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev);
128 ieee802154_subif_start_xmit(struct sk_buff *skb, struct net_device *dev);
132 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan);
134 int mac802154_get_params(struct net_device *dev,
136 int mac802154_set_params(struct net_device *dev,
140 int mac802154_add_key(struct net_device *dev,
143 int mac802154_del_key(struct net_device *dev,
146 int mac802154_add_dev(struct net_device *dev,
[all …]
Dmib.c21 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan) in mac802154_dev_set_page_channel()
40 int mac802154_get_params(struct net_device *dev, in mac802154_get_params()
55 int mac802154_set_params(struct net_device *dev, in mac802154_set_params()
71 int mac802154_add_key(struct net_device *dev, in mac802154_add_key()
87 int mac802154_del_key(struct net_device *dev, in mac802154_del_key()
102 int mac802154_add_dev(struct net_device *dev, in mac802154_add_dev()
117 int mac802154_del_dev(struct net_device *dev, __le64 dev_addr) in mac802154_del_dev()
131 int mac802154_add_devkey(struct net_device *dev, in mac802154_add_devkey()
147 int mac802154_del_devkey(struct net_device *dev, in mac802154_del_devkey()
163 int mac802154_add_seclevel(struct net_device *dev, in mac802154_add_seclevel()
[all …]
/net/wireless/
Dwext-compat.h14 int cfg80211_ibss_wext_siwfreq(struct net_device *dev,
17 int cfg80211_ibss_wext_giwfreq(struct net_device *dev,
20 int cfg80211_ibss_wext_siwap(struct net_device *dev,
23 int cfg80211_ibss_wext_giwap(struct net_device *dev,
26 int cfg80211_ibss_wext_siwessid(struct net_device *dev,
29 int cfg80211_ibss_wext_giwessid(struct net_device *dev,
33 int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
36 int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
39 int cfg80211_mgd_wext_siwap(struct net_device *dev,
42 int cfg80211_mgd_wext_giwap(struct net_device *dev,
[all …]
Drdev-ops.h64 struct net_device *dev, enum nl80211_iftype type, in rdev_change_virtual_intf()
75 struct net_device *netdev, u8 key_index, in rdev_add_key()
89 rdev_get_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, in rdev_get_key()
102 struct net_device *netdev, u8 key_index, in rdev_del_key()
115 struct net_device *netdev, u8 key_index, bool unicast, in rdev_set_default_key()
129 struct net_device *netdev, u8 key_index) in rdev_set_default_mgmt_key()
141 struct net_device *netdev, u8 key_index) in rdev_set_default_beacon_key()
153 struct net_device *dev, in rdev_start_ap()
164 struct net_device *dev, in rdev_change_beacon()
175 struct net_device *dev) in rdev_stop_ap()
[all …]
Dnl80211.h63 struct net_device *netdev,
66 struct net_device *netdev,
71 struct net_device *netdev,
74 struct net_device *netdev,
77 struct net_device *netdev,
80 struct net_device *netdev,
83 struct net_device *netdev,
87 struct net_device *netdev,
90 struct net_device *netdev, const u8 *bssid);
92 struct net_device *netdev, u16 reason,
[all …]
Dcore.h316 struct net_device *dev,
319 void cfg80211_clear_ibss(struct net_device *dev, bool nowext);
321 struct net_device *dev, bool nowext);
323 struct net_device *dev, bool nowext);
324 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
333 struct net_device *dev,
337 struct net_device *dev);
339 struct net_device *dev);
346 struct net_device *dev,
349 struct net_device *dev,
[all …]
/net/batman-adv/
Ddebugfs.c62 struct net_device *net_dev = (struct net_device *)inode->i_private; in neighbors_open()
71 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_open()
89 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_hardif_open()
98 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_gateways_open()
107 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_transtable_global_open()
117 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_bla_claim_table_open()
128 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_bla_backbone_table_open()
148 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_dat_cache_open()
158 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_transtable_local_open()
173 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_nc_nodes_open()
[all …]
Dhard-interface.c66 batadv_hardif_get_by_netdev(const struct net_device *net_dev) in batadv_hardif_get_by_netdev()
91 static struct net *batadv_getlink_net(const struct net_device *netdev, in batadv_getlink_net()
114 static bool batadv_mutual_parents(const struct net_device *dev1, in batadv_mutual_parents()
116 const struct net_device *dev2, in batadv_mutual_parents()
149 static bool batadv_is_on_batman_iface(const struct net_device *net_dev) in batadv_is_on_batman_iface()
152 struct net_device *parent_dev; in batadv_is_on_batman_iface()
187 static bool batadv_is_valid_iface(const struct net_device *net_dev) in batadv_is_valid_iface()
216 static struct net_device *batadv_get_real_netdevice(struct net_device *netdev) in batadv_get_real_netdevice()
219 struct net_device *real_netdev = NULL; in batadv_get_real_netdevice()
265 struct net_device *batadv_get_real_netdev(struct net_device *net_device) in batadv_get_real_netdev() argument
[all …]
Dsysfs.h49 int batadv_sysfs_add_meshif(struct net_device *dev);
50 void batadv_sysfs_del_meshif(struct net_device *dev);
52 struct net_device *dev);
54 int batadv_sysfs_add_vlan(struct net_device *dev,
61 static inline int batadv_sysfs_add_meshif(struct net_device *dev) in batadv_sysfs_add_meshif()
66 static inline void batadv_sysfs_del_meshif(struct net_device *dev) in batadv_sysfs_del_meshif()
71 struct net_device *dev) in batadv_sysfs_add_hardif()
80 static inline int batadv_sysfs_add_vlan(struct net_device *dev, in batadv_sysfs_add_vlan()
Dsoft-interface.c83 static int batadv_interface_open(struct net_device *dev) in batadv_interface_open()
89 static int batadv_interface_release(struct net_device *dev) in batadv_interface_release()
115 static struct net_device_stats *batadv_interface_stats(struct net_device *dev) in batadv_interface_stats()
128 static int batadv_interface_set_mac_addr(struct net_device *dev, void *p) in batadv_interface_set_mac_addr()
157 static int batadv_interface_change_mtu(struct net_device *dev, int new_mtu) in batadv_interface_change_mtu()
179 static void batadv_interface_set_rx_mode(struct net_device *dev) in batadv_interface_set_rx_mode()
184 struct net_device *soft_iface) in batadv_interface_tx()
424 void batadv_interface_rx(struct net_device *soft_iface, in batadv_interface_rx()
652 static int batadv_interface_add_vid(struct net_device *dev, __be16 proto, in batadv_interface_add_vid()
711 static int batadv_interface_kill_vid(struct net_device *dev, __be16 proto, in batadv_interface_kill_vid()
[all …]
/net/core/
Ddev_addr_lists.c238 struct net_device *dev, in __hw_addr_sync_dev()
239 int (*sync)(struct net_device *, const unsigned char *), in __hw_addr_sync_dev() argument
240 int (*unsync)(struct net_device *, in __hw_addr_sync_dev() argument
293 struct net_device *dev, in __hw_addr_ref_sync_dev()
294 int (*sync)(struct net_device *, in __hw_addr_ref_sync_dev() argument
296 int (*unsync)(struct net_device *, in __hw_addr_ref_sync_dev() argument
352 struct net_device *dev, in __hw_addr_ref_unsync_dev()
353 int (*unsync)(struct net_device *, in __hw_addr_ref_unsync_dev() argument
386 struct net_device *dev, in __hw_addr_unsync_dev()
387 int (*unsync)(struct net_device *, in __hw_addr_unsync_dev() argument
[all …]
Ddev.c168 struct net_device *dev,
236 static struct netdev_name_node *netdev_name_node_alloc(struct net_device *dev, in netdev_name_node_alloc()
251 netdev_name_node_head_alloc(struct net_device *dev) in netdev_name_node_head_alloc()
303 int netdev_name_node_alt_create(struct net_device *dev, const char *name) in netdev_name_node_alt_create()
330 int netdev_name_node_alt_destroy(struct net_device *dev, const char *name) in netdev_name_node_alt_destroy()
350 static void netdev_name_node_alt_flush(struct net_device *dev) in netdev_name_node_alt_flush()
359 static void list_netdevice(struct net_device *dev) in list_netdevice()
378 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice()
469 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
484 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
[all …]
Dfailover.c20 static struct net_device *failover_get_bymac(u8 *mac, struct failover_ops **ops) in failover_get_bymac()
22 struct net_device *failover_dev; in failover_get_bymac()
46 static int failover_slave_register(struct net_device *slave_dev) in failover_slave_register()
49 struct net_device *failover_dev; in failover_slave_register()
104 int failover_slave_unregister(struct net_device *slave_dev) in failover_slave_unregister()
106 struct net_device *failover_dev; in failover_slave_unregister()
135 static int failover_slave_link_change(struct net_device *slave_dev) in failover_slave_link_change()
137 struct net_device *failover_dev; in failover_slave_link_change()
160 static int failover_slave_name_change(struct net_device *slave_dev) in failover_slave_name_change()
162 struct net_device *failover_dev; in failover_slave_name_change()
[all …]
Dnet-sysfs.c35 static inline int dev_isalive(const struct net_device *dev) in dev_isalive()
43 ssize_t (*format)(const struct net_device *, char *)) in netdev_show() argument
45 struct net_device *ndev = to_net_dev(dev); in netdev_show()
58 static ssize_t format_##field(const struct net_device *dev, char *buf) \
79 int (*set)(struct net_device *, unsigned long)) in netdev_store() argument
81 struct net_device *netdev = to_net_dev(dev); in netdev_store()
117 struct net_device *ndev = to_net_dev(dev); in iflink_show()
123 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
132 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show()
146 struct net_device *ndev = to_net_dev(dev); in address_show()
[all …]
/net/dsa/
Ddsa_priv.h38 struct net_device *br;
79 struct net_device *dev);
104 struct net_device *dev,
109 struct net_device *dev,
113 int dsa_master_setup(struct net_device *dev, struct dsa_port *cpu_dp);
114 void dsa_master_teardown(struct net_device *dev);
116 static inline struct net_device *dsa_master_find_slave(struct net_device *dev, in dsa_master_find_slave()
138 int dsa_port_bridge_join(struct dsa_port *dp, struct net_device *br);
139 void dsa_port_bridge_leave(struct dsa_port *dp, struct net_device *br);
176 void dsa_slave_destroy(struct net_device *slave_dev);
[all …]
Dslave.c60 static int dsa_slave_get_iflink(const struct net_device *dev) in dsa_slave_get_iflink()
65 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open()
67 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_open()
110 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close()
112 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_close()
130 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags()
132 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_change_rx_flags()
143 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode()
145 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_set_rx_mode()
151 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) in dsa_slave_set_mac_address()
[all …]
/net/bridge/
Dbr_device.c28 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit()
112 static void br_set_lockdep_class(struct net_device *dev) in br_set_lockdep_class()
117 static int br_dev_init(struct net_device *dev) in br_dev_init()
159 static void br_dev_uninit(struct net_device *dev) in br_dev_uninit()
171 static int br_dev_open(struct net_device *dev) in br_dev_open()
186 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list()
190 static void br_dev_change_rx_flags(struct net_device *dev, int change) in br_dev_change_rx_flags()
196 static int br_dev_stop(struct net_device *dev) in br_dev_stop()
211 static void br_get_stats64(struct net_device *dev, in br_get_stats64()
220 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu()
[all …]
Dbr_private.h285 struct net_device *dev;
347 static inline struct net_bridge_port *br_port_get_rcu(const struct net_device *dev) in br_port_get_rcu()
352 static inline struct net_bridge_port *br_port_get_rtnl(const struct net_device *dev) in br_port_get_rtnl()
358 static inline struct net_bridge_port *br_port_get_rtnl_rcu(const struct net_device *dev) in br_port_get_rtnl_rcu()
387 struct net_device *dev;
489 struct net_device *brdev;
645 void br_dev_setup(struct net_device *dev);
646 void br_dev_delete(struct net_device *dev, struct list_head *list);
647 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev);
690 int br_fdb_test_addr(struct net_device *dev, unsigned char *addr);
[all …]
/net/phonet/
Dpn_dev.c26 struct net_device __rcu *table[64];
48 static struct phonet_device *__phonet_device_alloc(struct net_device *dev) in __phonet_device_alloc()
62 static struct phonet_device *__phonet_get(struct net_device *dev) in __phonet_get()
75 static struct phonet_device *__phonet_get_rcu(struct net_device *dev) in __phonet_get_rcu()
87 static void phonet_device_destroy(struct net_device *dev) in phonet_device_destroy()
109 struct net_device *phonet_device_get(struct net *net) in phonet_device_get()
113 struct net_device *dev = NULL; in phonet_device_get()
131 int phonet_address_add(struct net_device *dev, u8 addr) in phonet_address_add()
150 int phonet_address_del(struct net_device *dev, u8 addr) in phonet_address_del()
174 u8 phonet_address_get(struct net_device *dev, u8 daddr) in phonet_address_get()
[all …]
/net/l3mdev/
Dl3mdev.c110 int l3mdev_master_ifindex_rcu(const struct net_device *dev) in l3mdev_master_ifindex_rcu()
120 struct net_device *master; in l3mdev_master_ifindex_rcu()
121 struct net_device *_dev = (struct net_device *)dev; in l3mdev_master_ifindex_rcu()
146 struct net_device *dev; in l3mdev_master_upper_ifindex_by_index_rcu()
162 u32 l3mdev_fib_table_rcu(const struct net_device *dev) in l3mdev_fib_table_rcu()
176 struct net_device *_dev = (struct net_device *) dev; in l3mdev_fib_table_rcu()
177 const struct net_device *master; in l3mdev_fib_table_rcu()
191 struct net_device *dev; in l3mdev_fib_table_by_index()
222 struct net_device *dev; in l3mdev_link_scope_lookup()
249 struct net_device *dev; in l3mdev_fib_rule_match()
[all …]
/net/ieee802154/6lowpan/
Dcore.c61 static int lowpan_dev_init(struct net_device *ldev) in lowpan_dev_init()
68 static int lowpan_open(struct net_device *dev) in lowpan_open()
76 static int lowpan_stop(struct net_device *dev) in lowpan_stop()
84 static int lowpan_neigh_construct(struct net_device *dev, struct neighbour *n) in lowpan_neigh_construct()
93 static int lowpan_get_iflink(const struct net_device *dev) in lowpan_get_iflink()
107 static void lowpan_setup(struct net_device *ldev) in lowpan_setup()
131 static int lowpan_newlink(struct net *src_net, struct net_device *ldev, in lowpan_newlink()
135 struct net_device *wdev; in lowpan_newlink()
183 static void lowpan_dellink(struct net_device *ldev, struct list_head *head) in lowpan_dellink()
185 struct net_device *wdev = lowpan_802154_dev(ldev)->wdev; in lowpan_dellink()
[all …]

12345678910>>...19