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, used only if addr_only=0 |
local_port | - local port number, used only if addr_only=0 |
external_port | - external port number, used only if addr_only=0 |
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) |
out2in_only | - if 1 rule match only out2in direction |
tag | - opaque string tag |
Definition at line 358 of file nat.api.