FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
void | cnat_register_vip_src_policy (cnat_vip_source_policy_t fp) |
cnat_source_policy_errors_t | cnat_vip_default_source_policy (vlib_main_t *vm, vlib_buffer_t *b, cnat_session_t *session, u32 *rsession_flags, const cnat_translation_t *ct, cnat_node_ctx_t *ctx) |
static cnat_src_port_allocator_t * | cnat_get_src_port_allocator (ip_protocol_t iproto) |
void | cnat_free_port (u16 port, ip_protocol_t iproto) |
int | cnat_allocate_port (u16 *port, ip_protocol_t iproto) |
static clib_error_t * | cnat_src_policy_init (vlib_main_t *vm) |
Variables | |
cnat_src_policy_main_t | cnat_src_policy_main |
int cnat_allocate_port | ( | u16 * | port, |
ip_protocol_t | iproto | ||
) |
Definition at line 109 of file cnat_src_policy.c.
void cnat_free_port | ( | u16 | port, |
ip_protocol_t | iproto | ||
) |
Definition at line 97 of file cnat_src_policy.c.
|
inlinestatic |
void cnat_register_vip_src_policy | ( | cnat_vip_source_policy_t | fp | ) |
Definition at line 25 of file cnat_src_policy.c.
|
static |
cnat_source_policy_errors_t cnat_vip_default_source_policy | ( | vlib_main_t * | vm, |
vlib_buffer_t * | b, | ||
cnat_session_t * | session, | ||
u32 * | rsession_flags, | ||
const cnat_translation_t * | ct, | ||
cnat_node_ctx_t * | ctx | ||
) |
Definition at line 31 of file cnat_src_policy.c.
cnat_src_policy_main_t cnat_src_policy_main |
Definition at line 22 of file cnat_src_policy.c.