Searched defs:net_dev (Results 1 - 20 of 20) 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.c139 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...]
/net/batman-adv/
H A Ddistributed-arp-table.h33 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 Dnetwork-coding.h23 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 Dgateway_common.c25 * @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 Ddebugfs.c247 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 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 == 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 Dgateway_client.c599 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 Ddistributed-arp-table.c661 * @net_dev: the soft interface net device
663 void batadv_dat_status_update(struct net_device *net_dev) argument
665 struct batadv_priv *bat_priv = netdev_priv(net_dev);
750 struct net_device *net_dev = (struct net_device *)seq->private; local
751 struct batadv_priv *bat_priv = netdev_priv(net_dev);
764 seq_printf(seq, "Distributed ARP Table (%s):\n", net_dev->name);
H A Doriginator.c741 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 Dsoft-interface.c296 primary_if->net_dev->dev_addr);
978 int batadv_softif_is_valid(const struct net_device *net_dev) argument
980 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
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 Dbridge_loop_avoidance.c289 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 Dmain.c226 if (batadv_compare_eth(hard_iface->net_dev->dev_addr, addr)) {
245 struct net_device *net_dev = (struct net_device *)seq->private; local
246 struct batadv_priv *bat_priv = netdev_priv(net_dev);
254 net_dev->name);
263 net_dev->name);
H A Dnetwork-coding.c84 * @net_dev: the soft interface net device
86 void batadv_nc_status_update(struct net_device *net_dev) argument
88 struct batadv_priv *bat_priv = netdev_priv(net_dev);
1850 struct net_device *net_dev = (struct net_device *)seq->private; local
1851 struct batadv_priv *bat_priv = netdev_priv(net_dev);
H A Dtranslation-table.c903 struct net_device *net_dev = (struct net_device *)seq->private; local
904 struct batadv_priv *bat_priv = netdev_priv(net_dev);
925 net_dev->name, (uint8_t)atomic_read(&bat_priv->tt.vn));
1574 struct net_device *net_dev = (struct net_device *)seq->private; local
1575 struct batadv_priv *bat_priv = netdev_priv(net_dev);
1589 net_dev->name);
2488 batadv_tvlv_unicast_send(bat_priv, primary_if->net_dev->dev_addr,
2738 batadv_tvlv_unicast_send(bat_priv, primary_if->net_dev->dev_addr,
3064 batadv_tvlv_unicast_send(bat_priv, primary_if->net_dev->dev_addr,
H A Dtypes.h78 * @net_dev: pointer to the net_device
94 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 170 milliseconds