/net/8021q/ |
D | vlan.h | 70 struct net_device *real_dev; 80 static inline struct vlan_dev_priv *vlan_dev_priv(const struct net_device *dev) in vlan_dev_priv() 101 struct net_device **vlan_devices_arrays[VLAN_PROTO_NUM] 106 struct net_device *real_dev; /* The ethernet(like) device 128 static inline struct net_device *__vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device() 132 struct net_device **array; in __vlan_group_get_device() 139 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device() 148 struct net_device *dev) in vlan_group_set_device() 150 struct net_device **array; in vlan_group_set_device() 159 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev() [all …]
|
D | vlan_dev.c | 50 struct net_device *dev = skb->dev; in vlan_dev_rebuild_header() 72 vlan_dev_get_egress_qos_mask(struct net_device *dev, struct sk_buff *skb) in vlan_dev_get_egress_qos_mask() 97 static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, in vlan_dev_hard_header() 153 struct net_device *dev) in vlan_dev_hard_start_xmit() 195 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) in vlan_dev_change_mtu() 208 void vlan_dev_set_ingress_priority(const struct net_device *dev, in vlan_dev_set_ingress_priority() 221 int vlan_dev_set_egress_priority(const struct net_device *dev, in vlan_dev_set_egress_priority() 259 int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask) in vlan_dev_change_flags() 286 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result) in vlan_dev_get_realdev_name() 291 static int vlan_dev_open(struct net_device *dev) in vlan_dev_open() [all …]
|
D | vlan_core.c | 13 struct net_device *vlan_dev; in vlan_do_receive() 66 struct net_device *__vlan_find_dev_deep(struct net_device *dev, in __vlan_find_dev_deep() 80 struct net_device *upper_dev; in __vlan_find_dev_deep() 92 struct net_device *vlan_dev_real_dev(const struct net_device *dev) in vlan_dev_real_dev() 98 u16 vlan_dev_vlan_id(const struct net_device *dev) in vlan_dev_vlan_id() 178 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc() 198 static bool vlan_hw_filter_capable(const struct net_device *dev, in vlan_hw_filter_capable() 238 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_add() 260 int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_add() 299 struct net_device *dev = vlan_info->real_dev; in __vlan_vid_del() [all …]
|
/net/wireless/ |
D | wext-compat.h | 7 int cfg80211_ibss_wext_siwfreq(struct net_device *dev, 10 int cfg80211_ibss_wext_giwfreq(struct net_device *dev, 13 int cfg80211_ibss_wext_siwap(struct net_device *dev, 16 int cfg80211_ibss_wext_giwap(struct net_device *dev, 19 int cfg80211_ibss_wext_siwessid(struct net_device *dev, 22 int cfg80211_ibss_wext_giwessid(struct net_device *dev, 26 int cfg80211_mgd_wext_siwfreq(struct net_device *dev, 29 int cfg80211_mgd_wext_giwfreq(struct net_device *dev, 32 int cfg80211_mgd_wext_siwap(struct net_device *dev, 35 int cfg80211_mgd_wext_giwap(struct net_device *dev, [all …]
|
D | nl80211.h | 16 struct net_device *netdev, u32 cmd); 18 struct net_device *netdev); 21 struct net_device *netdev, 24 struct net_device *netdev, 27 struct net_device *netdev, 30 struct net_device *netdev, 33 struct net_device *netdev, 36 struct net_device *netdev, 39 struct net_device *netdev, const u8 *bssid, 44 struct net_device *netdev, const u8 *bssid, [all …]
|
D | core.h | 290 struct net_device *dev, 294 struct net_device *dev, 297 void cfg80211_clear_ibss(struct net_device *dev, bool nowext); 299 struct net_device *dev, bool nowext); 301 struct net_device *dev, bool nowext); 302 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid); 310 struct net_device *dev, 314 struct net_device *dev, 318 struct net_device *dev); 325 struct net_device *dev); [all …]
|
D | rdev-ops.h | 62 struct net_device *dev, enum nl80211_iftype type, in rdev_change_virtual_intf() 74 struct net_device *netdev, u8 key_index, in rdev_add_key() 87 rdev_get_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, in rdev_get_key() 100 struct net_device *netdev, u8 key_index, in rdev_del_key() 113 struct net_device *netdev, u8 key_index, bool unicast, in rdev_set_default_key() 127 struct net_device *netdev, u8 key_index) in rdev_set_default_mgmt_key() 138 struct net_device *dev, in rdev_start_ap() 149 struct net_device *dev, in rdev_change_beacon() 160 struct net_device *dev) in rdev_stop_ap() 170 struct net_device *dev, u8 *mac, in rdev_add_station() [all …]
|
/net/mac802154/ |
D | mac802154.h | 71 struct net_device *dev; 96 int mac802154_slave_open(struct net_device *dev); 97 int mac802154_slave_close(struct net_device *dev); 100 void mac802154_monitor_setup(struct net_device *dev); 103 void mac802154_wpan_setup(struct net_device *dev); 109 void mac802154_dev_set_short_addr(struct net_device *dev, u16 val); 110 u16 mac802154_dev_get_short_addr(const struct net_device *dev); 111 void mac802154_dev_set_ieee_addr(struct net_device *dev); 112 u16 mac802154_dev_get_pan_id(const struct net_device *dev); 113 void mac802154_dev_set_pan_id(struct net_device *dev, u16 val); [all …]
|
D | mib.c | 33 struct net_device *dev; 38 struct net_device *dev; 42 static struct mac802154_priv *mac802154_slave_get_priv(struct net_device *dev) in mac802154_slave_get_priv() 69 static void set_hw_addr_filt(struct net_device *dev, unsigned long changed) in set_hw_addr_filt() 86 void mac802154_dev_set_short_addr(struct net_device *dev, u16 val) in mac802154_dev_set_short_addr() 103 u16 mac802154_dev_get_short_addr(const struct net_device *dev) in mac802154_dev_get_short_addr() 117 void mac802154_dev_set_ieee_addr(struct net_device *dev) in mac802154_dev_set_ieee_addr() 131 u16 mac802154_dev_get_pan_id(const struct net_device *dev) in mac802154_dev_get_pan_id() 145 void mac802154_dev_set_pan_id(struct net_device *dev, u16 val) in mac802154_dev_set_pan_id() 162 u8 mac802154_dev_get_dsn(const struct net_device *dev) in mac802154_dev_get_dsn() [all …]
|
/net/batman-adv/ |
D | soft-interface.c | 43 static int batadv_get_settings(struct net_device *dev, struct ethtool_cmd *cmd); 44 static void batadv_get_drvinfo(struct net_device *dev, 46 static u32 batadv_get_msglevel(struct net_device *dev); 47 static void batadv_set_msglevel(struct net_device *dev, u32 value); 48 static u32 batadv_get_link(struct net_device *dev); 49 static void batadv_get_strings(struct net_device *dev, u32 stringset, u8 *data); 50 static void batadv_get_ethtool_stats(struct net_device *dev, 52 static int batadv_get_sset_count(struct net_device *dev, int stringset); 84 static int batadv_interface_open(struct net_device *dev) in batadv_interface_open() 90 static int batadv_interface_release(struct net_device *dev) in batadv_interface_release() [all …]
|
D | debugfs.c | 250 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_open() 256 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_gateways_open() 262 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_transtable_global_open() 269 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_bla_claim_table_open() 277 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_bla_backbone_table_open() 292 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_dat_cache_open() 299 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_transtable_local_open() 305 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_vis_data_open() 317 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_nc_nodes_open() 418 int batadv_debugfs_add_meshif(struct net_device *dev) in batadv_debugfs_add_meshif() [all …]
|
D | hard-interface.c | 45 batadv_hardif_get_by_netdev(const struct net_device *net_dev) in batadv_hardif_get_by_netdev() 76 static bool batadv_is_on_batman_iface(const struct net_device *net_dev) in batadv_is_on_batman_iface() 78 struct net_device *parent_dev; in batadv_is_on_batman_iface() 102 static int batadv_is_valid_iface(const struct net_device *net_dev) in batadv_is_valid_iface() 121 batadv_hardif_get_active(const struct net_device *soft_iface) in batadv_hardif_get_active() 200 static void batadv_check_known_mac_addr(const struct net_device *net_dev) in batadv_check_known_mac_addr() 224 int batadv_hardif_min_mtu(struct net_device *soft_iface) in batadv_hardif_min_mtu() 255 void batadv_update_min_mtu(struct net_device *soft_iface) in batadv_update_min_mtu() 320 struct net_device *master) in batadv_master_del_slave() 338 struct net_device *soft_iface, *master; in batadv_hardif_enable_interface() [all …]
|
/net/core/ |
D | dev_addr_lists.c | 298 void dev_addr_flush(struct net_device *dev) in dev_addr_flush() 316 int dev_addr_init(struct net_device *dev) in dev_addr_init() 352 int dev_addr_add(struct net_device *dev, const unsigned char *addr, in dev_addr_add() 377 int dev_addr_del(struct net_device *dev, const unsigned char *addr, in dev_addr_del() 413 int dev_addr_add_multiple(struct net_device *to_dev, in dev_addr_add_multiple() 414 struct net_device *from_dev, in dev_addr_add_multiple() 441 int dev_addr_del_multiple(struct net_device *to_dev, in dev_addr_del_multiple() 442 struct net_device *from_dev, in dev_addr_del_multiple() 465 int dev_uc_add_excl(struct net_device *dev, const unsigned char *addr) in dev_uc_add_excl() 496 int dev_uc_add(struct net_device *dev, const unsigned char *addr) in dev_uc_add() [all …]
|
D | ethtool.c | 35 u32 ethtool_op_get_link(struct net_device *dev) in ethtool_op_get_link() 41 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info) in ethtool_op_get_ts_info() 98 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features() 136 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features() 176 static int __ethtool_get_sset_count(struct net_device *dev, int sset) in __ethtool_get_sset_count() 189 static void __ethtool_get_strings(struct net_device *dev, in __ethtool_get_strings() 233 static int ethtool_get_one_feature(struct net_device *dev, in ethtool_get_one_feature() 247 static int ethtool_set_one_feature(struct net_device *dev, in ethtool_set_one_feature() 277 static u32 __ethtool_get_flags(struct net_device *dev) in __ethtool_get_flags() 290 static int __ethtool_set_flags(struct net_device *dev, u32 data) in __ethtool_set_flags() [all …]
|
D | link_watch.c | 40 static unsigned char default_operstate(const struct net_device *dev) in default_operstate() 53 static void rfc2863_policy(struct net_device *dev) in rfc2863_policy() 79 void linkwatch_init_dev(struct net_device *dev) in linkwatch_init_dev() 87 static bool linkwatch_urgent_event(struct net_device *dev) in linkwatch_urgent_event() 99 static void linkwatch_add_event(struct net_device *dev) in linkwatch_add_event() 141 static void linkwatch_do_dev(struct net_device *dev) in linkwatch_do_dev() 168 struct net_device *dev; in __linkwatch_run_queue() 191 dev = list_first_entry(&wrk, struct net_device, link_watch_list); in __linkwatch_run_queue() 208 void linkwatch_forget_dev(struct net_device *dev) in linkwatch_forget_dev() 239 void linkwatch_fire_event(struct net_device *dev) in linkwatch_fire_event()
|
D | dev.c | 203 static void list_netdevice(struct net_device *dev) in list_netdevice() 222 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice() 313 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class() 327 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class() 559 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check() 657 struct net_device *__dev_get_by_name(struct net *net, const char *name) in __dev_get_by_name() 659 struct net_device *dev; in __dev_get_by_name() 682 struct net_device *dev_get_by_name_rcu(struct net *net, const char *name) in dev_get_by_name_rcu() 684 struct net_device *dev; in dev_get_by_name_rcu() 707 struct net_device *dev_get_by_name(struct net *net, const char *name) in dev_get_by_name() [all …]
|
/net/dsa/ |
D | slave.c | 51 static int dsa_slave_init(struct net_device *dev) in dsa_slave_init() 60 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open() 63 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_open() 98 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close() 101 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_close() 116 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags() 119 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_change_rx_flags() 127 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode() 130 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_set_rx_mode() 136 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) in dsa_slave_set_mac_address() [all …]
|
/net/bridge/ |
D | br_device.c | 26 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit() 85 static int br_dev_init(struct net_device *dev) in br_dev_init() 96 static int br_dev_open(struct net_device *dev) in br_dev_open() 108 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list() 112 static int br_dev_stop(struct net_device *dev) in br_dev_stop() 124 static struct rtnl_link_stats64 *br_get_stats64(struct net_device *dev, in br_get_stats64() 153 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu() 170 static int br_set_mac_address(struct net_device *dev, void *p) in br_set_mac_address() 189 static void br_getinfo(struct net_device *dev, struct ethtool_drvinfo *info) in br_getinfo() 197 static netdev_features_t br_fix_features(struct net_device *dev, in br_fix_features() [all …]
|
D | br_private.h | 131 struct net_device *dev; 184 static inline struct net_bridge_port *br_port_get_rcu(const struct net_device *dev) in br_port_get_rcu() 192 static inline struct net_bridge_port *br_port_get_rtnl(struct net_device *dev) in br_port_get_rtnl() 210 struct net_device *dev; 288 struct net_device *brdev; 327 extern void br_dev_setup(struct net_device *dev); 328 extern void br_dev_delete(struct net_device *dev, struct list_head *list); 330 struct net_device *dev); 382 extern int br_fdb_test_addr(struct net_device *dev, unsigned char *addr); 396 struct net_device *dev, [all …]
|
D | br_netfilter.c | 174 static inline struct rtable *bridge_parent_rtable(const struct net_device *dev) in bridge_parent_rtable() 182 static inline struct net_device *bridge_parent(const struct net_device *dev) in bridge_parent() 265 struct net_device *dev = skb->dev; in br_parse_ip_options() 457 struct net_device *dev = skb->dev; in br_nf_pre_routing_finish() 530 static struct net_device *brnf_get_logical_dev(struct sk_buff *skb, const struct net_device *dev) in brnf_get_logical_dev() 532 struct net_device *vlan, *br; in brnf_get_logical_dev() 545 static struct net_device *setup_pre_routing(struct sk_buff *skb) in setup_pre_routing() 624 const struct net_device *in, in br_nf_pre_routing_ipv6() 625 const struct net_device *out, in br_nf_pre_routing_ipv6() 673 const struct net_device *in, in br_nf_pre_routing() [all …]
|
/net/irda/irlan/ |
D | irlan_eth.c | 43 static int irlan_eth_open(struct net_device *dev); 44 static int irlan_eth_close(struct net_device *dev); 46 struct net_device *dev); 47 static void irlan_eth_set_multicast_list( struct net_device *dev); 64 static void irlan_eth_setup(struct net_device *dev) in irlan_eth_setup() 97 struct net_device *alloc_irlandev(const char *name) in alloc_irlandev() 109 static int irlan_eth_open(struct net_device *dev) in irlan_eth_open() 136 static int irlan_eth_close(struct net_device *dev) in irlan_eth_close() 166 struct net_device *dev) in irlan_eth_xmit() 227 struct net_device *dev = self->dev; in irlan_eth_receive() [all …]
|
/net/phonet/ |
D | pn_dev.c | 39 struct net_device *table[64]; 63 static struct phonet_device *__phonet_device_alloc(struct net_device *dev) in __phonet_device_alloc() 77 static struct phonet_device *__phonet_get(struct net_device *dev) in __phonet_get() 90 static struct phonet_device *__phonet_get_rcu(struct net_device *dev) in __phonet_get_rcu() 102 static void phonet_device_destroy(struct net_device *dev) in phonet_device_destroy() 124 struct net_device *phonet_device_get(struct net *net) in phonet_device_get() 128 struct net_device *dev = NULL; in phonet_device_get() 146 int phonet_address_add(struct net_device *dev, u8 addr) in phonet_address_add() 165 int phonet_address_del(struct net_device *dev, u8 addr) in phonet_address_del() 189 u8 phonet_address_get(struct net_device *dev, u8 daddr) in phonet_address_get() [all …]
|
/net/openvswitch/ |
D | vport-internal_dev.c | 38 static struct internal_dev *internal_dev_priv(struct net_device *netdev) in internal_dev_priv() 44 static struct rtnl_link_stats64 *internal_dev_get_stats(struct net_device *netdev, in internal_dev_get_stats() 67 static int internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev) in internal_dev_xmit() 75 static int internal_dev_open(struct net_device *netdev) in internal_dev_open() 81 static int internal_dev_stop(struct net_device *netdev) in internal_dev_stop() 87 static void internal_dev_getinfo(struct net_device *netdev, in internal_dev_getinfo() 98 static int internal_dev_change_mtu(struct net_device *netdev, int new_mtu) in internal_dev_change_mtu() 107 static void internal_dev_destructor(struct net_device *dev) in internal_dev_destructor() 124 static void do_setup(struct net_device *netdev) in do_setup() 212 struct net_device *netdev = netdev_vport_priv(vport)->dev; in internal_dev_recv() [all …]
|
/net/decnet/ |
D | dn_dev.c | 72 static struct net_device *decnet_default_device; 75 static struct dn_dev *dn_dev_create(struct net_device *dev, int *err); 76 static void dn_dev_delete(struct net_device *dev); 79 static int dn_eth_up(struct net_device *); 80 static void dn_eth_down(struct net_device *); 81 static void dn_send_brd_hello(struct net_device *dev, struct dn_ifaddr *ifa); 82 static void dn_send_ptp_hello(struct net_device *dev, struct dn_ifaddr *ifa); 207 static void dn_dev_sysctl_register(struct net_device *dev, struct dn_dev_parms *parms) in dn_dev_sysctl_register() 250 struct net_device *dev = table->extra1; in dn_forwarding_proc() 293 static void dn_dev_sysctl_register(struct net_device *dev, struct dn_dev_parms *parms) in dn_dev_sysctl_register() [all …]
|
/net/ethernet/ |
D | eth.c | 78 int eth_header(struct sk_buff *skb, struct net_device *dev, in eth_header() 128 struct net_device *dev = skb->dev; in eth_rebuild_header() 157 __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev) in eth_type_trans() 241 const struct net_device *dev = neigh->dev; in eth_header_cache() 266 const struct net_device *dev, in eth_header_cache_update() 279 int eth_prepare_mac_addr_change(struct net_device *dev, void *p) in eth_prepare_mac_addr_change() 296 void eth_commit_mac_addr_change(struct net_device *dev, void *p) in eth_commit_mac_addr_change() 314 int eth_mac_addr(struct net_device *dev, void *p) in eth_mac_addr() 334 int eth_change_mtu(struct net_device *dev, int new_mtu) in eth_change_mtu() 343 int eth_validate_addr(struct net_device *dev) in eth_validate_addr() [all …]
|