BOND_CHANGE_ACTIVE_SLAVE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

bond_change_active_slave - change the active slave into the specified one  

SYNOPSIS

"SYNOPSIS"

void bond_change_active_slave (struct bonding * bond, struct slave * new_active);  

ARGUMENTS

bond
our bonding struct
new_active
-- undescribed --
 

DESCRIPTION

Set the new slave to the bond's settings and unset them on the old curr_active_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 curr_slave_lock for writing.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
WARNING

This document was created by man2html, using the manual pages.
Time: 00:01:59 GMT, October 09, 2005