Home
last modified time | relevance | path

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

12345678910>>...18

/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()
72 struct net_device *dev) in vlan_group_set_device()
74 struct net_device **array; in vlan_group_set_device()
83 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev()
95 static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev) in vlan_tnl_features()
116 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()
100 struct net_device *dev) in vlan_dev_hard_start_xmit()
142 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) in vlan_dev_change_mtu()
144 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; in vlan_dev_change_mtu()
157 void vlan_dev_set_ingress_priority(const struct net_device *dev, in vlan_dev_set_ingress_priority()
170 int vlan_dev_set_egress_priority(const struct net_device *dev, in vlan_dev_set_egress_priority()
215 int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask) in vlan_dev_change_flags()
243 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result) in vlan_dev_get_realdev_name()
248 bool vlan_dev_inherit_address(struct net_device *dev, in vlan_dev_inherit_address()
249 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/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/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/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.h65 struct net_device *netdev,
68 struct net_device *netdev,
73 struct net_device *netdev,
76 struct net_device *netdev,
79 struct net_device *netdev,
82 struct net_device *netdev,
85 struct net_device *netdev,
89 struct net_device *netdev,
92 struct net_device *netdev, const u8 *bssid);
94 struct net_device *netdev, u16 reason,
[all …]
Dcore.h315 struct net_device *dev,
318 void cfg80211_clear_ibss(struct net_device *dev, bool nowext);
320 struct net_device *dev, bool nowext);
322 struct net_device *dev, bool nowext);
323 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
332 struct net_device *dev,
336 struct net_device *dev);
338 struct net_device *dev);
345 struct net_device *dev,
348 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()
/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.c165 struct net_device *dev,
234 static void list_netdevice(struct net_device *dev) in list_netdevice()
253 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice()
519 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check()
613 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink()
631 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in dev_fill_metadata_dst()
660 struct net_device *__dev_get_by_name(struct net *net, const char *name) in __dev_get_by_name()
662 struct net_device *dev; in __dev_get_by_name()
685 struct net_device *dev_get_by_name_rcu(struct net *net, const char *name) in dev_get_by_name_rcu()
687 struct net_device *dev; in dev_get_by_name_rcu()
[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 …]
Dlink_watch.c35 static unsigned char default_operstate(const struct net_device *dev) in default_operstate()
48 static void rfc2863_policy(struct net_device *dev) in rfc2863_policy()
74 void linkwatch_init_dev(struct net_device *dev) in linkwatch_init_dev()
82 static bool linkwatch_urgent_event(struct net_device *dev) in linkwatch_urgent_event()
97 static void linkwatch_add_event(struct net_device *dev) in linkwatch_add_event()
139 static void linkwatch_do_dev(struct net_device *dev) in linkwatch_do_dev()
169 struct net_device *dev; in __linkwatch_run_queue()
196 dev = list_first_entry(&wrk, struct net_device, link_watch_list); in __linkwatch_run_queue()
218 void linkwatch_forget_dev(struct net_device *dev) in linkwatch_forget_dev()
249 void linkwatch_fire_event(struct net_device *dev) in linkwatch_fire_event()
/net/dsa/
Dslave.c25 static bool dsa_slave_dev_check(const struct net_device *dev);
62 static int dsa_slave_get_iflink(const struct net_device *dev) in dsa_slave_get_iflink()
67 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open()
69 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_open()
112 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close()
114 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_close()
135 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags()
137 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_change_rx_flags()
148 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode()
150 struct net_device *master = dsa_slave_to_master(dev); in dsa_slave_set_rx_mode()
[all …]
Ddsa_priv.h36 struct net_device *br;
68 struct net_device *dev);
93 struct net_device *dev,
98 struct net_device *dev,
102 int dsa_master_setup(struct net_device *dev, struct dsa_port *cpu_dp);
103 void dsa_master_teardown(struct net_device *dev);
105 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);
191 void dsa_slave_destroy(struct net_device *slave_dev);
[all …]
/net/l3mdev/
Dl3mdev.c17 int l3mdev_master_ifindex_rcu(const struct net_device *dev) in l3mdev_master_ifindex_rcu()
27 struct net_device *master; in l3mdev_master_ifindex_rcu()
28 struct net_device *_dev = (struct net_device *)dev; in l3mdev_master_ifindex_rcu()
53 struct net_device *dev; in l3mdev_master_upper_ifindex_by_index_rcu()
69 u32 l3mdev_fib_table_rcu(const struct net_device *dev) in l3mdev_fib_table_rcu()
83 struct net_device *_dev = (struct net_device *) dev; in l3mdev_fib_table_rcu()
84 const struct net_device *master; in l3mdev_fib_table_rcu()
98 struct net_device *dev; in l3mdev_fib_table_by_index()
129 struct net_device *dev; in l3mdev_link_scope_lookup()
156 struct net_device *dev; in l3mdev_fib_rule_match()
[all …]
/net/phonet/
Dpn_dev.c26 struct net_device __rcu *table[64];
50 static struct phonet_device *__phonet_device_alloc(struct net_device *dev) in __phonet_device_alloc()
64 static struct phonet_device *__phonet_get(struct net_device *dev) in __phonet_get()
77 static struct phonet_device *__phonet_get_rcu(struct net_device *dev) in __phonet_get_rcu()
89 static void phonet_device_destroy(struct net_device *dev) in phonet_device_destroy()
111 struct net_device *phonet_device_get(struct net *net) in phonet_device_get()
115 struct net_device *dev = NULL; in phonet_device_get()
133 int phonet_address_add(struct net_device *dev, u8 addr) in phonet_address_add()
152 int phonet_address_del(struct net_device *dev, u8 addr) in phonet_address_del()
176 u8 phonet_address_get(struct net_device *dev, u8 daddr) in phonet_address_get()
[all …]
/net/bridge/
Dbr_private.h228 struct net_device *dev;
288 static inline struct net_bridge_port *br_port_get_rcu(const struct net_device *dev) in br_port_get_rcu()
293 static inline struct net_bridge_port *br_port_get_rtnl(const struct net_device *dev) in br_port_get_rtnl()
299 static inline struct net_bridge_port *br_port_get_rtnl_rcu(const struct net_device *dev) in br_port_get_rtnl_rcu()
328 struct net_device *dev;
423 struct net_device *brdev;
515 void br_dev_setup(struct net_device *dev);
516 void br_dev_delete(struct net_device *dev, struct list_head *list);
517 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev);
563 int br_fdb_test_addr(struct net_device *dev, unsigned char *addr);
[all …]
Dbr_device.c28 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit()
109 static int br_dev_init(struct net_device *dev) in br_dev_init()
150 static void br_dev_uninit(struct net_device *dev) in br_dev_uninit()
162 static int br_dev_open(struct net_device *dev) in br_dev_open()
177 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list()
181 static void br_dev_change_rx_flags(struct net_device *dev, int change) in br_dev_change_rx_flags()
187 static int br_dev_stop(struct net_device *dev) in br_dev_stop()
202 static void br_get_stats64(struct net_device *dev, in br_get_stats64()
230 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu()
247 static int br_set_mac_address(struct net_device *dev, void *p) in br_set_mac_address()
[all …]
/net/ieee802154/6lowpan/
Dcore.c61 static int lowpan_open(struct net_device *dev) in lowpan_open()
69 static int lowpan_stop(struct net_device *dev) in lowpan_stop()
77 static int lowpan_neigh_construct(struct net_device *dev, struct neighbour *n) in lowpan_neigh_construct()
86 static int lowpan_get_iflink(const struct net_device *dev) in lowpan_get_iflink()
99 static void lowpan_setup(struct net_device *ldev) in lowpan_setup()
123 static int lowpan_newlink(struct net *src_net, struct net_device *ldev, in lowpan_newlink()
127 struct net_device *wdev; in lowpan_newlink()
175 static void lowpan_dellink(struct net_device *ldev, struct list_head *head) in lowpan_dellink()
177 struct net_device *wdev = lowpan_802154_dev(ldev)->wdev; in lowpan_dellink()
208 struct net_device *ndev = netdev_notifier_info_to_dev(ptr); in lowpan_device_event()

12345678910>>...18