29 uword event_type, *event_data = 0;
32 int enabled = 1,
i = 0;
71 .name =
"cnat-scanner-process",
101 .path =
"test cnat scanner",
103 .short_help =
"test cnat scanner",
u64 cnat_session_scan(vlib_main_t *vm, f64 start_time, int i)
Scan the session DB for expired sessions.
static f64 vlib_process_wait_for_event_or_clock(vlib_main_t *vm, f64 dt)
Suspend a cooperative multi-tasking thread Waits for an event, or for the indicated number of seconds...
static uword * vlib_process_wait_for_event(vlib_main_t *vm)
static f64 vlib_time_now(vlib_main_t *vm)
#define vec_reset_length(v)
Reset vector length to zero NULL-pointer tolerant.
enum cnat_scanner_cmd_t_ cnat_scanner_cmd_t
static uword vlib_process_get_events(vlib_main_t *vm, uword **data_vector)
Return the first event type which has occurred and a vector of per-event data of that type...
#define clib_error_return(e, args...)
static clib_error_t * cnat_scanner_cmd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *c)
static void vlib_process_signal_event(vlib_main_t *vm, uword node_index, uword type_opaque, uword data)
void cnat_client_throttle_pool_process()
#define VLIB_REGISTER_NODE(x,...)
sll srl srl sll sra u16x4 i
vlib_node_registration_t cnat_scanner_process_node
(constructor) VLIB_REGISTER_NODE (cnat_scanner_process_node)
#define VLIB_CLI_COMMAND(x,...)
static uword cnat_scanner_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)