FD.io VPP
v16.09
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | cnat_db_scanner_main_t |
Macros | |
#define | CNAT_DB_SCANNER_TURN_ON 5 /* just an arbitary number for easier debugging */ |
Functions | |
static void | check_session_for_expiry (cnat_session_entry_t *sdb, u8 timeout_dirty) |
static u8 | handle_db_scan_for_sessions (cnat_main_db_entry_t *db, int *dirty_index, uword db_index) |
static void | cnat_db_scanner (void) |
static void | walk_the_db (void) |
static uword | cnat_db_scanner_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
clib_error_t * | cnat_db_scanner_init (vlib_main_t *vm) |
void | cnat_scanner_db_process_turn_on (vlib_main_t *vm) |
#define CNAT_DB_SCANNER_TURN_ON 5 /* just an arbitary number for easier debugging */ |
Definition at line 47 of file cnat_db_scanner.c.
|
inlinestatic |
Definition at line 63 of file cnat_db_scanner.c.
|
static |
Definition at line 179 of file cnat_db_scanner.c.
|
static |
clib_error_t* cnat_db_scanner_init | ( | vlib_main_t * | vm | ) |
Definition at line 475 of file cnat_db_scanner.c.
void cnat_scanner_db_process_turn_on | ( | vlib_main_t * | vm | ) |
Definition at line 485 of file cnat_db_scanner.c.
|
static |
Definition at line 125 of file cnat_db_scanner.c.
|
static |
Definition at line 327 of file cnat_db_scanner.c.
uword check_these_pool_indices[2 *MAX_DB_ENTRY_SELECTED_PER_SCAN] |
Definition at line 45 of file cnat_db_scanner.c.
cnat_db_scanner_main_t cnat_db_scanner_main |
Definition at line 60 of file cnat_db_scanner.c.
vlib_node_registration_t cnat_db_scanner_node |
(constructor) VLIB_REGISTER_NODE (cnat_db_scanner_node)
Definition at line 468 of file cnat_db_scanner.c.
u32 in2out_forwarding_count |
Definition at line 40 of file cnat_db_scanner.c.
u32 in2out_forwarding_rate |
Definition at line 41 of file cnat_db_scanner.c.
u32 nat44_active_translations |
Definition at line 43 of file cnat_db_scanner.c.
u32 num_entries |
Definition at line 44 of file cnat_db_scanner.c.
u32 out2in_forwarding_count |
Definition at line 40 of file cnat_db_scanner.c.
u32 out2in_forwarding_rate |
Definition at line 41 of file cnat_db_scanner.c.
u32 translation_create_count |
Definition at line 37 of file cnat_db_scanner.c.
u32 translation_create_rate |
Definition at line 38 of file cnat_db_scanner.c.
u32 translation_delete_count |
Definition at line 37 of file cnat_db_scanner.c.
u32 translation_delete_rate |
Definition at line 38 of file cnat_db_scanner.c.