.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "BOND_CHANGE_ACTIVE_SLAVE" "9" "09 October 2005" "" "" .SH NAME bond_change_active_slave \- change the active slave into the specified one .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void bond_change_active_slave (struct bonding * \fIbond\fB, struct slave * \fInew_active\fB); \fR .SH "ARGUMENTS" .TP \fB\fIbond\fB\fR our bonding struct .TP \fB\fInew_active\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP 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. .PP If \fInew\fR\&'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. .SH "WARNING" .PP Caller must hold curr_slave_lock for writing.