FD.io VPP
v20.05.1-6-gf53edbc3b
Vector Packet Processing
|
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 |
Set address and port assignment algorithm.
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 |