FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
vl_api_nat_get_addr_and_port_alloc_alg_reply_t Struct Reference

Get address and port assignment algorithm reply. More...

Data Fields

u32 context
 
i32 retval
 
u8 alg
 
u8 psid_offset
 
u8 psid_length
 
u16 psid
 
u16 start_port
 
u16 end_port
 

Detailed Description

Get address and port assignment algorithm reply.

Template Parameters
context- sender context, to match reply w/ request
retval- return code
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 358 of file nat.api.

Field Documentation

u8 vl_api_nat_get_addr_and_port_alloc_alg_reply_t::alg

Definition at line 361 of file nat.api.

u32 vl_api_nat_get_addr_and_port_alloc_alg_reply_t::context

Definition at line 359 of file nat.api.

u16 vl_api_nat_get_addr_and_port_alloc_alg_reply_t::end_port

Definition at line 366 of file nat.api.

u16 vl_api_nat_get_addr_and_port_alloc_alg_reply_t::psid

Definition at line 364 of file nat.api.

u8 vl_api_nat_get_addr_and_port_alloc_alg_reply_t::psid_length

Definition at line 363 of file nat.api.

u8 vl_api_nat_get_addr_and_port_alloc_alg_reply_t::psid_offset

Definition at line 362 of file nat.api.

i32 vl_api_nat_get_addr_and_port_alloc_alg_reply_t::retval

Definition at line 360 of file nat.api.

u16 vl_api_nat_get_addr_and_port_alloc_alg_reply_t::start_port

Definition at line 365 of file nat.api.


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