Skip to main content

Name

cidrrange_val_ipv4_update — Updates the value for an IP address in a list of CIDR blocks

Synopsis

#include "cidrtree/cidrrange.h"

| void **cidrrange_val_ipv4_update** ( | 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>;

Description

Updates the value for an IP address in a list of CIDR blocks or inserts the IP address into the list.

Parameters

root

The root of the CIDR block list.

ip

The IP of the node to insert.

mask

The IP mask.

data

The associated data.

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?