cidrrange_val_ipv4_update
Last updated March 2020
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.
- root
-
The root of the CIDR block list.
- ip
-
The IP of the node to insert.
- mask
-
The IP mask.
- data
-
The associated data.
This function returns void
.
It is legal to call this function in any thread.
See Also
Was this page helpful?