FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
vl_api_nat44_add_del_static_mapping_t Struct Reference

Add/delete NAT44 static mapping. More...

Data Fields

u32 client_index
 
u32 context
 
u8 is_add
 
u8 addr_only
 
u8 local_ip_address [4]
 
u8 external_ip_address [4]
 
u8 protocol
 
u16 local_port
 
u16 external_port
 
u32 external_sw_if_index
 
u32 vrf_id
 
u8 twice_nat
 
u8 self_twice_nat
 
u8 out2in_only
 
u8 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- 1 if add, 0 if delete
addr_only- 1 if address only mapping
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
twice_nat- if 1 translate external host address and port, only for 1:1 NAPT (addr_only must be 0)
self_twice_nat- if 1 translate external host address and port whenever external host address equals local address of internal host
out2in_only- if 1 rule match only out2in direction
tag- opaque string tag

Definition at line 361 of file nat.api.

Field Documentation

u8 vl_api_nat44_add_del_static_mapping_t::addr_only

Definition at line 365 of file nat.api.

u32 vl_api_nat44_add_del_static_mapping_t::client_index

Definition at line 362 of file nat.api.

u32 vl_api_nat44_add_del_static_mapping_t::context

Definition at line 363 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::external_ip_address[4]

Definition at line 367 of file nat.api.

u16 vl_api_nat44_add_del_static_mapping_t::external_port

Definition at line 370 of file nat.api.

u32 vl_api_nat44_add_del_static_mapping_t::external_sw_if_index

Definition at line 371 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::is_add

Definition at line 364 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::local_ip_address[4]

Definition at line 366 of file nat.api.

u16 vl_api_nat44_add_del_static_mapping_t::local_port

Definition at line 369 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::out2in_only

Definition at line 375 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::protocol

Definition at line 368 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::self_twice_nat

Definition at line 374 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::tag[64]

Definition at line 376 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::twice_nat

Definition at line 373 of file nat.api.

u32 vl_api_nat44_add_del_static_mapping_t::vrf_id

Definition at line 372 of file nat.api.


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