FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
machine.h File Reference
+ Include dependency graph for machine.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lacp_fsm_state_t
 
struct  lacp_fsm_machine_t
 
struct  lacp_machine_t
 

Macros

#define LACP_NOACTION   ((int (*)(void *, void *))0)
 
#define LACP_ACTION_ROUTINE(rtn)   ((int(*)(void *, void *))rtn)
 

Typedefs

typedef int(* action_func) (void *, void *)
 
typedef void(* debug_func) (slave_if_t *sif, int event, int state, lacp_fsm_state_t *transition)
 

Functions

int lacp_machine_dispatch (lacp_machine_t *machine, vlib_main_t *vm, slave_if_t *sif, int event, int *state)
 

Macro Definition Documentation

◆ LACP_ACTION_ROUTINE

#define LACP_ACTION_ROUTINE (   rtn)    ((int(*)(void *, void *))rtn)

Definition at line 22 of file machine.h.

◆ LACP_NOACTION

#define LACP_NOACTION   ((int (*)(void *, void *))0)

Definition at line 21 of file machine.h.

Typedef Documentation

◆ action_func

typedef int(* action_func) (void *, void *)

Definition at line 24 of file machine.h.

◆ debug_func

typedef void(* debug_func) (slave_if_t *sif, int event, int state, lacp_fsm_state_t *transition)

Definition at line 32 of file machine.h.

Function Documentation

◆ lacp_machine_dispatch()

int lacp_machine_dispatch ( lacp_machine_t machine,
vlib_main_t vm,
slave_if_t sif,
int  event,
int *  state 
)

Definition at line 300 of file lacp.c.

+ Here is the caller graph for this function: