Home
last modified time | relevance | path

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

12345678910>>...19

/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()
128 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
136 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
150 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
167 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
194 struct net_device *dev, in switchdev_port_obj_notify()
217 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred()
[all …]
/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()
67 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device()
81 struct net_device *dev) in vlan_group_set_device()
84 struct net_device **array; in vlan_group_set_device()
94 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev()
106 static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev) in vlan_tnl_features()
128 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, size_t size) 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.c15 struct net_device *vlan_dev; in vlan_do_receive()
76 struct net_device *__vlan_find_dev_deep_rcu(struct net_device *dev, in __vlan_find_dev_deep_rcu()
90 struct net_device *upper_dev; in __vlan_find_dev_deep_rcu()
102 struct net_device *vlan_dev_real_dev(const struct net_device *dev) in vlan_dev_real_dev()
104 struct net_device *ret = vlan_dev_priv(dev)->real_dev; in vlan_dev_real_dev()
113 u16 vlan_dev_vlan_id(const struct net_device *dev) in vlan_dev_vlan_id()
119 __be16 vlan_dev_vlan_proto(const struct net_device *dev) in vlan_dev_vlan_proto()
149 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc()
169 static bool vlan_hw_filter_capable(const struct net_device *dev, __be16 proto) in vlan_hw_filter_capable()
205 static int vlan_add_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_add_rx_filter_info()
[all …]
/net/dsa/
Ddsa_priv.h55 struct net_device *br;
78 struct net_device *lag;
131 struct net_device *dev;
144 struct net_device *hsr;
152 struct net_device *dev);
182 int dsa_master_setup(struct net_device *dev, struct dsa_port *cpu_dp);
183 void dsa_master_teardown(struct net_device *dev);
185 static inline struct net_device *dsa_master_find_slave(struct net_device *dev, in dsa_master_find_slave()
209 int dsa_port_bridge_join(struct dsa_port *dp, struct net_device *br,
211 void dsa_port_pre_bridge_leave(struct dsa_port *dp, struct net_device *br);
[all …]
Dslave.c61 static int dsa_slave_get_iflink(const struct net_device *dev) in dsa_slave_get_iflink()
66 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open()
68 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_open()
114 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close()
116 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_close()
134 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags()
136 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_change_rx_flags()
147 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode()
149 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_set_rx_mode()
155 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) in dsa_slave_set_mac_address()
[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 …]
Dcfg.c17 static struct net_device *
23 struct net_device *dev; in ieee802154_add_iface_deprecated()
34 struct net_device *dev) in ieee802154_del_iface_deprecated()
90 struct net_device *err; in ieee802154_add_iface()
269 struct net_device *dev = wpan_dev->netdev; in ieee802154_get_llsec_table()
279 struct net_device *dev = wpan_dev->netdev; in ieee802154_lock_llsec_table()
289 struct net_device *dev = wpan_dev->netdev; in ieee802154_unlock_llsec_table()
301 struct net_device *dev = wpan_dev->netdev; in ieee802154_set_llsec_params()
317 struct net_device *dev = wpan_dev->netdev; in ieee802154_get_llsec_params()
333 struct net_device *dev = wpan_dev->netdev; in ieee802154_add_llsec_key()
[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.h69 struct net_device *dev, enum nl80211_iftype type, in rdev_change_virtual_intf()
80 struct net_device *netdev, int link_id, in rdev_add_key()
94 rdev_get_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, in rdev_get_key()
109 struct net_device *netdev, int link_id, in rdev_del_key()
123 struct net_device *netdev, int link_id, u8 key_index, in rdev_set_default_key()
137 struct net_device *netdev, int link_id, u8 key_index) in rdev_set_default_mgmt_key()
150 struct net_device *netdev, int link_id, in rdev_set_default_beacon_key()
164 struct net_device *dev, in rdev_start_ap()
175 struct net_device *dev, in rdev_change_beacon()
186 struct net_device *dev, unsigned int link_id) in rdev_stop_ap()
[all …]
Dnl80211.h59 struct net_device *netdev,
62 struct net_device *netdev,
65 struct net_device *netdev,
69 struct net_device *netdev,
73 struct net_device *netdev,
76 struct net_device *netdev,
79 struct net_device *netdev,
83 struct net_device *netdev,
86 struct net_device *netdev, const u8 *bssid,
89 struct net_device *netdev, u16 reason,
[all …]
Dcore.h317 struct net_device *dev,
320 void cfg80211_clear_ibss(struct net_device *dev, bool nowext);
322 struct net_device *dev, bool nowext);
324 struct net_device *dev, bool nowext);
325 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
334 struct net_device *dev,
338 struct net_device *dev);
340 struct net_device *dev);
347 struct net_device *dev,
350 struct net_device *dev,
[all …]
/net/batman-adv/
Dhard-interface.c64 batadv_hardif_get_by_netdev(const struct net_device *net_dev) in batadv_hardif_get_by_netdev()
89 static struct net *batadv_getlink_net(const struct net_device *netdev, in batadv_getlink_net()
112 static bool batadv_mutual_parents(const struct net_device *dev1, in batadv_mutual_parents()
114 const struct net_device *dev2, in batadv_mutual_parents()
147 static bool batadv_is_on_batman_iface(const struct net_device *net_dev) in batadv_is_on_batman_iface()
150 struct net_device *parent_dev; in batadv_is_on_batman_iface()
185 static bool batadv_is_valid_iface(const struct net_device *net_dev) in batadv_is_valid_iface()
214 static struct net_device *batadv_get_real_netdevice(struct net_device *netdev) in batadv_get_real_netdevice()
217 struct net_device *real_netdev = NULL; in batadv_get_real_netdevice()
262 struct net_device *batadv_get_real_netdev(struct net_device *net_device) in batadv_get_real_netdev() argument
[all …]
Dsoft-interface.c81 static int batadv_interface_open(struct net_device *dev) in batadv_interface_open()
87 static int batadv_interface_release(struct net_device *dev) in batadv_interface_release()
113 static struct net_device_stats *batadv_interface_stats(struct net_device *dev) in batadv_interface_stats()
126 static int batadv_interface_set_mac_addr(struct net_device *dev, void *p) in batadv_interface_set_mac_addr()
155 static int batadv_interface_change_mtu(struct net_device *dev, int new_mtu) in batadv_interface_change_mtu()
177 static void batadv_interface_set_rx_mode(struct net_device *dev) in batadv_interface_set_rx_mode()
182 struct net_device *soft_iface) in batadv_interface_tx()
414 void batadv_interface_rx(struct net_device *soft_iface, in batadv_interface_rx()
627 static int batadv_interface_add_vid(struct net_device *dev, __be16 proto, in batadv_interface_add_vid()
674 static int batadv_interface_kill_vid(struct net_device *dev, __be16 proto, in batadv_interface_kill_vid()
[all …]
Dhard-interface.h71 struct net_device *batadv_get_real_netdev(struct net_device *net_device);
75 batadv_hardif_get_by_netdev(const struct net_device *net_dev);
77 struct net_device *soft_iface);
79 int batadv_hardif_min_mtu(struct net_device *soft_iface);
80 void batadv_update_min_mtu(struct net_device *soft_iface);
/net/core/
Ddev_addr_lists.c309 struct net_device *dev, in __hw_addr_sync_dev()
310 int (*sync)(struct net_device *, const unsigned char *), in __hw_addr_sync_dev() argument
311 int (*unsync)(struct net_device *, in __hw_addr_sync_dev() argument
364 struct net_device *dev, in __hw_addr_ref_sync_dev()
365 int (*sync)(struct net_device *, in __hw_addr_ref_sync_dev() argument
367 int (*unsync)(struct net_device *, in __hw_addr_ref_sync_dev() argument
423 struct net_device *dev, in __hw_addr_ref_unsync_dev()
424 int (*unsync)(struct net_device *, in __hw_addr_ref_unsync_dev() argument
457 struct net_device *dev, in __hw_addr_unsync_dev()
458 int (*unsync)(struct net_device *, in __hw_addr_unsync_dev() argument
[all …]
Ddev.c172 struct net_device *dev,
240 static struct netdev_name_node *netdev_name_node_alloc(struct net_device *dev, in netdev_name_node_alloc()
255 netdev_name_node_head_alloc(struct net_device *dev) in netdev_name_node_head_alloc()
313 int netdev_name_node_alt_create(struct net_device *dev, const char *name) in netdev_name_node_alt_create()
340 int netdev_name_node_alt_destroy(struct net_device *dev, const char *name) in netdev_name_node_alt_destroy()
360 static void netdev_name_node_alt_flush(struct net_device *dev) in netdev_name_node_alt_flush()
369 static void list_netdevice(struct net_device *dev) in list_netdevice()
388 static void unlist_netdevice(struct net_device *dev, bool lock) in unlist_netdevice()
481 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class()
496 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.c36 static inline int dev_isalive(const struct net_device *dev) in dev_isalive()
44 ssize_t (*format)(const struct net_device *, char *)) in netdev_show() argument
46 struct net_device *ndev = to_net_dev(dev); in netdev_show()
59 static ssize_t format_##field(const struct net_device *dev, char *buf) \
80 int (*set)(struct net_device *, unsigned long)) in netdev_store() argument
82 struct net_device *netdev = to_net_dev(dev); in netdev_store()
118 struct net_device *ndev = to_net_dev(dev); in iflink_show()
124 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
133 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show()
147 struct net_device *ndev = to_net_dev(dev); in address_show()
[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()
130 int phonet_address_add(struct net_device *dev, u8 addr) in phonet_address_add()
149 int phonet_address_del(struct net_device *dev, u8 addr) in phonet_address_del()
173 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()
250 struct net_device *dev; in l3mdev_fib_rule_match()
[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 int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu()
228 static int br_set_mac_address(struct net_device *dev, void *p) in br_set_mac_address()
[all …]
Dbr_private.h348 struct net_device *dev;
413 static inline struct net_bridge_port *br_port_get_rcu(const struct net_device *dev) in br_port_get_rcu()
418 static inline struct net_bridge_port *br_port_get_rtnl(const struct net_device *dev) in br_port_get_rtnl()
424 static inline struct net_bridge_port *br_port_get_rtnl_rcu(const struct net_device *dev) in br_port_get_rtnl_rcu()
453 struct net_device *dev;
541 struct net_device *brdev;
724 void br_dev_setup(struct net_device *dev);
725 void br_dev_delete(struct net_device *dev, struct list_head *list);
726 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev);
769 int br_fdb_test_addr(struct net_device *dev, unsigned char *addr);
[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