FD.io VPP
v21.01.1
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | cnat_error(n, s) s, |
Functions | |
u8 | cnat_resolve_addr (u32 sw_if_index, ip_address_family_t af, ip_address_t *addr) |
u8 | cnat_resolve_ep (cnat_endpoint_t *ep) |
Resolve endpoint address. More... | |
uword | unformat_cnat_ep (unformat_input_t *input, va_list *args) |
uword | unformat_cnat_ep_tuple (unformat_input_t *input, va_list *args) |
u8 * | format_cnat_endpoint (u8 *s, va_list *args) |
static clib_error_t * | cnat_types_init (vlib_main_t *vm) |
void | cnat_enable_disable_scanner (cnat_scanner_cmd_t event_type) |
Enable/Disable session cleanup. More... | |
void | cnat_lazy_init () |
Lazy initialization when first adding a translation or using snat. More... | |
static clib_error_t * | cnat_config (vlib_main_t *vm, unformat_input_t *input) |
cnat_main_t * | cnat_get_main () |
Variables | |
cnat_main_t | cnat_main |
fib_source_t | cnat_fib_source |
cnat_timestamp_t * | cnat_timestamps |
throttle_t | cnat_throttle |
char * | cnat_error_strings [] |
#define cnat_error | ( | n, | |
s | |||
) | s, |
|
static |
void cnat_enable_disable_scanner | ( | cnat_scanner_cmd_t | event_type | ) |
Enable/Disable session cleanup.
Definition at line 161 of file cnat_types.c.
cnat_main_t* cnat_get_main | ( | ) |
Definition at line 233 of file cnat_types.c.
void cnat_lazy_init | ( | ) |
Lazy initialization when first adding a translation or using snat.
Definition at line 168 of file cnat_types.c.
u8 cnat_resolve_addr | ( | u32 | sw_if_index, |
ip_address_family_t | af, | ||
ip_address_t * | addr | ||
) |
Definition at line 30 of file cnat_types.c.
u8 cnat_resolve_ep | ( | cnat_endpoint_t * | ep | ) |
Resolve endpoint address.
Definition at line 64 of file cnat_types.c.
|
static |
Definition at line 123 of file cnat_types.c.
uword unformat_cnat_ep | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
Definition at line 74 of file cnat_types.c.
uword unformat_cnat_ep_tuple | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
Definition at line 107 of file cnat_types.c.
char* cnat_error_strings[] |
Definition at line 23 of file cnat_types.c.
fib_source_t cnat_fib_source |
Definition at line 19 of file cnat_types.c.
cnat_main_t cnat_main |
Definition at line 18 of file cnat_types.c.
throttle_t cnat_throttle |
Definition at line 21 of file cnat_types.c.
cnat_timestamp_t* cnat_timestamps |
Definition at line 20 of file cnat_types.c.