Rechercher une page de manuel
netdev_set_master
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
netdev_set_master - set up master/slave pairSYNOPSIS
- int netdev_set_master(struct net_device * slave, struct net_device * master);
ARGUMENTS
slave
- slave 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 the reference counts are adjusted, RTM_NEWLINK is sent to the routing socket and the function returns zero.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre