FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
rx_machine.h File Reference
+ Include dependency graph for rx_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_rx_event
 
#define foreach_lacp_rx_sm_state
 
#define LACP_ACTION_INITIALIZE   LACP_ACTION_ROUTINE(lacp_rx_action_initialize)
 
#define LACP_ACTION_PORT_DISABLED   LACP_ACTION_ROUTINE(lacp_rx_action_port_disabled)
 
#define LACP_ACTION_EXPIRED   LACP_ACTION_ROUTINE(lacp_rx_action_expired)
 
#define LACP_ACTION_LACP_DISABLED   LACP_ACTION_ROUTINE(lacp_rx_action_lacp_disabled)
 
#define LACP_ACTION_DEFAULTED   LACP_ACTION_ROUTINE(lacp_rx_action_defaulted)
 
#define LACP_ACTION_CURRENT   LACP_ACTION_ROUTINE(lacp_rx_action_current)
 

Enumerations

enum  lacp_rx_event_t { foreach_lacp_rx_event }
 
enum  lacp_rx_sm_state_t { foreach_lacp_rx_sm_state }
 

Functions

int lacp_rx_action_initialize (void *, void *)
 
int lacp_rx_action_port_disabled (void *, void *)
 
int lacp_rx_action_pdu_received (void *, void *)
 
int lacp_rx_action_expired (void *, void *)
 
int lacp_rx_action_lacp_disabled (void *, void *)
 
int lacp_rx_action_defaulted (void *, void *)
 
int lacp_rx_action_current (void *, void *)
 
void lacp_rx_debug_func (member_if_t *mif, int event, int state, lacp_fsm_state_t *transition)
 
static void lacp_start_current_while_timer (vlib_main_t *vm, member_if_t *mif, u8 expiration)
 

Variables

lacp_machine_t lacp_rx_machine
 

Macro Definition Documentation

◆ foreach_lacp_rx_event

#define foreach_lacp_rx_event
Value:
_(0, BEGIN, "begin") \
_(1, PORT_DISABLED, "port disabled") \
_(2, PORT_MOVED, "port moved") \
_(3, LACP_ENABLED, "lacp enabled") \
_(4, LACP_DISABLED, "lacp disabled") \
_(5, PDU_RECEIVED, "pdu received") \
_(6, TIMER_EXPIRED, "timer expired")

Definition at line 22 of file rx_machine.h.

◆ foreach_lacp_rx_sm_state

#define foreach_lacp_rx_sm_state
Value:
_(0, INITIALIZE, "initialize") \
_(1, PORT_DISABLED, "port disabled") \
_(2, EXPIRED, "expired") \
_(3, LACP_DISABLED, "lacp disabled") \
_(4, DEFAULTED, "defaulted") \
_(5, CURRENT, "current")

Definition at line 38 of file rx_machine.h.

◆ LACP_ACTION_CURRENT

#define LACP_ACTION_CURRENT   LACP_ACTION_ROUTINE(lacp_rx_action_current)

Definition at line 74 of file rx_machine.h.

◆ LACP_ACTION_DEFAULTED

#define LACP_ACTION_DEFAULTED   LACP_ACTION_ROUTINE(lacp_rx_action_defaulted)

Definition at line 73 of file rx_machine.h.

◆ LACP_ACTION_EXPIRED

#define LACP_ACTION_EXPIRED   LACP_ACTION_ROUTINE(lacp_rx_action_expired)

Definition at line 69 of file rx_machine.h.

◆ LACP_ACTION_INITIALIZE

#define LACP_ACTION_INITIALIZE   LACP_ACTION_ROUTINE(lacp_rx_action_initialize)

Definition at line 65 of file rx_machine.h.

◆ LACP_ACTION_LACP_DISABLED

#define LACP_ACTION_LACP_DISABLED   LACP_ACTION_ROUTINE(lacp_rx_action_lacp_disabled)

Definition at line 71 of file rx_machine.h.

◆ LACP_ACTION_PORT_DISABLED

#define LACP_ACTION_PORT_DISABLED   LACP_ACTION_ROUTINE(lacp_rx_action_port_disabled)

Definition at line 67 of file rx_machine.h.

Enumeration Type Documentation

◆ lacp_rx_event_t

Enumerator
foreach_lacp_rx_event 

Definition at line 31 of file rx_machine.h.

◆ lacp_rx_sm_state_t

Enumerator
foreach_lacp_rx_sm_state 

Definition at line 46 of file rx_machine.h.

Function Documentation

◆ lacp_rx_action_current()

int lacp_rx_action_current ( void *  ,
void *   
)

Definition at line 362 of file rx_machine.c.

+ Here is the call graph for this function:

◆ lacp_rx_action_defaulted()

int lacp_rx_action_defaulted ( void *  ,
void *   
)

Definition at line 323 of file rx_machine.c.

+ Here is the call graph for this function:

◆ lacp_rx_action_expired()

int lacp_rx_action_expired ( void *  ,
void *   
)

Definition at line 282 of file rx_machine.c.

+ Here is the call graph for this function:

◆ lacp_rx_action_initialize()

int lacp_rx_action_initialize ( void *  ,
void *   
)

Definition at line 240 of file rx_machine.c.

+ Here is the call graph for this function:

◆ lacp_rx_action_lacp_disabled()

int lacp_rx_action_lacp_disabled ( void *  ,
void *   
)

Definition at line 309 of file rx_machine.c.

+ Here is the call graph for this function:

◆ lacp_rx_action_pdu_received()

int lacp_rx_action_pdu_received ( void *  ,
void *   
)

◆ lacp_rx_action_port_disabled()

int lacp_rx_action_port_disabled ( void *  ,
void *   
)

Definition at line 257 of file rx_machine.c.

+ Here is the call graph for this function:

◆ lacp_rx_debug_func()

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

Definition at line 399 of file rx_machine.c.

+ Here is the call graph for this function:

◆ lacp_start_current_while_timer()

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

Definition at line 77 of file rx_machine.h.

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

Variable Documentation

◆ lacp_rx_machine

lacp_machine_t lacp_rx_machine

Definition at line 108 of file rx_machine.c.