table of contents
other versions
NETDEV_MASTER_UPPER_(9) | Network device support | NETDEV_MASTER_UPPER_(9) |
NAME¶
netdev_master_upper_dev_link - Add a master link to the upper deviceSYNOPSIS¶
int netdev_master_upper_dev_link(struct net_device * dev, struct net_device * upper_dev, void * upper_priv, void * upper_info);
ARGUMENTS¶
struct net_device * devdevice
struct net_device * upper_dev
new upper device
void * upper_priv
upper device private
void * upper_info
upper info to be passed down via notifier
DESCRIPTION¶
Adds a link to device which is upper to this one. In this case, only one master upper device can be linked, although other non-master devices might be linked as well. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |