table of contents
other versions
| NETDEV_HAS_UPPER_DEV(9) | Network device support | NETDEV_HAS_UPPER_DEV(9) |
NAME¶
netdev_has_upper_dev_all_rcu - Check if device is linked to an upper deviceSYNOPSIS¶
bool netdev_has_upper_dev_all_rcu(struct net_device * dev, struct net_device * upper_dev);
ARGUMENTS¶
struct net_device * devdevice
struct net_device * upper_dev
upper device to check
DESCRIPTION¶
Find out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.COPYRIGHT¶
| September 2017 | Kernel Hackers Manual 4.12 |