Lines Matching defs:net_device

60  * batadv_hardif_get_by_netdev() - Get hard interface object of a net_device
61 * @net_dev: net_device to search for
66 batadv_hardif_get_by_netdev(const struct net_device *net_dev)
86 * @netdev: net_device to check
91 static struct net *batadv_getlink_net(const struct net_device *netdev,
114 static bool batadv_mutual_parents(const struct net_device *dev1,
116 const struct net_device *dev2,
149 static bool batadv_is_on_batman_iface(const struct net_device *net_dev)
152 struct net_device *parent_dev;
187 static bool batadv_is_valid_iface(const struct net_device *net_dev)
216 static struct net_device *batadv_get_real_netdevice(struct net_device *netdev)
219 struct net_device *real_netdev = NULL;
257 * batadv_get_real_netdev() - check if the given net_device struct is a virtual
259 * @net_device: the device to check
264 struct net_device *batadv_get_real_netdev(struct net_device *net_device)
266 struct net_device *real_netdev;
269 real_netdev = batadv_get_real_netdevice(net_device);
276 * batadv_is_wext_netdev() - check if the given net_device struct is a
278 * @net_device: the device to check
283 static bool batadv_is_wext_netdev(struct net_device *net_device)
285 if (!net_device)
292 if (net_device->wireless_handlers)
300 * batadv_is_cfg80211_netdev() - check if the given net_device struct is a
302 * @net_device: the device to check
307 static bool batadv_is_cfg80211_netdev(struct net_device *net_device)
309 if (!net_device)
314 if (net_device->ieee80211_ptr)
322 * batadv_wifi_flags_evaluate() - calculate wifi flags for net_device
323 * @net_device: the device to check
327 static u32 batadv_wifi_flags_evaluate(struct net_device *net_device)
330 struct net_device *real_netdev;
332 if (batadv_is_wext_netdev(net_device))
335 if (batadv_is_cfg80211_netdev(net_device))
338 real_netdev = batadv_get_real_netdevice(net_device);
342 if (real_netdev == net_device)
441 batadv_hardif_get_active(const struct net_device *soft_iface)
509 static void batadv_check_known_mac_addr(const struct net_device *net_dev)
537 static void batadv_hardif_recalc_extra_skbroom(struct net_device *soft_iface)
581 int batadv_hardif_min_mtu(struct net_device *soft_iface)
632 void batadv_update_min_mtu(struct net_device *soft_iface)
710 struct net_device *soft_iface)
802 static size_t batadv_hardif_cnt(const struct net_device *soft_iface)
871 batadv_hardif_add_interface(struct net_device *net_dev)
937 * @net_dev: net_device which generated an event
942 struct net_device *net_dev)
959 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr);