Searched defs:net_dev (Results 1 - 19 of 19) sorted by relevance

/net/wimax/
H A Ddebugfs.c42 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 Dstack.c138 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...]
/net/batman-adv/
H A Dgateway_common.c76 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 Ddebugfs.c250 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 Dgateway_client.c457 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 Dhard-interface.c40 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 Dmain.c207 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 Doriginator.c325 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 Dsoft-interface.c253 primary_if->net_dev->dev_addr, ETH_ALEN);
679 int batadv_softif_is_valid(const struct net_device *net_dev) argument
681 if (net_dev->netdev_ops->ndo_start_xmit == batadv_interface_tx)
H A Dsysfs.c38 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 Dbridge_loop_avoidance.c289 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 Ddistributed-arp-table.c682 struct net_device *net_dev = (struct net_device *)seq->private; local
683 struct batadv_priv *bat_priv = netdev_priv(net_dev);
696 seq_printf(seq, "Distributed ARP Table (%s):\n", net_dev->name);
H A Dvis.c249 struct net_device *net_dev = (struct net_device *)seq->private; local
250 struct batadv_priv *bat_priv = netdev_priv(net_dev);
619 router->if_incoming->net_dev->dev_addr,
776 memcpy(packet->sender_orig, primary_if->net_dev->dev_addr, ETH_ALEN);
H A Dnetwork-coding.c1746 struct net_device *net_dev = (struct net_device *)seq->private; local
1747 struct batadv_priv *bat_priv = netdev_priv(net_dev);
H A Dtranslation-table.c464 struct net_device *net_dev = (struct net_device *)seq->private; local
465 struct batadv_priv *bat_priv = netdev_priv(net_dev);
484 net_dev->name, (uint8_t)atomic_read(&bat_priv->tt.vn),
1010 struct net_device *net_dev = (struct net_device *)seq->private; local
1011 struct batadv_priv *bat_priv = netdev_priv(net_dev);
1025 net_dev->name);
1679 memcpy(tt_request->src, primary_if->net_dev->dev_addr, ETH_ALEN);
1914 memcpy(tt_response->src, primary_if->net_dev->dev_addr, ETH_ALEN);
2230 memcpy(roam_adv_packet->src, primary_if->net_dev->dev_addr, ETH_ALEN);
H A Dtypes.h62 * @net_dev: pointer to the net_device
77 struct net_device *net_dev; member in struct:batadv_hard_iface
/net/atm/
H A Dbr2684.c83 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 Dxt_qtaguid_internal.h221 /* net_dev is only valid for active iface_stat */
222 struct net_device *net_dev; member in struct:iface_stat
H A Dxt_qtaguid.c752 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...]

Completed in 3391 milliseconds