FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
vl_api_nat44_add_del_lb_static_mapping_t Struct Reference

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

+ Collaboration diagram for vl_api_nat44_add_del_lb_static_mapping_t:

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 921 of file nat.api.

Field Documentation

◆ affinity

u32 vl_api_nat44_add_del_lb_static_mapping_t::affinity

Definition at line 929 of file nat.api.

◆ client_index

u32 vl_api_nat44_add_del_lb_static_mapping_t::client_index

Definition at line 922 of file nat.api.

◆ context

u32 vl_api_nat44_add_del_lb_static_mapping_t::context

Definition at line 923 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 926 of file nat.api.

◆ external_port

u16 vl_api_nat44_add_del_lb_static_mapping_t::external_port

Definition at line 927 of file nat.api.

◆ flags

vl_api_nat_config_flags_t vl_api_nat44_add_del_lb_static_mapping_t::flags

Definition at line 925 of file nat.api.

◆ is_add

bool vl_api_nat44_add_del_lb_static_mapping_t::is_add

Definition at line 924 of file nat.api.

◆ local_num

u32 vl_api_nat44_add_del_lb_static_mapping_t::local_num

Definition at line 931 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 932 of file nat.api.

◆ protocol

u8 vl_api_nat44_add_del_lb_static_mapping_t::protocol

Definition at line 928 of file nat.api.

◆ tag

string vl_api_nat44_add_del_lb_static_mapping_t::tag[64]

Definition at line 930 of file nat.api.


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