FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
ptx_machine.h File Reference
+ Include dependency graph for ptx_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_ptx_event
 
#define foreach_lacp_ptx_sm_state
 
#define LACP_ACTION_NO_PERIODIC   LACP_ACTION_ROUTINE(lacp_ptx_action_no_periodic)
 
#define LACP_ACTION_SLOW_PERIODIC   LACP_ACTION_ROUTINE(lacp_ptx_action_slow_periodic)
 
#define LACP_ACTION_FAST_PERIODIC   LACP_ACTION_ROUTINE(lacp_ptx_action_fast_periodic)
 
#define LACP_ACTION_TIMER_EXPIRED   LACP_ACTION_ROUTINE(lacp_ptx_action_timer_expired)
 

Enumerations

enum  lacp_ptx_event_t { foreach_lacp_ptx_event }
 
enum  lacp_ptx_sm_state_t { foreach_lacp_ptx_sm_state }
 

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)
 
void lacp_ptx_debug_func (slave_if_t *sif, int event, int state, lacp_fsm_state_t *transition)
 
static void lacp_start_periodic_timer (vlib_main_t *vm, slave_if_t *sif, u8 expiration)
 
static void lacp_schedule_periodic_timer (vlib_main_t *vm, slave_if_t *sif)
 

Variables

lacp_machine_t lacp_ptx_machine
 

Macro Definition Documentation

#define foreach_lacp_ptx_event
Value:
_(0, BEGIN, "begin") \
_(1, LONG_TIMEOUT, "long tiemout") \
_(2, TIMER_EXPIRED, "timer expired") \
_(3, SHORT_TIMEOUT, "short timeout")

Definition at line 22 of file ptx_machine.h.

#define foreach_lacp_ptx_sm_state
Value:
_(0, NO_PERIODIC, "no periodic") \
_(1, FAST_PERIODIC, "fast periodic") \
_(2, SLOW_PERIODIC, "slow periodic") \
_(3, PERIODIC_TX, "periodic transmission")

Definition at line 35 of file ptx_machine.h.

#define LACP_ACTION_FAST_PERIODIC   LACP_ACTION_ROUTINE(lacp_ptx_action_fast_periodic)

Definition at line 61 of file ptx_machine.h.

#define LACP_ACTION_NO_PERIODIC   LACP_ACTION_ROUTINE(lacp_ptx_action_no_periodic)

Definition at line 57 of file ptx_machine.h.

#define LACP_ACTION_SLOW_PERIODIC   LACP_ACTION_ROUTINE(lacp_ptx_action_slow_periodic)

Definition at line 59 of file ptx_machine.h.

#define LACP_ACTION_TIMER_EXPIRED   LACP_ACTION_ROUTINE(lacp_ptx_action_timer_expired)

Definition at line 63 of file ptx_machine.h.

Enumeration Type Documentation

Enumerator
foreach_lacp_ptx_event 

Definition at line 28 of file ptx_machine.h.

Enumerator
foreach_lacp_ptx_sm_state 

Definition at line 41 of file ptx_machine.h.

Function Documentation

int lacp_ptx_action_fast_periodic ( void *  p1,
void *  p2 
)

Definition at line 112 of file ptx_machine.c.

+ Here is the call graph for this function:

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:

int lacp_ptx_action_slow_periodic ( void *  p1,
void *  p2 
)

Definition at line 89 of file ptx_machine.c.

+ Here is the call graph for this function:

int lacp_ptx_action_timer_expired ( void *  p1,
void *  p2 
)

Definition at line 139 of file ptx_machine.c.

+ Here is the call graph for this function:

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

Definition at line 179 of file ptx_machine.c.

+ Here is the call graph for this function:

static void lacp_schedule_periodic_timer ( vlib_main_t vm,
slave_if_t sif 
)
inlinestatic

Definition at line 73 of file ptx_machine.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void lacp_start_periodic_timer ( vlib_main_t vm,
slave_if_t sif,
u8  expiration 
)
inlinestatic

Definition at line 67 of file ptx_machine.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

lacp_machine_t lacp_ptx_machine

Definition at line 69 of file ptx_machine.c.