1NETDEV_HAS_UPPER_DEV(9) Network device support NETDEV_HAS_UPPER_DEV(9)
2
3
4
6 netdev_has_upper_dev - Check if device is linked to an upper device
7
9 bool netdev_has_upper_dev(struct net_device * dev,
10 struct net_device * upper_dev);
11
13 dev
14 device
15
16 upper_dev
17 upper device to check
18
20 Find out if a device is linked to specified upper device and return
21 true in case it is. Note that this checks only immediate upper device,
22 not through a complete stack of devices. The caller must hold the RTNL
23 lock.
24
26Kernel Hackers Manual 3.10 June 2019 NETDEV_HAS_UPPER_DEV(9)