CHANGE_ACTIVE_INTERFACE
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
change_active_interface - change the active slave into the specified one
SYNOPSIS
"SYNOPSIS"
void change_active_interface (struct bonding * bond, struct slave * new);
ARGUMENTS
- bond
-
our bonding struct
- new
-
the new slave to make the active one
DESCRIPTION
Set the new slave to the bond's settings and unset them on the old
current_slave.
Setting include flags, mc-list, promiscuity, allmulti, etc.
If new's link state is BOND_LINK_BACK we'll set it to BOND_LINK_UP,
because it is apparently the best available slave we have, even though its
updelay hasn't timed out yet.
WARNING
Caller must hold ptrlock for writing.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- WARNING
-
This document was created by
man2html,
using the manual pages.
Time: 05:30:26 GMT, October 06, 2005