FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
vl_api_nat44_static_mapping_details_t Struct Reference

NAT44 static mapping details response. More...

Data Fields

u32 context
 
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

NAT44 static mapping details response.

Template Parameters
context- sender context, to match reply w/ request
addr_only- 1 if address only mapping
local_ip_address- local IPv4 address
external_ip_address- external IPv4 address
protocol- IP protocol, valid only if addr_only=0
local_port- local port number, valid only if addr_only=0
external_port- external port number, valid only if addr_only=0
external_sw_if_index- external interface
vfr_id- VRF ID
twice_nat- if 1 translate external host address and port
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 674 of file nat.api.

Field Documentation

◆ addr_only

u8 vl_api_nat44_static_mapping_details_t::addr_only

Definition at line 676 of file nat.api.

◆ context

u32 vl_api_nat44_static_mapping_details_t::context

Definition at line 675 of file nat.api.

◆ external_ip_address

u8 vl_api_nat44_static_mapping_details_t::external_ip_address[4]

Definition at line 678 of file nat.api.

◆ external_port

u16 vl_api_nat44_static_mapping_details_t::external_port

Definition at line 681 of file nat.api.

◆ external_sw_if_index

u32 vl_api_nat44_static_mapping_details_t::external_sw_if_index

Definition at line 682 of file nat.api.

◆ local_ip_address

u8 vl_api_nat44_static_mapping_details_t::local_ip_address[4]

Definition at line 677 of file nat.api.

◆ local_port

u16 vl_api_nat44_static_mapping_details_t::local_port

Definition at line 680 of file nat.api.

◆ out2in_only

u8 vl_api_nat44_static_mapping_details_t::out2in_only

Definition at line 686 of file nat.api.

◆ protocol

u8 vl_api_nat44_static_mapping_details_t::protocol

Definition at line 679 of file nat.api.

◆ self_twice_nat

u8 vl_api_nat44_static_mapping_details_t::self_twice_nat

Definition at line 685 of file nat.api.

◆ tag

u8 vl_api_nat44_static_mapping_details_t::tag[64]

Definition at line 687 of file nat.api.

◆ twice_nat

u8 vl_api_nat44_static_mapping_details_t::twice_nat

Definition at line 684 of file nat.api.

◆ vrf_id

u32 vl_api_nat44_static_mapping_details_t::vrf_id

Definition at line 683 of file nat.api.


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