FD.io VPP  v18.04-17-g3a0d853
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 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
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 592 of file nat.api.

Field Documentation

u32 vl_api_nat44_add_del_lb_static_mapping_t::client_index

Definition at line 593 of file nat.api.

u32 vl_api_nat44_add_del_lb_static_mapping_t::context

Definition at line 594 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::external_addr[4]

Definition at line 596 of file nat.api.

u16 vl_api_nat44_add_del_lb_static_mapping_t::external_port

Definition at line 597 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::is_add

Definition at line 595 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::local_num

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

u8 vl_api_nat44_add_del_lb_static_mapping_t::out2in_only

Definition at line 601 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::protocol

Definition at line 598 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::tag[64]

Definition at line 602 of file nat.api.

u8 vl_api_nat44_add_del_lb_static_mapping_t::twice_nat

Definition at line 600 of file nat.api.

u32 vl_api_nat44_add_del_lb_static_mapping_t::vrf_id

Definition at line 599 of file nat.api.


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