| /net/core/ |
| A D | dev.h | 33 struct net_device *__netdev_put_lock(struct net_device *dev, struct net *net); 34 struct net_device * 45 struct net_device * 47 struct net_device * 66 void linkwatch_init_dev(struct net_device *dev); 69 void dev_addr_flush(struct net_device *dev); 70 int dev_addr_init(struct net_device *dev); 71 void dev_addr_check(struct net_device *dev); 99 struct net_device *dev; 143 void __dev_set_rx_mode(struct net_device *dev); [all …]
|
| A D | dev_api.c | 18 int dev_change_name(struct net_device *dev, const char *newname) in dev_change_name() 80 void dev_set_group(struct net_device *dev, int new_group) in dev_set_group() 87 int dev_set_mac_address_user(struct net_device *dev, in dev_set_mac_address_user() 217 void dev_close(struct net_device *dev) in dev_close() 225 int dev_eth_ioctl(struct net_device *dev, in dev_eth_ioctl() 243 int dev_set_mtu(struct net_device *dev, int new_mtu) in dev_set_mtu() 263 void dev_disable_lro(struct net_device *dev) in dev_disable_lro() 282 int dev_set_promiscuity(struct net_device *dev, int inc) in dev_set_promiscuity() 308 int dev_set_allmulti(struct net_device *dev, int inc) in dev_set_allmulti() 363 void netdev_state_change(struct net_device *dev) in netdev_state_change() [all …]
|
| A D | dev_addr_lists.c | 316 struct net_device *dev, in __hw_addr_sync_dev() 371 struct net_device *dev, in __hw_addr_ref_sync_dev() 372 int (*sync)(struct net_device *, in __hw_addr_ref_sync_dev() argument 430 struct net_device *dev, in __hw_addr_ref_unsync_dev() 464 struct net_device *dev, in __hw_addr_unsync_dev() 734 int dev_uc_sync(struct net_device *to, struct net_device *from) in dev_uc_sync() 764 int dev_uc_sync_multiple(struct net_device *to, struct net_device *from) in dev_uc_sync_multiple() 789 void dev_uc_unsync(struct net_device *to, struct net_device *from) in dev_uc_unsync() 957 int dev_mc_sync(struct net_device *to, struct net_device *from) in dev_mc_sync() 987 int dev_mc_sync_multiple(struct net_device *to, struct net_device *from) in dev_mc_sync_multiple() [all …]
|
| A D | dev.c | 1093 struct net_device * 1105 struct net_device * 1130 struct net_device * 1344 struct net_device *d; in __dev_alloc_name() 7748 struct net_device *dev = (struct net_device *)priv->data; in ____netdev_has_upper_dev() 7820 struct net_device *netdev_master_upper_dev_get(struct net_device *dev) in netdev_master_upper_dev_get() 7885 struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, in netdev_upper_get_next_dev_rcu() 8128 static struct net_device *netdev_next_lower_dev(struct net_device *dev, in netdev_next_lower_dev() 8256 struct net_device *netdev_next_lower_dev_rcu(struct net_device *dev, in netdev_next_lower_dev_rcu() 9157 struct net_device *netdev_get_xmit_slave(struct net_device *dev, in netdev_get_xmit_slave() [all …]
|
| A D | failover.c | 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() 137 struct net_device *failover_dev; in failover_slave_link_change() 162 struct net_device *failover_dev; in failover_slave_name_change() 188 struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); in failover_event() 218 struct net_device *dev; in failover_existing_slave_register() 242 struct failover *failover_register(struct net_device *dev, in failover_register() [all …]
|
| A D | link_watch.c | 45 struct net_device *peer; in default_operstate() 74 static void rfc2863_policy(struct net_device *dev) in rfc2863_policy() 100 void linkwatch_init_dev(struct net_device *dev) in linkwatch_init_dev() 109 static bool linkwatch_urgent_event(struct net_device *dev) in linkwatch_urgent_event() 124 static void linkwatch_add_event(struct net_device *dev) in linkwatch_add_event() 166 static void linkwatch_do_dev(struct net_device *dev) in linkwatch_do_dev() 228 struct net_device *dev; in __linkwatch_run_queue() 258 static bool linkwatch_clean_dev(struct net_device *dev) in linkwatch_clean_dev() 277 void __linkwatch_sync_dev(struct net_device *dev) in __linkwatch_sync_dev() 285 void linkwatch_sync_dev(struct net_device *dev) in linkwatch_sync_dev() [all …]
|
| A D | net-sysfs.c | 76 struct net_device *ndev) in sysfs_rtnl_lock() 132 struct net_device *ndev = to_net_dev(dev); in netdev_show() 234 struct net_device *ndev = to_net_dev(dev); in iflink_show() 812 struct net_device *dev = to_net_dev(d); in netstat_show() 1427 struct net_device *dev = queue->dev; in get_netdev_queue_index() 1439 struct net_device *dev = queue->dev; in traffic_class_show() 1485 struct net_device *dev = queue->dev; in tx_maxrate_store() 1764 struct net_device *dev = queue->dev; in xps_cpus_show() 1802 struct net_device *dev = queue->dev; in xps_cpus_store() 1844 struct net_device *dev = queue->dev; in xps_rxqs_show() [all …]
|
| /net/8021q/ |
| A D | vlan.h | 25 struct net_device **vlan_devices_arrays[VLAN_PROTO_NUM] 57 struct net_device **array; in __vlan_group_get_device() 82 struct net_device *dev) in vlan_group_set_device() 85 struct net_device **array; in vlan_group_set_device() 95 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev() 138 int vlan_check_real_dev(struct net_device *real_dev, 141 void vlan_setup(struct net_device *dev); 144 bool vlan_dev_inherit_address(struct net_device *dev, 145 struct net_device *real_dev); 158 int vlan_gvrp_init_applicant(struct net_device *dev); [all …]
|
| A D | vlan_dev.c | 101 struct net_device *dev) in vlan_dev_hard_start_xmit() 250 struct net_device *real_dev) in vlan_dev_inherit_address() 260 static int vlan_dev_open(struct net_device *dev) in vlan_dev_open() 263 struct net_device *real_dev = vlan->real_dev; in vlan_dev_open() 295 static int vlan_dev_stop(struct net_device *dev) in vlan_dev_stop() 298 struct net_device *real_dev = vlan->real_dev; in vlan_dev_stop() 502 struct net_device *real_dev = vlan->real_dev; in vlan_passthru_hard_header() 522 static int vlan_dev_init(struct net_device *dev) in vlan_dev_init() 525 struct net_device *real_dev = vlan->real_dev; in vlan_dev_init() 707 struct net_device *real_dev = vlan->real_dev; in vlan_dev_netpoll_setup() [all …]
|
| A D | vlan_core.c | 15 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() 113 u16 vlan_dev_vlan_id(const struct net_device *dev) in vlan_dev_vlan_id() 227 int vlan_for_each(struct net_device *dev, in vlan_for_each() 233 struct net_device *vdev; in vlan_for_each() 298 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_add() 357 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_del() 397 const struct net_device *by_dev) in vlan_vids_add_by_dev() [all …]
|
| /net/switchdev/ |
| A D | switchdev.c | 59 struct net_device *dev; 132 struct net_device *dev, in switchdev_port_attr_notify() 224 struct net_device *dev, in switchdev_port_obj_notify() 561 const struct net_device *dev; 562 struct net_device *lower_dev; 572 const struct net_device *dev; in switchdev_lower_dev_walk() 586 static struct net_device * 607 static struct net_device * 634 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device() 694 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device() [all …]
|
| /net/dsa/ |
| A D | user.h | 14 struct net_device; 23 struct net_device *dev); 40 void dsa_user_destroy(struct net_device *user_dev); 41 int dsa_user_suspend(struct net_device *user_dev); 42 int dsa_user_resume(struct net_device *user_dev); 47 void dsa_user_sync_ha(struct net_device *dev); 48 void dsa_user_unsync_ha(struct net_device *dev); 49 void dsa_user_setup_tagger(struct net_device *user); 51 int dsa_user_change_conduit(struct net_device *dev, struct net_device *conduit, 63 static inline struct net_device * [all …]
|
| A D | user.c | 35 struct net_device *dev; 36 struct net_device *orig_dev; 56 struct net_device *dev; 63 struct net_device *dev; 507 struct net_device *dev; 560 struct net_device *dev, struct net_device *filter_dev, in dsa_user_fdb_dump() 1995 struct net_device *dev; 2899 int dsa_user_change_conduit(struct net_device *dev, struct net_device *conduit, in dsa_user_change_conduit() 2905 struct net_device *upper; in dsa_user_change_conduit() 3061 struct net_device *lower; in dsa_user_lag_changeupper() [all …]
|
| A D | dsa.h | 13 struct net_device; 23 const struct net_device *lag_dev); 24 struct net_device *dsa_tree_find_first_conduit(struct dsa_switch_tree *dst); 29 struct net_device *conduit, 32 struct net_device *conduit, 34 unsigned int dsa_bridge_num_get(const struct net_device *bridge_dev, int max); 35 void dsa_bridge_num_put(const struct net_device *bridge_dev, 38 const struct net_device *br);
|
| /net/wireless/ |
| A D | wext-compat.h | 8 int cfg80211_ibss_wext_siwfreq(struct net_device *dev, 11 int cfg80211_ibss_wext_giwfreq(struct net_device *dev, 14 int cfg80211_ibss_wext_siwap(struct net_device *dev, 17 int cfg80211_ibss_wext_giwap(struct net_device *dev, 20 int cfg80211_ibss_wext_siwessid(struct net_device *dev, 27 int cfg80211_mgd_wext_siwfreq(struct net_device *dev, 30 int cfg80211_mgd_wext_giwfreq(struct net_device *dev, 33 int cfg80211_mgd_wext_siwap(struct net_device *dev, 36 int cfg80211_mgd_wext_giwap(struct net_device *dev, 46 int cfg80211_wext_siwmlme(struct net_device *dev, [all …]
|
| A D | nl80211.h | 59 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, 92 struct net_device *netdev, u16 reason, 97 struct net_device *netdev, const u8 *addr, [all …]
|
| A D | rdev-ops.h | 164 struct net_device *dev, in rdev_start_ap() 207 struct net_device *dev, in rdev_del_station() 355 struct net_device *dev, in rdev_join_mesh() 368 struct net_device *dev) in rdev_leave_mesh() 378 struct net_device *dev, in rdev_join_ocb() 389 struct net_device *dev) in rdev_leave_ocb() 399 struct net_device *dev, in rdev_change_bss() 448 struct net_device *dev, in rdev_set_monitor_channel() 515 struct net_device *dev, in rdev_disassoc() 538 struct net_device *dev, in rdev_update_connect_params() [all …]
|
| /net/batman-adv/ |
| A D | hard-interface.c | 152 struct net_device *parent_dev; in batadv_is_on_batman_iface() 216 static struct net_device *batadv_get_real_netdevice(struct net_device *netdev) in batadv_get_real_netdevice() 264 struct net_device *batadv_get_real_netdev(struct net_device *net_device) in batadv_get_real_netdev() argument 266 struct net_device *real_netdev; in batadv_get_real_netdev() 283 static bool batadv_is_wext_netdev(struct net_device *net_device) in batadv_is_wext_netdev() argument 285 if (!net_device) in batadv_is_wext_netdev() 307 static bool batadv_is_cfg80211_netdev(struct net_device *net_device) in batadv_is_cfg80211_netdev() argument 309 if (!net_device) in batadv_is_cfg80211_netdev() 314 if (net_device->ieee80211_ptr) in batadv_is_cfg80211_netdev() 327 static u32 batadv_wifi_flags_evaluate(struct net_device *net_device) in batadv_wifi_flags_evaluate() argument [all …]
|
| /net/ethtool/ |
| A D | common.h | 38 int __ethtool_get_link(struct net_device *dev); 43 int ethtool_check_max_channel(struct net_device *dev, 52 void ethtool_ringparam_get_cfg(struct net_device *dev, 58 int ethtool_get_ts_info_by_phc(struct net_device *dev, 61 int ethtool_net_get_ts_info_by_phc(struct net_device *dev, 65 ethtool_phy_get_ts_info_by_phc(struct net_device *dev, 68 bool net_support_hwtstamp_qualifier(struct net_device *dev, 74 int ethtool_get_module_info_call(struct net_device *dev, 76 int ethtool_get_module_eeprom_call(struct net_device *dev, 79 bool __ethtool_dev_mm_supported(struct net_device *dev); [all …]
|
| /net/mac802154/ |
| A D | ieee802154_i.h | 118 struct net_device *dev; 240 int mac802154_get_params(struct net_device *dev, 242 int mac802154_set_params(struct net_device *dev, 246 int mac802154_add_key(struct net_device *dev, 249 int mac802154_del_key(struct net_device *dev, 252 int mac802154_add_dev(struct net_device *dev, 256 int mac802154_add_devkey(struct net_device *dev, 259 int mac802154_del_devkey(struct net_device *dev, 263 int mac802154_add_seclevel(struct net_device *dev, 269 void mac802154_get_table(struct net_device *dev, [all …]
|
| A D | mib.c | 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() 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() 178 int mac802154_del_seclevel(struct net_device *dev, in mac802154_del_seclevel() 193 void mac802154_lock_table(struct net_device *dev) in mac802154_lock_table() [all …]
|
| /net/phonet/ |
| A D | pn_dev.c | 26 struct net_device __rcu *table[64]; 88 static void phonet_device_destroy(struct net_device *dev) in phonet_device_destroy() 115 struct net_device *phonet_device_get(struct net *net) in phonet_device_get() 119 struct net_device *dev = NULL; in phonet_device_get() 136 int phonet_address_add(struct net_device *dev, u8 addr) in phonet_address_add() 158 int phonet_address_del(struct net_device *dev, u8 addr) in phonet_address_del() 184 u8 phonet_address_get(struct net_device *dev, u8 daddr) in phonet_address_get() 205 struct net_device *def_dev; in phonet_address_get() 374 int phonet_route_add(struct net_device *dev, u8 daddr) in phonet_route_add() 419 struct net_device *dev; in phonet_route_get_rcu() [all …]
|
| /net/l3mdev/ |
| A D | l3mdev.c | 110 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/ |
| A D | br_private.h | 385 struct net_device *dev; 494 struct net_device *dev; 586 struct net_device *brdev; 798 void br_dev_setup(struct net_device *dev); 866 struct net_device *dev, struct net_device *fdev, int *idx); 1601 struct net_device *vlan_dev, 1835 struct net_device *vlan_dev, in br_vlan_vlan_upper_event() 2034 struct net_device *dev); 2160 int br_sysfs_addbr(struct net_device *dev); 2161 void br_sysfs_delbr(struct net_device *dev); [all …]
|
| /net/ieee802154/6lowpan/ |
| A D | core.c | 63 static int lowpan_dev_init(struct net_device *ldev) in lowpan_dev_init() 70 static int lowpan_open(struct net_device *dev) in lowpan_open() 78 static int lowpan_stop(struct net_device *dev) in lowpan_stop() 86 static int lowpan_neigh_construct(struct net_device *dev, struct neighbour *n) in lowpan_neigh_construct() 95 static int lowpan_get_iflink(const struct net_device *dev) in lowpan_get_iflink() 109 static void lowpan_setup(struct net_device *ldev) in lowpan_setup() 133 static int lowpan_newlink(struct net_device *ldev, in lowpan_newlink() 138 struct net_device *wdev; in lowpan_newlink() 188 static void lowpan_dellink(struct net_device *ldev, struct list_head *head) in lowpan_dellink() 190 struct net_device *wdev = lowpan_802154_dev(ldev)->wdev; in lowpan_dellink() [all …]
|