FD.io VPP  v17.10-9-gd594711
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
 

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
local_port- local port number
external_port- external port number
external_sw_if_index- external interface (if set external_ip_address is ignored, ~0 means not used)
vfr_id- VRF ID

Definition at line 887 of file nat.api.

Field Documentation

u8 vl_api_nat44_add_del_static_mapping_t::addr_only

Definition at line 891 of file nat.api.

u32 vl_api_nat44_add_del_static_mapping_t::client_index

Definition at line 888 of file nat.api.

u32 vl_api_nat44_add_del_static_mapping_t::context

Definition at line 889 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::external_ip_address[4]

Definition at line 893 of file nat.api.

u16 vl_api_nat44_add_del_static_mapping_t::external_port

Definition at line 896 of file nat.api.

u32 vl_api_nat44_add_del_static_mapping_t::external_sw_if_index

Definition at line 897 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::is_add

Definition at line 890 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::local_ip_address[4]

Definition at line 892 of file nat.api.

u16 vl_api_nat44_add_del_static_mapping_t::local_port

Definition at line 895 of file nat.api.

u8 vl_api_nat44_add_del_static_mapping_t::protocol

Definition at line 894 of file nat.api.

u32 vl_api_nat44_add_del_static_mapping_t::vrf_id

Definition at line 898 of file nat.api.


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