|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __CNAT_SNAT_H__
17 #define __CNAT_SNAT_H__
vl_api_ipsec_spd_action_t policy
struct cnat_snat_pfx_table_meta_t_ cnat_snat_pfx_table_meta_t
struct cnat_snat_exclude_pfx_table_t_ cnat_snat_exclude_pfx_table_t
cnat_snat_exclude_pfx_table_t excluded_pfx
cnat_snat_pfx_table_meta_t meta[2]
A session represents the memory of a translation.
@ CNAT_SNAT_IF_MAP_INCLUDE_V4
enum cnat_snat_interface_map_type_t_ cnat_snat_interface_map_type_t
int cnat_snat_policy_add_del_if(u32 sw_if_index, u8 is_add, cnat_snat_interface_map_type_t table)
cnat_snat_interface_map_type_t_
int cnat_search_snat_prefix(ip46_address_t *addr, ip_address_family_t af)
clib_bitmap_t * interface_maps[CNAT_N_SNAT_IF_MAP]
ip6_address_t ip_masks[129]
@ CNAT_SNAT_IF_MAP_INCLUDE_V6
int cnat_set_snat_policy(cnat_snat_policy_type_t policy)
int(* cnat_snat_policy_t)(vlib_buffer_t *b, cnat_session_t *session)
cnat_snat_policy_main_t cnat_snat_policy_main
struct cnat_snat_policy_main_t_ cnat_snat_policy_main_t
int cnat_snat_policy_del_pfx(ip_prefix_t *pfx)
int cnat_snat_policy_add_pfx(ip_prefix_t *pfx)
cnat_snat_policy_t snat_policy
@ CNAT_SNAT_POLICY_IF_PFX
clib_bihash_24_8_t ip_hash
enum cnat_snat_policy_type_t_ cnat_snat_policy_type_t
@ CNAT_SNAT_IF_MAP_INCLUDE_POD
vl_api_interface_index_t sw_if_index
void cnat_set_snat(ip4_address_t *ip4, ip6_address_t *ip6, u32 sw_if_index)
enum ip_address_family_t_ ip_address_family_t
VLIB buffer representation.