Skip to main content

Name

cidr_ipv6_count2 — Similar to cidr_ipv4_count but takes ec_sockaddr/mask or string representation cidr

Synopsis

#include "cidrtree/cidrtree_ipv6.h"

| u_int32_t **cidr_ipv6_count2** ( | root, |   | |   | addr, |   | |   | bit_len, |   | |   | cidr); |   |

cidrnode_ipv6 * <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>;

Description

Note

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.

Parameters

root

-- cidr tree

addr

-- Address

bit_len

-- should be from 0 to 128.

cidr

-- takes the form of "IP/[0-9]+".

Return Values

connection count.

Was this page helpful?