cidr_ipv4_count2 — Similar to cidr_ipv4_count but takes ec_sockaddr/mask or string representation cidr
u_int32_t **cidr_ipv4_count2** ( | root, | |
| | addr, | |
| | bit_len, | |
| | cidr
); | |
cidrnode_ipv4 * <var class="pdparam">root</var>;
ec_sockaddr * <var class="pdparam">addr</var>;
u_int32_t <var class="pdparam">bit_len</var>;
const char * <var class="pdparam">cidr</var>;
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
Similar to cidr_ipv4_count but takes ec_sockaddr/mask or string representation cidr.
If addr is given, it will take precedence over cidr. This function is mainly for Lua scripting.
-- cidr tree
-- should be from 0 to 32.
-- takes the form of "IP/[0-9]+".