table of contents
other versions
- stretch 4.9.168-1
NETDEV_UPPER_DEV_LIN(9) | Network device support | NETDEV_UPPER_DEV_LIN(9) |
NAME¶
netdev_upper_dev_link - Add a link to the upper deviceSYNOPSIS¶
int netdev_upper_dev_link(struct net_device * dev, struct net_device * upper_dev);
ARGUMENTS¶
devdevice
upper_dev
new upper device
DESCRIPTION¶
Adds a link to device which is upper to this one. 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¶
April 2019 | Kernel Hackers Manual 4.9. |