FD.io VPP  v21.06-3-gbb25fbf28
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 68 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 97 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",
}

(constructor) VLIB_CLI_COMMAND (cnat_scanner_cmd_node)

Definition at line 90 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",
}

(constructor) VLIB_REGISTER_NODE (cnat_scanner_process_node)

Definition at line 61 of file cnat_scanner.c.

cnat_scanner_cmd
static clib_error_t * cnat_scanner_cmd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *c)
Definition: cnat_scanner.c:68
VLIB_NODE_TYPE_PROCESS
@ VLIB_NODE_TYPE_PROCESS
Definition: node.h:84
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