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

NAME

6       netdev_set_master - set up master/slave pair
7

SYNOPSIS

9       int netdev_set_master(struct net_device * slave,
10                             struct net_device * master);
11

ARGUMENTS

13       slave
14           slave device
15
16       master
17           new master device
18

DESCRIPTION

20       Changes the master device of the slave. Pass NULL to break the bonding.
21       The caller must hold the RTNL semaphore. On a failure a negative errno
22       code is returned. On success the reference counts are adjusted,
23       RTM_NEWLINK is sent to the routing socket and the function returns
24       zero.
25
27Kernel Hackers Manual 2.6.         June 2019              NETDEV_SET_MASTER(9)
Impressum