cidrrange_ipv4_new

March 26, 2020 Contributors

Name

cidrrange_ipv4_new — Create a new ipv4 cidrrange

Synopsis

#include "cidrtree/cidrrange.h"

| cidrrange_ipv4 * **cidrrange_ipv4_new** ( | orientation); |   |

int <var class="pdparam">orientation</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.

Create a new ipv4 cidrrange.

Parameters

orientation

the default orientation, CIDRRANGE_NEGATIVE or CIDRRANGE_POSITIVE, returned when no node matches a query

Return Values

a new cidrrange_ipv4 object.