FD.io VPP  v21.01.1
Vector Packet Processing
cnat_scanner.c File Reference
+ Include dependency graph for cnat_scanner.c:

Go to the source code of this file.

Functions

static uword cnat_scanner_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
 
static clib_error_tcnat_scanner_cmd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *c)
 
static clib_error_tcnat_scanner_init (vlib_main_t *vm)
 

Variables

vlib_node_registration_t cnat_scanner_process_node
 (constructor) VLIB_REGISTER_NODE (cnat_scanner_process_node) More...
 
static vlib_cli_command_t cnat_scanner_cmd_node
 (constructor) VLIB_CLI_COMMAND (cnat_scanner_cmd_node) More...
 

Function Documentation

◆ cnat_scanner_cmd()

static clib_error_t* cnat_scanner_cmd ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t c 
)
static

Definition at line 70 of file cnat_scanner.c.

+ Here is the call graph for this function:

◆ cnat_scanner_init()

static clib_error_t* cnat_scanner_init ( vlib_main_t vm)
static

Definition at line 101 of file cnat_scanner.c.

◆ cnat_scanner_process()

static uword cnat_scanner_process ( vlib_main_t vm,
vlib_node_runtime_t rt,
vlib_frame_t f 
)
static

Definition at line 20 of file cnat_scanner.c.

+ Here is the call graph for this function:

Variable Documentation

◆ cnat_scanner_cmd_node

vlib_cli_command_t cnat_scanner_cmd_node
static
Initial value:
= {
.path = "test cnat scanner",
.function = cnat_scanner_cmd,
.short_help = "test cnat scanner",
}
static clib_error_t * cnat_scanner_cmd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *c)
Definition: cnat_scanner.c:70

(constructor) VLIB_CLI_COMMAND (cnat_scanner_cmd_node)

Definition at line 93 of file cnat_scanner.c.

◆ cnat_scanner_process_node

vlib_node_registration_t cnat_scanner_process_node
Initial value:
= {
.function = cnat_scanner_process,
.name = "cnat-scanner-process",
}
static uword cnat_scanner_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
Definition: cnat_scanner.c:20

(constructor) VLIB_REGISTER_NODE (cnat_scanner_process_node)

Definition at line 62 of file cnat_scanner.c.