FD.io VPP  v19.08-27-gf4dcae4
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

u32 vl_api_nat44_add_del_lb_static_mapping_t::affinity

Definition at line 929 of file nat.api.

u32 vl_api_nat44_add_del_lb_static_mapping_t::client_index

Definition at line 922 of file nat.api.

u32 vl_api_nat44_add_del_lb_static_mapping_t::context

Definition at line 923 of file nat.api.

vl_api_ip4_address_t vl_api_nat44_add_del_lb_static_mapping_t::external_addr

Definition at line 926 of file nat.api.

u16 vl_api_nat44_add_del_lb_static_mapping_t::external_port

Definition at line 927 of file nat.api.

vl_api_nat_config_flags_t vl_api_nat44_add_del_lb_static_mapping_t::flags

Definition at line 925 of file nat.api.

bool vl_api_nat44_add_del_lb_static_mapping_t::is_add

Definition at line 924 of file nat.api.

u32 vl_api_nat44_add_del_lb_static_mapping_t::local_num

Definition at line 931 of file nat.api.

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.

u8 vl_api_nat44_add_del_lb_static_mapping_t::protocol

Definition at line 928 of file nat.api.

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: