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 | - true if add, false if delete |
match_pool | - true if use specific pool_ip_address |
flags | - flag NAT_IS_ADDR_ONLY if address only mapping, flag nat_is_twice_nat if nat address range for external hosts, flag NAT_IS_SELF_TWICE_NAT if translate external host address and port whenever external host address equals local address of internal host, flag NAT_IS_OUT2IN_ONLY if rule match only out2in direction |
pool_ip_address | - pool IPv4 address to match with pool |
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 |
tag | - opaque string tag |
Definition at line 710 of file nat.api.