/net/batman-adv/ |
H A D | hard-interface.c | 40 dev_put(hard_iface->net_dev); 45 batadv_hardif_get_by_netdev(const struct net_device *net_dev) argument 51 if (hard_iface->net_dev == net_dev && 65 * @net_dev: the device to check 76 static bool batadv_is_on_batman_iface(const struct net_device *net_dev) argument 82 if (batadv_softif_is_valid(net_dev)) 86 if (net_dev->iflink == net_dev->ifindex) 90 parent_dev = dev_get_by_index(&init_net, net_dev 102 batadv_is_valid_iface(const struct net_device *net_dev) argument 200 batadv_check_known_mac_addr(const struct net_device *net_dev) argument 515 batadv_hardif_add_interface(struct net_device *net_dev) argument 598 struct net_device *net_dev = ptr; local [all...] |
H A D | gateway_common.h | 34 ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff,
|
H A D | soft-interface.h | 29 int batadv_softif_is_valid(const struct net_device *net_dev);
|
H A D | gateway_common.c | 76 static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff, argument 100 batadv_err(net_dev, 125 batadv_err(net_dev, 137 ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff, argument 140 struct batadv_priv *bat_priv = netdev_priv(net_dev); 145 ret = batadv_parse_gw_bandwidth(net_dev, buff, &up, &down); 167 batadv_info(net_dev,
|
H A D | sysfs.c | 38 struct net_device *net_dev = batadv_kobj_to_netdev(obj); local 39 return netdev_priv(net_dev); 70 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \ 71 struct batadv_priv *bat_priv = netdev_priv(net_dev); \ 73 &bat_priv->_name, net_dev); \ 101 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \ 102 struct batadv_priv *bat_priv = netdev_priv(net_dev); \ 105 &bat_priv->_name, net_dev); \ 127 struct net_device *net_dev, 146 batadv_info(net_dev, " 126 batadv_store_bool_attr(char *buff, size_t count, struct net_device *net_dev, const char *attr_name, atomic_t *attr) argument 163 __batadv_store_bool_attr(char *buff, size_t count, void (*post_func)(struct net_device *), struct attribute *attr, atomic_t *attr_store, struct net_device *net_dev) argument 178 batadv_store_uint_attr(const char *buff, size_t count, struct net_device *net_dev, const char *attr_name, unsigned int min, unsigned int max, atomic_t *attr) argument 217 __batadv_store_uint_attr(const char *buff, size_t count, int min, int max, void (*post_func)(struct net_device *), const struct attribute *attr, atomic_t *attr_store, struct net_device *net_dev) argument 252 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local 308 batadv_post_gw_deselect(struct net_device *net_dev) argument 342 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local 411 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local 529 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local 554 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local 610 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local [all...] |
H A D | debugfs.c | 250 struct net_device *net_dev = (struct net_device *)inode->i_private; local 251 return single_open(file, batadv_orig_seq_print_text, net_dev); 256 struct net_device *net_dev = (struct net_device *)inode->i_private; local 257 return single_open(file, batadv_gw_client_seq_print_text, net_dev); 262 struct net_device *net_dev = (struct net_device *)inode->i_private; local 263 return single_open(file, batadv_tt_global_seq_print_text, net_dev); 269 struct net_device *net_dev = (struct net_device *)inode->i_private; local 271 net_dev); 277 struct net_device *net_dev = (struct net_device *)inode->i_private; local 279 net_dev); 292 struct net_device *net_dev = (struct net_device *)inode->i_private; local 299 struct net_device *net_dev = (struct net_device *)inode->i_private; local 305 struct net_device *net_dev = (struct net_device *)inode->i_private; local 317 struct net_device *net_dev = (struct net_device *)inode->i_private; local [all...] |
H A D | hard-interface.h | 45 batadv_hardif_get_by_netdev(const struct net_device *net_dev);
|
H A D | send.c | 49 if (unlikely(!hard_iface->net_dev)) 52 if (!(hard_iface->net_dev->flags & IFF_UP)) { 54 hard_iface->net_dev->name); 65 memcpy(ethhdr->h_source, hard_iface->net_dev->dev_addr, ETH_ALEN); 73 skb->dev = hard_iface->net_dev; 330 hard_iface->net_dev->name);
|
H A D | bridge_loop_avoidance.c | 289 primary_if->net_dev->dev_addr, 442 primary_if->net_dev->dev_addr, 471 primary_if->net_dev->dev_addr, 697 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) 718 primary_if->net_dev->dev_addr)) 755 if (batadv_compare_eth(backbone_addr, primary_if->net_dev->dev_addr)) 815 if (batadv_compare_eth(backbone_addr, primary_if->net_dev->dev_addr)) 1029 primary_if->net_dev->dev_addr)) 1067 group = htons(crc16(0, primary_if->net_dev->dev_addr, ETH_ALEN)); 1091 oldif->net_dev 1602 struct net_device *net_dev = (struct net_device *)seq->private; local 1646 struct net_device *net_dev = (struct net_device *)seq->private; local [all...] |
H A D | main.h | 223 #define batadv_info(net_dev, fmt, arg...) \ 225 struct net_device *_netdev = (net_dev); \ 230 #define batadv_err(net_dev, fmt, arg...) \ 232 struct net_device *_netdev = (net_dev); \
|
H A D | main.c | 207 if (batadv_compare_eth(hard_iface->net_dev->dev_addr, addr)) { 226 struct net_device *net_dev = (struct net_device *)seq->private; local 227 struct batadv_priv *bat_priv = netdev_priv(net_dev); 235 net_dev->name); 244 net_dev->name);
|
H A D | distributed-arp-table.h | 67 addr = batadv_choose_orig(primary_if->net_dev->dev_addr,
|
H A D | bat_iv_ogm.c | 119 hard_iface->net_dev->dev_addr, ETH_ALEN); 121 hard_iface->net_dev->dev_addr, ETH_ALEN); 224 batadv_ogm_packet->ttvn, hard_iface->net_dev->name, 225 hard_iface->net_dev->dev_addr); 286 forw_packet->if_incoming->net_dev->name, 287 forw_packet->if_incoming->net_dev->dev_addr); 1052 ethhdr->h_source, if_incoming->net_dev->name, 1053 if_incoming->net_dev->dev_addr, batadv_ogm_packet->orig, 1070 hard_iface->net_dev->dev_addr)) 1074 hard_iface->net_dev [all...] |
H A D | originator.c | 325 if_incoming->net_dev->name); 430 struct net_device *net_dev = (struct net_device *)seq->private; local 431 struct batadv_priv *bat_priv = netdev_priv(net_dev); 448 BATADV_SOURCE_VERSION, primary_if->net_dev->name, 449 primary_if->net_dev->dev_addr, net_dev->name); 475 neigh_node->if_incoming->net_dev->name);
|
H A D | gateway_client.c | 457 router->if_incoming->net_dev->name, 473 struct net_device *net_dev = (struct net_device *)seq->private; local 474 struct batadv_priv *bat_priv = netdev_priv(net_dev); 486 BATADV_SOURCE_VERSION, primary_if->net_dev->name, 487 primary_if->net_dev->dev_addr, net_dev->name);
|
H A D | unicast.c | 264 memcpy(frag1->orig, primary_if->net_dev->dev_addr, ETH_ALEN); 372 memcpy(unicast_4addr_packet->src, primary_if->net_dev->dev_addr, 454 dev_mtu = neigh_node->if_incoming->net_dev->mtu;
|
/net/wimax/ |
H A D | debugfs.c | 42 struct net_device *net_dev = wimax_dev->net_dev; local 43 struct device *dev = net_dev->dev.parent; 47 snprintf(buf, sizeof(buf), "wimax:%s", net_dev->name);
|
H A D | id-table.c | 85 * 'dev_put(wimax_dev->net_dev)'. 95 if (wimax_dev->net_dev->ifindex == ifindex) { 96 dev_hold(wimax_dev->net_dev); 141 __func__, wimax_dev, wimax_dev->net_dev->ifindex);
|
H A D | stack.c | 138 wimax_dev->net_dev->ifindex); 278 netif_tx_disable(wimax_dev->net_dev); 279 netif_carrier_off(wimax_dev->net_dev); 311 netif_carrier_on(wimax_dev->net_dev); 312 netif_wake_queue(wimax_dev->net_dev); 441 * @wimax_dev: WiMAX device descriptor (as embedded in your @net_dev's 444 * @net_dev: net device the @wimax_dev is associated with. The 457 int wimax_dev_add(struct wimax_dev *wimax_dev, struct net_device *net_dev) argument 460 struct device *dev = net_dev->dev.parent; 463 d_fnstart(3, dev, "(wimax_dev %p net_dev [all...] |
H A D | op-reset.c | 78 dev_hold(wimax_dev->net_dev); 87 dev_put(wimax_dev->net_dev); 128 dev_put(wimax_dev->net_dev);
|
H A D | op-state-get.c | 70 dev_put(wimax_dev->net_dev);
|
H A D | op-msg.c | 116 * wimax_dev->net_dev pointer is set to point to a proper 117 * net_dev. This is so that drivers can use it early in case they need 145 wimax_dev->net_dev->ifindex); 269 * wimax_dev->net_dev pointer is set to point to a proper 270 * net_dev. This is so that drivers can use it early in case they need 415 dev_put(wimax_dev->net_dev);
|
/net/atm/ |
H A D | br2684.c | 83 struct net_device *net_dev; member in struct:br2684_dev 102 static inline struct br2684_dev *BRPRIV(const struct net_device *net_dev) argument 104 return netdev_priv(net_dev); 109 return list_entry(le, struct br2684_dev, br2684_devs)->net_dev; 126 struct net_device *net_dev; local 130 net_dev = list_entry_brdev(lh); 131 if (BRPRIV(net_dev)->number == s->spec.devnum) 132 return net_dev; 137 net_dev = list_entry_brdev(lh); 138 if (!strncmp(net_dev 151 struct net_device *net_dev; local 426 struct net_device *net_dev = brvcc->device; local 535 struct net_device *net_dev; local 787 const struct net_device *net_dev = brdev->net_dev; local 855 struct net_device *net_dev; local [all...] |
/net/netfilter/ |
H A D | xt_qtaguid.c | 752 stats = dev_get_stats(iface_entry->net_dev, 827 * update the net_dev accordingly also. 830 struct net_device *net_dev, 834 entry->net_dev = net_dev; 839 __this_cpu_read(*net_dev->pcpu_refcnt)); 842 entry->net_dev = NULL; 846 __this_cpu_read(*net_dev->pcpu_refcnt)); 852 static struct iface_stat *iface_alloc(struct net_device *net_dev) argument 860 "iface_stat alloc failed\n", net_dev 829 _iface_stat_set_active(struct iface_stat *entry, struct net_device *net_dev, bool activate) argument 894 iface_check_stats_reset_and_adjust(struct net_device *net_dev, struct iface_stat *iface) argument 941 iface_stat_create(struct net_device *net_dev, struct in_ifaddr *ifa) argument 1008 iface_stat_create_ipv6(struct net_device *net_dev, struct inet6_ifaddr *ifa) argument 1128 iface_stat_update(struct net_device *net_dev, bool stash_only) argument [all...] |
H A D | xt_qtaguid_internal.h | 221 /* net_dev is only valid for active iface_stat */ 222 struct net_device *net_dev; member in struct:iface_stat
|