Add/delete NAT44 static mapping.
- 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 |
addr_only | - 1 if address only mapping |
local_ip_address | - local IPv4 address |
external_ip_address | - external IPv4 address |
protocol | - IP protocol |
local_port | - local port number |
external_port | - external port number |
external_sw_if_index | - external interface (if set external_ip_address is ignored, ~0 means not used) |
vfr_id | - VRF ID |
twice_nat | - if 1 translate external host address and port, only for 1:1 NAPT (addr_only must be 0) |
Definition at line 356 of file nat.api.