.\" 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 "__CHOOSE_MATCHED" "9" "09 October 2005" "" "" .SH NAME __choose_matched \- update a port's matched variable from a received lacpdu .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void __choose_matched (struct lacpdu * \fIlacpdu\fB, struct port * \fIport\fB); \fR .SH "ARGUMENTS" .TP \fB\fIlacpdu\fB\fR the lacpdu we've received .TP \fB\fIport\fB\fR the port we're looking at .SH "DESCRIPTION" .PP Update the value of the matched variable, using parameter values from a newly received lacpdu. Parameter values for the partner carried in the received PDU are compared with the corresponding operational parameter values for the actor. Matched is set to TRUE if all of these parameters match and the PDU parameter partner_state.aggregation has the same value as actor_oper_port_state.aggregation and lacp will actively maintain the link in the aggregation. Matched is also set to TRUE if the value of actor_state.aggregation in the received PDU is set to FALSE, i.e., indicates an individual link and lacp will actively maintain the link. Otherwise, matched is set to FALSE. LACP is considered to be actively maintaining the link if either the PDU's actor_state.lacp_activity variable is TRUE or both the actor's actor_oper_port_state.lacp_activity and the PDU's partner_state.lacp_activity variables are TRUE.