table of contents
other versions
- wheezy 3.2.78-1
NETDEV_SET_BOND_MAST(9) | Network device support | NETDEV_SET_BOND_MAST(9) |
NAME¶
netdev_set_bond_master - set up bonding master/slave pairSYNOPSIS¶
int
netdev_set_bond_master(struct net_device * slave,
struct net_device * master);
ARGUMENTS¶
slaveslave device
master
new master device
DESCRIPTION¶
Changes the master device of the slave. Pass NULL to break the bonding. The caller must hold the RTNL semaphore. On a failure a negative errno code is returned. On success RTM_NEWLINK is sent to the routing socket and the function returns zero.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |