FD.io VPP  v19.04.4-rc0-5-ge88582fac
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
 
u8 is_add
 
u8 external_addr [4]
 
u16 external_port
 
u8 protocol
 
u8 twice_nat
 
u8 self_twice_nat
 
u8 out2in_only
 
u8 tag [64]
 
u32 affinity
 
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- 1 if add, 0 if delete
external_addr- external IPv4 address of the service
external_port- external L4 port number of the service
protocol- IP protocol number of the service
twice_nat- if 1 translate external host address and port
self_twice_nat- if 1 translate external host address and port whenever external host address equals local address of internal host
out2in_only- if 1 rule match only out2in direction
tag- opaque string tag
affinity- if 0 disabled, otherwise client IP affinity sticky time in seconds
local_num- number of local network nodes
locals- local network nodes

Definition at line 888 of file nat.api.

Field Documentation

◆ affinity

u32 vl_api_nat44_add_del_lb_static_mapping_t::affinity

Definition at line 899 of file nat.api.

◆ client_index

u32 vl_api_nat44_add_del_lb_static_mapping_t::client_index

Definition at line 889 of file nat.api.

◆ context

u32 vl_api_nat44_add_del_lb_static_mapping_t::context

Definition at line 890 of file nat.api.

◆ external_addr

u8 vl_api_nat44_add_del_lb_static_mapping_t::external_addr[4]

Definition at line 892 of file nat.api.

◆ external_port

u16 vl_api_nat44_add_del_lb_static_mapping_t::external_port

Definition at line 893 of file nat.api.

◆ is_add

u8 vl_api_nat44_add_del_lb_static_mapping_t::is_add

Definition at line 891 of file nat.api.

◆ local_num

u32 vl_api_nat44_add_del_lb_static_mapping_t::local_num

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

◆ out2in_only

u8 vl_api_nat44_add_del_lb_static_mapping_t::out2in_only

Definition at line 897 of file nat.api.

◆ protocol

u8 vl_api_nat44_add_del_lb_static_mapping_t::protocol

Definition at line 894 of file nat.api.

◆ self_twice_nat

u8 vl_api_nat44_add_del_lb_static_mapping_t::self_twice_nat

Definition at line 896 of file nat.api.

◆ tag

u8 vl_api_nat44_add_del_lb_static_mapping_t::tag[64]

Definition at line 898 of file nat.api.

◆ twice_nat

u8 vl_api_nat44_add_del_lb_static_mapping_t::twice_nat

Definition at line 895 of file nat.api.


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