cidrrange_ipv4_update

March 26, 2020 Contributors

Name

cidrrange_ipv4_update — Inserts a node

Synopsis

#include "cidrtree/cidrrange.h"

| void **cidrrange_ipv4_update** ( | root, |   |
|   | ip, |   |
|   | mask, |   |
|   | orientation); |   |

cidrrange_ipv4 * <var class="pdparam">root</var>;
struct in_addr <var class="pdparam">ip</var>;
u_int32_t <var class="pdparam">mask</var>;
u_int32_t <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.

Inserts a node.

Inserts a node in the range.

Parameters

root

the root of the range

ip

the ip of the node

mask

the mask of the node

orientation

CIDRRANGE_NEGATIVE or CIDRRANGE_POSITIVE