FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
l2sess.c File Reference
+ Include dependency graph for l2sess.c:

Go to the source code of this file.

Functions

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 81 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 51 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 209 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 34 of file l2sess.c.

+ Here is the caller graph for this function:

void l2sess_setup_nodes ( void  )

Definition at line 68 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 99 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 172 of file l2sess.c.

+ Here is the call graph for this function:

static u64 time_sec_to_clock ( clib_time_t ct,
f64  sec 
)
inlinestatic

Definition at line 204 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:99

(constructor) VLIB_CLI_COMMAND (l2sess_show_command)

Definition at line 190 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:172

(constructor) VLIB_CLI_COMMAND (l2sess_show_count_command)

Definition at line 196 of file l2sess.c.