FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
vl_api_nat44_add_del_static_mapping_v2_t Struct Reference

Add/delete NAT44 static mapping. More...

Data Fields

option in_progress
 
u32 client_index
 
u32 context
 
bool is_add
 
bool match_pool
 
vl_api_nat_config_flags_t flags
 
vl_api_ip4_address_t pool_ip_address
 
vl_api_ip4_address_t local_ip_address
 
vl_api_ip4_address_t external_ip_address
 
u8 protocol
 
u16 local_port
 
u16 external_port
 
vl_api_interface_index_t external_sw_if_index
 
u32 vrf_id
 
string tag [64]
 

Detailed Description

Add/delete NAT44 static mapping.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_add- true if add, false if delete
match_pool- true if use specific pool_ip_address
flags- flag NAT_IS_ADDR_ONLY if address only mapping, flag nat_is_twice_nat if nat address range for external hosts, flag NAT_IS_SELF_TWICE_NAT if translate external host address and port whenever external host address equals local address of internal host, flag NAT_IS_OUT2IN_ONLY if rule match only out2in direction
pool_ip_address- pool IPv4 address to match with pool
local_ip_address- local IPv4 address
external_ip_address- external IPv4 address
protocol- IP protocol, used only if addr_only=0
local_port- local port number, used only if addr_only=0
external_port- external port number, used only if addr_only=0
external_sw_if_index- external interface (if set external_ip_address is ignored, ~0 means not used)
vfr_id- VRF ID
tag- opaque string tag

Definition at line 819 of file nat44_ed.api.

Field Documentation

◆ client_index

u32 vl_api_nat44_add_del_static_mapping_v2_t::client_index

Definition at line 821 of file nat44_ed.api.

◆ context

u32 vl_api_nat44_add_del_static_mapping_v2_t::context

Definition at line 822 of file nat44_ed.api.

◆ external_ip_address

vl_api_ip4_address_t vl_api_nat44_add_del_static_mapping_v2_t::external_ip_address

Definition at line 828 of file nat44_ed.api.

◆ external_port

u16 vl_api_nat44_add_del_static_mapping_v2_t::external_port

Definition at line 831 of file nat44_ed.api.

◆ external_sw_if_index

vl_api_interface_index_t vl_api_nat44_add_del_static_mapping_v2_t::external_sw_if_index

Definition at line 832 of file nat44_ed.api.

◆ flags

vl_api_nat_config_flags_t vl_api_nat44_add_del_static_mapping_v2_t::flags

Definition at line 825 of file nat44_ed.api.

◆ in_progress

option vl_api_nat44_add_del_static_mapping_v2_t::in_progress

Definition at line 820 of file nat44_ed.api.

◆ is_add

bool vl_api_nat44_add_del_static_mapping_v2_t::is_add

Definition at line 823 of file nat44_ed.api.

◆ local_ip_address

vl_api_ip4_address_t vl_api_nat44_add_del_static_mapping_v2_t::local_ip_address

Definition at line 827 of file nat44_ed.api.

◆ local_port

u16 vl_api_nat44_add_del_static_mapping_v2_t::local_port

Definition at line 830 of file nat44_ed.api.

◆ match_pool

bool vl_api_nat44_add_del_static_mapping_v2_t::match_pool

Definition at line 824 of file nat44_ed.api.

◆ pool_ip_address

vl_api_ip4_address_t vl_api_nat44_add_del_static_mapping_v2_t::pool_ip_address

Definition at line 826 of file nat44_ed.api.

◆ protocol

u8 vl_api_nat44_add_del_static_mapping_v2_t::protocol

Definition at line 829 of file nat44_ed.api.

◆ tag

string vl_api_nat44_add_del_static_mapping_v2_t::tag[64]

Definition at line 834 of file nat44_ed.api.

◆ vrf_id

u32 vl_api_nat44_add_del_static_mapping_v2_t::vrf_id

Definition at line 833 of file nat44_ed.api.


The documentation for this struct was generated from the following file: