FD.io VPP  v21.01.1
Vector Packet Processing
vl_api_nat44_add_del_lb_static_mapping_t Struct Reference

Add/delete NAT44 load-balancing static mapping rule. More...

Data Fields

u32 client_index
 
u32 context
 
bool is_add
 
vl_api_nat_config_flags_t flags
 
vl_api_ip4_address_t external_addr
 
u16 external_port
 
u8 protocol
 
u32 affinity
 
string tag [64]
 
u32 local_num
 
vl_api_nat44_lb_addr_port_t locals [local_num]
 

Detailed Description

Add/delete NAT44 load-balancing static mapping rule.

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
flags- flag NAT_TWICE_NAT if NAT address range for external hosts, flag NAT_SELF_TWICE_NAT if translate external host address and port whenever external host address equals local address of internal host, flag NAT_OUT2IN_ONLY if rule match only out2in direction
external_addr- external IPv4 address of the service
external_port- external L4 port number of the service
protocol- IP protocol number of the service
affinity- if 0 disabled, otherwise client IP affinity sticky time in seconds
local_num- number of local network nodes
locals- local network nodes
tag- opaque string tag

Definition at line 1050 of file nat44.api.

Field Documentation

◆ affinity

u32 vl_api_nat44_add_del_lb_static_mapping_t::affinity

Definition at line 1058 of file nat44.api.

◆ client_index

u32 vl_api_nat44_add_del_lb_static_mapping_t::client_index

Definition at line 1051 of file nat44.api.

◆ context

u32 vl_api_nat44_add_del_lb_static_mapping_t::context

Definition at line 1052 of file nat44.api.

◆ external_addr

vl_api_ip4_address_t vl_api_nat44_add_del_lb_static_mapping_t::external_addr

Definition at line 1055 of file nat44.api.

◆ external_port

u16 vl_api_nat44_add_del_lb_static_mapping_t::external_port

Definition at line 1056 of file nat44.api.

◆ flags

vl_api_nat_config_flags_t vl_api_nat44_add_del_lb_static_mapping_t::flags

Definition at line 1054 of file nat44.api.

◆ is_add

bool vl_api_nat44_add_del_lb_static_mapping_t::is_add

Definition at line 1053 of file nat44.api.

◆ local_num

u32 vl_api_nat44_add_del_lb_static_mapping_t::local_num

Definition at line 1060 of file nat44.api.

◆ locals

vl_api_nat44_lb_addr_port_t vl_api_nat44_add_del_lb_static_mapping_t::locals[local_num]

Definition at line 1061 of file nat44.api.

◆ protocol

u8 vl_api_nat44_add_del_lb_static_mapping_t::protocol

Definition at line 1057 of file nat44.api.

◆ tag

string vl_api_nat44_add_del_lb_static_mapping_t::tag[64]

Definition at line 1059 of file nat44.api.


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