netdev_has_any_upper_dev(9)

netdev_has_any_upper_dev9

Check if device is linked to some device

Usage

bool netdev_has_any_upper_dev(struct net_device * dev);

Arguments

dev

device

Overview

Find out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.