26 if (!memcmp (mif->
partner.system, mif->
actor.system, 6) &&
30 mif->
actor.state &= ~LACP_STATE_AGGREGATION;
36 case LACP_MUX_STATE_DETACHED:
38 case LACP_MUX_STATE_WAITING:
42 case LACP_MUX_STATE_ATTACHED:
43 if (!(mif->
partner.state & LACP_STATE_SYNCHRONIZATION))
46 case LACP_MUX_STATE_COLLECTING_DISTRIBUTING:
66 if (mif2 && (mif2->
actor.state & LACP_STATE_SYNCHRONIZATION) &&
77 if (mif2->
selected == LACP_PORT_SELECTED)
void lacp_selection_logic(vlib_main_t *vm, member_if_t *mif)
static bond_if_t * bond_get_bond_if_by_dev_instance(u32 dev_instance)
lacp_machine_t lacp_mux_machine
static member_if_t * bond_get_member_by_sw_if_index(u32 sw_if_index)
static void lacp_set_port_selected(vlib_main_t *vm, member_if_t *mif)
int lacp_machine_dispatch(lacp_machine_t *machine, vlib_main_t *vm, member_if_t *mif, int event, int *state)
#define vec_foreach(var, vec)
Vector iterator.
vl_api_interface_index_t sw_if_index