FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
ptx_machine.c File Reference
+ Include dependency graph for ptx_machine.c:

Go to the source code of this file.

Functions

int lacp_ptx_action_no_periodic (void *p1, void *p2)
 
int lacp_ptx_action_slow_periodic (void *p1, void *p2)
 
int lacp_ptx_action_fast_periodic (void *p1, void *p2)
 
int lacp_ptx_action_timer_expired (void *p1, void *p2)
 
static u8format_ptx_event (u8 *s, va_list *args)
 
void lacp_ptx_debug_func (member_if_t *mif, int event, int state, lacp_fsm_state_t *transition)
 
void lacp_init_ptx_machine (vlib_main_t *vm, member_if_t *mif)
 

Variables

static lacp_fsm_state_t lacp_ptx_state_no_periodic []
 
static lacp_fsm_state_t lacp_ptx_state_fast_periodic []
 
static lacp_fsm_state_t lacp_ptx_state_slow_periodic []
 
static lacp_fsm_state_t lacp_ptx_state_periodic_tx []
 
static lacp_fsm_machine_t lacp_ptx_fsm_table []
 
lacp_machine_t lacp_ptx_machine
 

Function Documentation

◆ format_ptx_event()

static u8* format_ptx_event ( u8 s,
va_list *  args 
)
static

Definition at line 174 of file ptx_machine.c.

+ Here is the caller graph for this function:

◆ lacp_init_ptx_machine()

void lacp_init_ptx_machine ( vlib_main_t vm,
member_if_t mif 
)

Definition at line 220 of file ptx_machine.c.

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

◆ lacp_ptx_action_fast_periodic()

int lacp_ptx_action_fast_periodic ( void *  p1,
void *  p2 
)

Definition at line 115 of file ptx_machine.c.

+ Here is the call graph for this function:

◆ lacp_ptx_action_no_periodic()

int lacp_ptx_action_no_periodic ( void *  p1,
void *  p2 
)

Definition at line 75 of file ptx_machine.c.

+ Here is the call graph for this function:

◆ lacp_ptx_action_slow_periodic()

int lacp_ptx_action_slow_periodic ( void *  p1,
void *  p2 
)

Definition at line 86 of file ptx_machine.c.

+ Here is the call graph for this function:

◆ lacp_ptx_action_timer_expired()

int lacp_ptx_action_timer_expired ( void *  p1,
void *  p2 
)

Definition at line 148 of file ptx_machine.c.

+ Here is the call graph for this function:

◆ lacp_ptx_debug_func()

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

Definition at line 194 of file ptx_machine.c.

+ Here is the call graph for this function:

Variable Documentation

◆ lacp_ptx_fsm_table

lacp_fsm_machine_t lacp_ptx_fsm_table[]
static

◆ lacp_ptx_machine

lacp_machine_t lacp_ptx_machine
Initial value:

Definition at line 69 of file ptx_machine.c.

◆ lacp_ptx_state_fast_periodic

lacp_fsm_state_t lacp_ptx_state_fast_periodic[]
static
Initial value:
= {
{LACP_ACTION_NO_PERIODIC, LACP_PTX_STATE_NO_PERIODIC},
{LACP_ACTION_SLOW_PERIODIC, LACP_PTX_STATE_SLOW_PERIODIC},
{LACP_ACTION_TIMER_EXPIRED, LACP_PTX_STATE_PERIODIC_TX},
{LACP_ACTION_FAST_PERIODIC, LACP_PTX_STATE_FAST_PERIODIC},
}

Definition at line 34 of file ptx_machine.c.

◆ lacp_ptx_state_no_periodic

lacp_fsm_state_t lacp_ptx_state_no_periodic[]
static
Initial value:
= {
{LACP_ACTION_NO_PERIODIC, LACP_PTX_STATE_NO_PERIODIC},
{LACP_ACTION_SLOW_PERIODIC, LACP_PTX_STATE_SLOW_PERIODIC},
{LACP_ACTION_NO_PERIODIC, LACP_PTX_STATE_NO_PERIODIC},
{LACP_ACTION_FAST_PERIODIC, LACP_PTX_STATE_FAST_PERIODIC},
}

Definition at line 24 of file ptx_machine.c.

◆ lacp_ptx_state_periodic_tx

lacp_fsm_state_t lacp_ptx_state_periodic_tx[]
static
Initial value:
= {
{LACP_ACTION_NO_PERIODIC, LACP_PTX_STATE_NO_PERIODIC},
{LACP_NOACTION, LACP_PTX_STATE_PERIODIC_TX},
{LACP_ACTION_TIMER_EXPIRED, LACP_PTX_STATE_PERIODIC_TX},
{LACP_NOACTION, LACP_PTX_STATE_PERIODIC_TX},
}

Definition at line 54 of file ptx_machine.c.

◆ lacp_ptx_state_slow_periodic

lacp_fsm_state_t lacp_ptx_state_slow_periodic[]
static
Initial value:
= {
{LACP_ACTION_NO_PERIODIC, LACP_PTX_STATE_NO_PERIODIC},
{LACP_ACTION_SLOW_PERIODIC, LACP_PTX_STATE_SLOW_PERIODIC},
{LACP_ACTION_TIMER_EXPIRED, LACP_PTX_STATE_PERIODIC_TX},
{LACP_ACTION_FAST_PERIODIC, LACP_PTX_STATE_FAST_PERIODIC},
}

Definition at line 44 of file ptx_machine.c.

lacp_ptx_state_no_periodic
static lacp_fsm_state_t lacp_ptx_state_no_periodic[]
Definition: ptx_machine.c:24
LACP_ACTION_SLOW_PERIODIC
#define LACP_ACTION_SLOW_PERIODIC
Definition: ptx_machine.h:59
lacp_ptx_state_slow_periodic
static lacp_fsm_state_t lacp_ptx_state_slow_periodic[]
Definition: ptx_machine.c:44
lacp_ptx_fsm_table
static lacp_fsm_machine_t lacp_ptx_fsm_table[]
Definition: ptx_machine.c:62
lacp_ptx_state_periodic_tx
static lacp_fsm_state_t lacp_ptx_state_periodic_tx[]
Definition: ptx_machine.c:54
LACP_ACTION_TIMER_EXPIRED
#define LACP_ACTION_TIMER_EXPIRED
Definition: ptx_machine.h:63
LACP_ACTION_NO_PERIODIC
#define LACP_ACTION_NO_PERIODIC
Definition: ptx_machine.h:57
lacp_ptx_state_fast_periodic
static lacp_fsm_state_t lacp_ptx_state_fast_periodic[]
Definition: ptx_machine.c:34
LACP_ACTION_FAST_PERIODIC
#define LACP_ACTION_FAST_PERIODIC
Definition: ptx_machine.h:61
LACP_NOACTION
#define LACP_NOACTION
Definition: machine.h:21
lacp_ptx_debug_func
void lacp_ptx_debug_func(member_if_t *mif, int event, int state, lacp_fsm_state_t *transition)
Definition: ptx_machine.c:194