FD.io VPP  v20.05.1-6-gf53edbc3b
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 877 of file nat.api.

Field Documentation

◆ affinity

u32 vl_api_nat44_add_del_lb_static_mapping_t::affinity

Definition at line 885 of file nat.api.

◆ client_index

u32 vl_api_nat44_add_del_lb_static_mapping_t::client_index

Definition at line 878 of file nat.api.

◆ context

u32 vl_api_nat44_add_del_lb_static_mapping_t::context

Definition at line 879 of file nat.api.

◆ external_addr

vl_api_ip4_address_t vl_api_nat44_add_del_lb_static_mapping_t::external_addr

Definition at line 882 of file nat.api.

◆ external_port

u16 vl_api_nat44_add_del_lb_static_mapping_t::external_port

Definition at line 883 of file nat.api.

◆ flags

vl_api_nat_config_flags_t vl_api_nat44_add_del_lb_static_mapping_t::flags

Definition at line 881 of file nat.api.

◆ is_add

bool vl_api_nat44_add_del_lb_static_mapping_t::is_add

Definition at line 880 of file nat.api.

◆ local_num

u32 vl_api_nat44_add_del_lb_static_mapping_t::local_num

Definition at line 887 of file nat.api.

◆ locals

vl_api_nat44_lb_addr_port_t vl_api_nat44_add_del_lb_static_mapping_t::locals[local_num]

Definition at line 888 of file nat.api.

◆ protocol

u8 vl_api_nat44_add_del_lb_static_mapping_t::protocol

Definition at line 884 of file nat.api.

◆ tag

string vl_api_nat44_add_del_lb_static_mapping_t::tag[64]

Definition at line 886 of file nat.api.


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