FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
vl_api_nat_set_addr_and_port_alloc_alg_t Struct Reference

Set address and port assignment algorithm. More...

Data Fields

u32 client_index
 
u32 context
 
u8 alg
 
u8 psid_offset
 
u8 psid_length
 
u16 psid
 
u16 start_port
 
u16 end_port
 

Detailed Description

Set address and port assignment algorithm.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
alg- address and port assignment algorithm: 0 - default, 1 - MAP-E, 2 - port range (see nat_addr_and_port_alloc_alg_t in nat.h)
psid_offset- number of offset bits (valid only for MAP-E alg)
psid_length- length of PSID (valid only for MAP-E alg)
psid- Port Set Identifier (PSID) value (valid only for MAP-E alg)
start_port- beginning of the port range
end_port- end of the port range

Definition at line 429 of file nat44_ed.api.

Field Documentation

◆ alg

u8 vl_api_nat_set_addr_and_port_alloc_alg_t::alg

Definition at line 432 of file nat44_ed.api.

◆ client_index

u32 vl_api_nat_set_addr_and_port_alloc_alg_t::client_index

Definition at line 430 of file nat44_ed.api.

◆ context

u32 vl_api_nat_set_addr_and_port_alloc_alg_t::context

Definition at line 431 of file nat44_ed.api.

◆ end_port

u16 vl_api_nat_set_addr_and_port_alloc_alg_t::end_port

Definition at line 437 of file nat44_ed.api.

◆ psid

u16 vl_api_nat_set_addr_and_port_alloc_alg_t::psid

Definition at line 435 of file nat44_ed.api.

◆ psid_length

u8 vl_api_nat_set_addr_and_port_alloc_alg_t::psid_length

Definition at line 434 of file nat44_ed.api.

◆ psid_offset

u8 vl_api_nat_set_addr_and_port_alloc_alg_t::psid_offset

Definition at line 433 of file nat44_ed.api.

◆ start_port

u16 vl_api_nat_set_addr_and_port_alloc_alg_t::start_port

Definition at line 436 of file nat44_ed.api.


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