FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
cnat_scanner.c File Reference
+ Include dependency graph for cnat_scanner.c:

Go to the source code of this file.

Typedefs

typedef enum cnat_scanner_cmd_t_ cnat_scanner_cmd_t
 

Enumerations

enum  cnat_scanner_cmd_t_ { CNAT_SCANNER_OFF, CNAT_SCANNER_ON }
 

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)
 

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...
 

Typedef Documentation

◆ cnat_scanner_cmd_t

Enumeration Type Documentation

◆ cnat_scanner_cmd_t_

Enumerator
CNAT_SCANNER_OFF 
CNAT_SCANNER_ON 

Definition at line 19 of file cnat_scanner.c.

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 76 of file cnat_scanner.c.

+ Here is the call graph for this function:

◆ 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 26 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:76

(constructor) VLIB_CLI_COMMAND (cnat_scanner_cmd_node)

Definition at line 100 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:26

(constructor) VLIB_REGISTER_NODE (cnat_scanner_process_node)

Definition at line 68 of file cnat_scanner.c.