NETDEV_SET_MASTER

Section: (9)
Updated: 09 April 2004
Index Return to Main Contents

 

NAME

netdev_set_master - set up master/slave pair  

SYNOPSIS

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.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 09:20:07 GMT, April 09, 2004