FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
mux_machine.h File Reference
+ Include dependency graph for mux_machine.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define foreach_lacp_mux_event
 
#define foreach_lacp_mux_sm_state
 
#define LACP_ACTION_DETACHED   LACP_ACTION_ROUTINE(lacp_mux_action_detached)
 
#define LACP_ACTION_ATTACHED   LACP_ACTION_ROUTINE(lacp_mux_action_attached)
 
#define LACP_ACTION_WAITING   LACP_ACTION_ROUTINE(lacp_mux_action_waiting)
 
#define LACP_ACTION_COLLECTING_DISTRIBUTING   LACP_ACTION_ROUTINE(lacp_mux_action_collecting_distributing)
 

Enumerations

enum  lacp_mux_event_t { foreach_lacp_mux_event }
 
enum  lacp_mux_sm_state_t { foreach_lacp_mux_sm_state }
 

Functions

int lacp_mux_action_detached (void *p1, void *p2)
 
int lacp_mux_action_attached (void *p1, void *p2)
 
int lacp_mux_action_waiting (void *p1, void *p2)
 
int lacp_mux_action_collecting_distributing (void *p1, void *p2)
 
void lacp_mux_debug_func (member_if_t *mif, int event, int state, lacp_fsm_state_t *transition)
 
static void lacp_start_wait_while_timer (vlib_main_t *vm, member_if_t *mif, u8 expiration)
 

Variables

lacp_machine_t lacp_mux_machine
 

Macro Definition Documentation

◆ foreach_lacp_mux_event

#define foreach_lacp_mux_event
Value:
_(0, BEGIN, "begin") \
_(1, SELECTED, "selected") \
_(2, STANDBY, "standby") \
_(3, UNSELECTED, "unselected") \
_(4, READY, "ready") \
_(5, SYNC, "sync")

Definition at line 22 of file mux_machine.h.

◆ foreach_lacp_mux_sm_state

#define foreach_lacp_mux_sm_state
Value:
_(0, DETACHED, "detached") \
_(1, WAITING, "waiting") \
_(2, ATTACHED, "attached") \
_(3, COLLECTING_DISTRIBUTING, "collecting distributing")

Definition at line 37 of file mux_machine.h.

◆ LACP_ACTION_ATTACHED

#define LACP_ACTION_ATTACHED   LACP_ACTION_ROUTINE(lacp_mux_action_attached)

Definition at line 60 of file mux_machine.h.

◆ LACP_ACTION_COLLECTING_DISTRIBUTING

#define LACP_ACTION_COLLECTING_DISTRIBUTING   LACP_ACTION_ROUTINE(lacp_mux_action_collecting_distributing)

Definition at line 62 of file mux_machine.h.

◆ LACP_ACTION_DETACHED

#define LACP_ACTION_DETACHED   LACP_ACTION_ROUTINE(lacp_mux_action_detached)

Definition at line 59 of file mux_machine.h.

◆ LACP_ACTION_WAITING

#define LACP_ACTION_WAITING   LACP_ACTION_ROUTINE(lacp_mux_action_waiting)

Definition at line 61 of file mux_machine.h.

Enumeration Type Documentation

◆ lacp_mux_event_t

Enumerator
foreach_lacp_mux_event 

Definition at line 30 of file mux_machine.h.

◆ lacp_mux_sm_state_t

Enumerator
foreach_lacp_mux_sm_state 

Definition at line 43 of file mux_machine.h.

Function Documentation

◆ lacp_mux_action_attached()

int lacp_mux_action_attached ( void *  p1,
void *  p2 
)

Definition at line 121 of file mux_machine.c.

+ Here is the call graph for this function:

◆ lacp_mux_action_collecting_distributing()

int lacp_mux_action_collecting_distributing ( void *  p1,
void *  p2 
)

Definition at line 166 of file mux_machine.c.

+ Here is the call graph for this function:

◆ lacp_mux_action_detached()

int lacp_mux_action_detached ( void *  p1,
void *  p2 
)

Definition at line 97 of file mux_machine.c.

+ Here is the call graph for this function:

◆ lacp_mux_action_waiting()

int lacp_mux_action_waiting ( void *  p1,
void *  p2 
)

Definition at line 146 of file mux_machine.c.

+ Here is the call graph for this function:

◆ lacp_mux_debug_func()

void lacp_mux_debug_func ( member_if_t mif,
int  event,
int  state,
lacp_fsm_state_t transition 
)

Definition at line 207 of file mux_machine.c.

+ Here is the call graph for this function:

◆ lacp_start_wait_while_timer()

static void lacp_start_wait_while_timer ( vlib_main_t vm,
member_if_t mif,
u8  expiration 
)
inlinestatic

Definition at line 66 of file mux_machine.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ lacp_mux_machine

lacp_machine_t lacp_mux_machine

Definition at line 77 of file mux_machine.c.