1NETDEV_MASTER_UPPER_(9)     Network device support     NETDEV_MASTER_UPPER_(9)
2
3
4

NAME

6       netdev_master_upper_dev_link_rh - Add a master link to the upper device
7

SYNOPSIS

9       int netdev_master_upper_dev_link_rh(struct net_device * dev,
10                                           struct net_device * upper_dev,
11                                           void * upper_priv,
12                                           void * upper_info);
13

ARGUMENTS

15       dev
16           device
17
18       upper_dev
19           new upper device
20
21       upper_priv
22           upper device private
23
24       upper_info
25           upper info to be passed down via notifier
26

DESCRIPTION

28       Adds a link to device which is upper to this one. In this case, only
29       one master upper device can be linked, although other non-master
30       devices might be linked as well. The caller must hold the RTNL lock. On
31       a failure a negative errno code is returned. On success the reference
32       counts are adjusted and the function returns zero.
33
35Kernel Hackers Manual 3.10         June 2019           NETDEV_MASTER_UPPER_(9)
Impressum