FD.io VPP
v21.06-3-gbb25fbf28
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_flags (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 |
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 169 of file cnat_types.c.
cnat_main_t* cnat_get_main | ( | ) |
Definition at line 247 of file cnat_types.c.
void cnat_lazy_init | ( | ) |
Lazy initialization when first adding a translation or using snat.
Definition at line 176 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 29 of file cnat_types.c.
u8 cnat_resolve_ep | ( | cnat_endpoint_t * | ep | ) |
Resolve endpoint address.
Definition at line 63 of file cnat_types.c.
|
static |
Definition at line 134 of file cnat_types.c.
uword unformat_cnat_ep | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
Definition at line 73 of file cnat_types.c.
uword unformat_cnat_ep_flags | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
Definition at line 106 of file cnat_types.c.
uword unformat_cnat_ep_tuple | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
Definition at line 115 of file cnat_types.c.
char* cnat_error_strings[] |
Definition at line 22 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.
cnat_timestamp_t* cnat_timestamps |
Definition at line 20 of file cnat_types.c.