Configure IP source and L4 port-range check.
- Template Parameters
-
| client_index | - opaque cookie to identify the sender |
| context | - sender context, to match reply w/ request |
| is_ip6 | - 1 if source address type is IPv6 |
| is_add | - 1 if add, 0 if delete |
| ip | - prefix to match |
| number_of_ranges | - length of low_port and high_port arrays (must match) |
| low_ports[32] | - up to 32 low end of port range entries (must have corresponding high_ports entry) |
| high_ports[32] | - up to 32 high end of port range entries (must have corresponding low_ports entry) |
| vrf_id | - fib table/vrf id to associate the source and port-range check with |
- Note
- To specify a single port set low_port and high_port entry the same
Definition at line 614 of file ip.api.