Add/delete NAT44 load-balancing static mapping rule.
- 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 |
flags | - flag NAT_TWICE_NAT if NAT address range for external hosts, flag NAT_SELF_TWICE_NAT if translate external host address and port whenever external host address equals local address of internal host, flag NAT_OUT2IN_ONLY if rule match only out2in direction |
external_addr | - external IPv4 address of the service |
external_port | - external L4 port number of the service |
protocol | - IP protocol number of the service |
affinity | - if 0 disabled, otherwise client IP affinity sticky time in seconds |
local_num | - number of local network nodes |
locals | - local network nodes |
tag | - opaque string tag |
Definition at line 1050 of file nat44.api.