1NETDEV_HAS_ANY_UPPER(9) Network device support NETDEV_HAS_ANY_UPPER(9)
23
4
NAME
6netdev_has_any_upper_dev - Check if device is linked to some device
7
SYNOPSIS
9bool netdev_has_any_upper_dev(struct net_device * dev);
10
ARGUMENTS
12dev
13device
14
DESCRIPTION
16Find out if a device is linked to an upper device and return true in
17case it is. The caller must hold the RTNL lock.
18
COPYRIGHT
20Kernel Hackers Manual 3.10 June 2019 NETDEV_HAS_ANY_UPPER(9)