FD.io VPP  v18.07-rc0-415-g6c78436
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
 
u32 vrf_id
 
u8 twice_nat
 
u8 self_twice_nat
 
u8 out2in_only
 
u8 tag [64]
 
u8 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
vrf_id- internal network VRF ID
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
local_num- number of local network nodes
locals- local network nodes

Definition at line 617 of file nat.api.

Field Documentation

u32 vl_api_nat44_add_del_lb_static_mapping_t::client_index

Definition at line 618 of file nat.api.

u32 vl_api_nat44_add_del_lb_static_mapping_t::context

Definition at line 619 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::external_addr[4]

Definition at line 621 of file nat.api.

u16 vl_api_nat44_add_del_lb_static_mapping_t::external_port

Definition at line 622 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::is_add

Definition at line 620 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::local_num

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

u8 vl_api_nat44_add_del_lb_static_mapping_t::out2in_only

Definition at line 627 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::protocol

Definition at line 623 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::self_twice_nat

Definition at line 626 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::tag[64]

Definition at line 628 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::twice_nat

Definition at line 625 of file nat.api.

u32 vl_api_nat44_add_del_lb_static_mapping_t::vrf_id

Definition at line 624 of file nat.api.


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