FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
l2sess.c File Reference
+ Include dependency graph for l2sess.c:

Go to the source code of this file.

Functions

void l2sess_vlib_plugin_register (vlib_main_t *vm, void *hh, int from_early_init)
 
void l2sess_init_next_features (vlib_main_t *vm, l2sess_main_t *sm)
 
void l2sess_add_our_next_nodes (vlib_main_t *vm, l2sess_main_t *sm, u8 *prev_node_name, int add_output_nodes)
 
void l2sess_setup_nodes (void)
 
static char * get_l4_proto_str (int is_ip6, uint8_t l4_proto)
 
static clib_error_tl2sess_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tl2sess_show_count_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static u64 time_sec_to_clock (clib_time_t *ct, f64 sec)
 
static clib_error_tl2sess_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t l2sess_show_command
 (constructor) VLIB_CLI_COMMAND (l2sess_show_command) More...
 
static vlib_cli_command_t l2sess_show_count_command
 (constructor) VLIB_CLI_COMMAND (l2sess_show_count_command) More...
 

Function Documentation

static char* get_l4_proto_str ( int  is_ip6,
uint8_t  l4_proto 
)
static

Definition at line 94 of file l2sess.c.

void l2sess_add_our_next_nodes ( vlib_main_t vm,
l2sess_main_t sm,
u8 prev_node_name,
int  add_output_nodes 
)

Definition at line 64 of file l2sess.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* l2sess_init ( vlib_main_t vm)
static

Definition at line 222 of file l2sess.c.

+ Here is the call graph for this function:

void l2sess_init_next_features ( vlib_main_t vm,
l2sess_main_t sm 
)

Definition at line 47 of file l2sess.c.

+ Here is the caller graph for this function:

void l2sess_setup_nodes ( void  )

Definition at line 81 of file l2sess.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* l2sess_show_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 112 of file l2sess.c.

+ Here is the call graph for this function:

static clib_error_t* l2sess_show_count_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 185 of file l2sess.c.

+ Here is the call graph for this function:

void l2sess_vlib_plugin_register ( vlib_main_t vm,
void *  hh,
int  from_early_init 
)

Definition at line 34 of file l2sess.c.

+ Here is the caller graph for this function:

static u64 time_sec_to_clock ( clib_time_t ct,
f64  sec 
)
inlinestatic

Definition at line 217 of file l2sess.c.

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t l2sess_show_command
static
Initial value:
= {
.path = "show l2sess",
.short_help = "show l2sess",
}
static clib_error_t * l2sess_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: l2sess.c:112

(constructor) VLIB_CLI_COMMAND (l2sess_show_command)

Definition at line 203 of file l2sess.c.

vlib_cli_command_t l2sess_show_count_command
static
Initial value:
= {
.path = "show l2sess count",
.short_help = "show l2sess count",
}
static clib_error_t * l2sess_show_count_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: l2sess.c:185

(constructor) VLIB_CLI_COMMAND (l2sess_show_count_command)

Definition at line 209 of file l2sess.c.