1NETDEV_UPPER_DEV_LIN(9) Network device support NETDEV_UPPER_DEV_LIN(9)
2
3
4
6 netdev_upper_dev_link - Add a link to the upper device
7
9 int netdev_upper_dev_link(struct net_device * dev,
10 struct net_device * upper_dev);
11
13 dev
14 device
15
16 upper_dev
17 new upper device
18
20 Adds a link to device which is upper to this one. The caller must hold
21 the RTNL lock. On a failure a negative errno code is returned. On
22 success the reference counts are adjusted and the function returns
23 zero.
24
26Kernel Hackers Manual 3.10 June 2019 NETDEV_UPPER_DEV_LIN(9)