FD.io VPP  v18.11-rc0-18-g2a3fb1a
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 (slave_if_t *sif, int event, int state, lacp_fsm_state_t *transition)
 
static void lacp_start_wait_while_timer (vlib_main_t *vm, slave_if_t *sif, u8 expiration)
 

Variables

lacp_machine_t lacp_mux_machine
 

Macro Definition Documentation

#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.

#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.

#define LACP_ACTION_ATTACHED   LACP_ACTION_ROUTINE(lacp_mux_action_attached)

Definition at line 60 of file mux_machine.h.

#define LACP_ACTION_COLLECTING_DISTRIBUTING   LACP_ACTION_ROUTINE(lacp_mux_action_collecting_distributing)

Definition at line 62 of file mux_machine.h.

#define LACP_ACTION_DETACHED   LACP_ACTION_ROUTINE(lacp_mux_action_detached)

Definition at line 59 of file mux_machine.h.

#define LACP_ACTION_WAITING   LACP_ACTION_ROUTINE(lacp_mux_action_waiting)

Definition at line 61 of file mux_machine.h.

Enumeration Type Documentation

Enumerator
foreach_lacp_mux_event 

Definition at line 30 of file mux_machine.h.

Enumerator
foreach_lacp_mux_sm_state 

Definition at line 43 of file mux_machine.h.

Function Documentation

int lacp_mux_action_attached ( void *  p1,
void *  p2 
)

Definition at line 122 of file mux_machine.c.

+ Here is the call graph for this function:

int lacp_mux_action_collecting_distributing ( void *  p1,
void *  p2 
)

Definition at line 170 of file mux_machine.c.

+ Here is the call graph for this function:

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:

int lacp_mux_action_waiting ( void *  p1,
void *  p2 
)

Definition at line 148 of file mux_machine.c.

+ Here is the call graph for this function:

void lacp_mux_debug_func ( slave_if_t sif,
int  event,
int  state,
lacp_fsm_state_t transition 
)

Definition at line 213 of file mux_machine.c.

+ Here is the call graph for this function:

static void lacp_start_wait_while_timer ( vlib_main_t vm,
slave_if_t sif,
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_machine_t lacp_mux_machine

Definition at line 77 of file mux_machine.c.