/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 == 0 || net_dev->iflink == net_dev 100 batadv_is_valid_iface(const struct net_device *net_dev) argument 216 batadv_check_known_mac_addr(const struct net_device *net_dev) argument 553 batadv_hardif_add_interface(struct net_device *net_dev) argument 641 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); local [all...] |
H A D | gateway_common.h | 41 ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff,
|
H A D | soft-interface.h | 27 int batadv_softif_is_valid(const struct net_device *net_dev);
|
H A D | debugfs.c | 247 struct net_device *net_dev = (struct net_device *)inode->i_private; local 249 return single_open(file, batadv_orig_seq_print_text, net_dev); 261 struct net_device *net_dev = (struct net_device *)inode->i_private; local 263 return single_open(file, batadv_orig_hardif_seq_print_text, net_dev); 268 struct net_device *net_dev = (struct net_device *)inode->i_private; local 270 return single_open(file, batadv_gw_client_seq_print_text, net_dev); 275 struct net_device *net_dev = (struct net_device *)inode->i_private; local 277 return single_open(file, batadv_tt_global_seq_print_text, net_dev); 283 struct net_device *net_dev = (struct net_device *)inode->i_private; local 286 net_dev); 292 struct net_device *net_dev = (struct net_device *)inode->i_private; local 308 struct net_device *net_dev = (struct net_device *)inode->i_private; local 316 struct net_device *net_dev = (struct net_device *)inode->i_private; local 329 struct net_device *net_dev = (struct net_device *)inode->i_private; local [all...] |
H A D | gateway_common.c | 25 * @net_dev: the soft interface net device 32 static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff, argument 57 batadv_err(net_dev, 90 batadv_err(net_dev, 139 ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff, argument 142 struct batadv_priv *bat_priv = netdev_priv(net_dev); 149 ret = batadv_parse_gw_bandwidth(net_dev, buff, &down_new, &up_new); 166 batadv_info(net_dev,
|
H A D | sysfs.c | 38 struct net_device *net_dev = batadv_kobj_to_netdev(obj); local 40 return netdev_priv(net_dev); 127 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \ 128 struct batadv_priv *bat_priv = netdev_priv(net_dev); \ 131 &bat_priv->_name, net_dev); \ 160 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \ 161 struct batadv_priv *bat_priv = netdev_priv(net_dev); \ 165 &bat_priv->_name, net_dev); \ 225 struct net_device *net_dev, 244 batadv_info(net_dev, " 224 batadv_store_bool_attr(char *buff, size_t count, struct net_device *net_dev, const char *attr_name, atomic_t *attr) argument 261 __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 276 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 315 __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 339 batadv_post_gw_reselect(struct net_device *net_dev) argument 374 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local 455 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local 495 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local 731 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local 756 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local 812 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); local [all...] |
H A D | distributed-arp-table.h | 33 void batadv_dat_status_update(struct net_device *net_dev); 69 addr = batadv_choose_orig(primary_if->net_dev->dev_addr, 103 static inline void batadv_dat_status_update(struct net_device *net_dev) argument
|
H A D | network-coding.h | 23 void batadv_nc_status_update(struct net_device *net_dev); 49 static inline void batadv_nc_status_update(struct net_device *net_dev) argument
|
H A D | bridge_loop_avoidance.c | 289 primary_if->net_dev->dev_addr, 445 primary_if->net_dev->dev_addr, 476 primary_if->net_dev->dev_addr, 707 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) 728 primary_if->net_dev->dev_addr)) 765 if (batadv_compare_eth(backbone_addr, primary_if->net_dev->dev_addr)) 820 if (batadv_compare_eth(backbone_addr, primary_if->net_dev->dev_addr)) 1065 primary_if->net_dev->dev_addr)) 1103 group = htons(crc16(0, primary_if->net_dev->dev_addr, ETH_ALEN)); 1127 oldif->net_dev 1633 struct net_device *net_dev = (struct net_device *)seq->private; local 1677 struct net_device *net_dev = (struct net_device *)seq->private; local [all...] |
H A D | send.c | 47 if (unlikely(!hard_iface->net_dev)) 50 if (!(hard_iface->net_dev->flags & IFF_UP)) { 52 hard_iface->net_dev->name); 63 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); 70 skb->dev = hard_iface->net_dev; 116 skb->len > neigh_node->if_incoming->net_dev->mtu) { 224 ether_addr_copy(uc_4addr_packet->src, primary_if->net_dev->dev_addr); 588 hard_iface->net_dev->name);
|
H A D | hard-interface.h | 45 batadv_hardif_get_by_netdev(const struct net_device *net_dev);
|
H A D | main.h | 264 #define batadv_info(net_dev, fmt, arg...) \ 266 struct net_device *_netdev = (net_dev); \ 271 #define batadv_err(net_dev, fmt, arg...) \ 273 struct net_device *_netdev = (net_dev); \
|
H A D | originator.c | 741 neigh->addr, if_outgoing->net_dev->name); 785 orig_node->orig, if_outgoing->net_dev->name); 838 if_incoming->net_dev->name); 1014 struct net_device *net_dev = (struct net_device *)seq->private; local 1015 struct batadv_priv *bat_priv = netdev_priv(net_dev); 1023 BATADV_SOURCE_VERSION, primary_if->net_dev->name, 1024 primary_if->net_dev->dev_addr, net_dev->name, 1051 struct net_device *net_dev = (struct net_device *)seq->private; local 1055 hard_iface = batadv_hardif_get_by_netdev(net_dev); [all...] |
H A D | gateway_client.c | 599 router->if_incoming->net_dev->name, 617 struct net_device *net_dev = (struct net_device *)seq->private; local 618 struct batadv_priv *bat_priv = netdev_priv(net_dev); 630 BATADV_SOURCE_VERSION, primary_if->net_dev->name, 631 primary_if->net_dev->dev_addr, net_dev->name);
|
H A D | fragmentation.c | 355 if (total_size > neigh_node->if_incoming->net_dev->mtu) { 428 unsigned mtu = neigh_node->if_incoming->net_dev->mtu; 457 ether_addr_copy(frag_header.orig, primary_if->net_dev->dev_addr);
|
H A D | bat_iv_ogm.c | 301 hard_iface->net_dev->name); 352 hard_iface->net_dev->dev_addr); 354 hard_iface->net_dev->dev_addr); 457 hard_iface->net_dev->name, 458 hard_iface->net_dev->dev_addr); 1230 batadv_is_wifi_netdev(if_outgoing->net_dev)) 1247 batadv_ogm_packet->tq, if_incoming->net_dev->name, 1248 if_outgoing ? if_outgoing->net_dev->name : "DEFAULT"); 1352 if_outgoing ? if_outgoing->net_dev->name : "DEFAULT", 1609 ethhdr->h_source, if_incoming->net_dev [all...] |
/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 | op-reset.c | 78 dev_hold(wimax_dev->net_dev); 87 dev_put(wimax_dev->net_dev); 119 dev_put(wimax_dev->net_dev);
|
H A D | stack.c | 139 wimax_dev->net_dev->ifindex); 279 netif_tx_disable(wimax_dev->net_dev); 280 netif_carrier_off(wimax_dev->net_dev); 312 netif_carrier_on(wimax_dev->net_dev); 313 netif_wake_queue(wimax_dev->net_dev); 464 * @wimax_dev: WiMAX device descriptor (as embedded in your @net_dev's 467 * @net_dev: net device the @wimax_dev is associated with. The 480 int wimax_dev_add(struct wimax_dev *wimax_dev, struct net_device *net_dev) argument 483 struct device *dev = net_dev->dev.parent; 486 d_fnstart(3, dev, "(wimax_dev %p net_dev [all...] |
H A D | op-state-get.c | 61 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 402 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
|