26 if (!memcmp (sif->
partner.system, sif->
actor.system, 6) &&
30 sif->
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 (!(sif->
partner.state & LACP_STATE_SYNCHRONIZATION))
46 case LACP_MUX_STATE_COLLECTING_DISTRIBUTING:
66 if (sif2 && (sif2->
actor.state & LACP_STATE_SYNCHRONIZATION) &&
77 if (sif2->
selected == LACP_PORT_SELECTED)
vl_api_interface_index_t sw_if_index
void lacp_selection_logic(vlib_main_t *vm, slave_if_t *sif)
lacp_machine_t lacp_mux_machine
static bond_if_t * bond_get_master_by_dev_instance(u32 dev_instance)
#define vec_foreach(var, vec)
Vector iterator.
static slave_if_t * bond_get_slave_by_sw_if_index(u32 sw_if_index)
static void lacp_set_port_selected(vlib_main_t *vm, slave_if_t *sif)
int lacp_machine_dispatch(lacp_machine_t *machine, vlib_main_t *vm, slave_if_t *sif, int event, int *state)