cidrrange_val_ipv4_merge — Inserts a node, merging adjacent nodes with the same value
void **cidrrange_val_ipv4_merge** ( | root, | |
| | ip, | |
| | mask, | |
| | data
); | |
cidrrange_val_ipv4 * <var class="pdparam">root</var>;
struct in_addr <var class="pdparam">ip</var>;
u_int32_t <var class="pdparam">mask</var>;
ec_blobject * <var class="pdparam">data</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.
Inserts a node, merging adjacent nodes with the same value.
Inserts a node in the range. If the newly inserted value is directly adjacent to other nodes that have the same value, then the adjacent nodes will be merged to form a single range, reducing the overall memory footprint of the range.
the root of the range
the ip of the node
the mask of the node
the value of the node