cidrrange_val_ipv4_new
Last updated March 2020
Name
cidrrange_val_ipv4_new — Create a new list of IPv4 CIDR blocks
Synopsis
#include "cidrtree/cidrrange.h"
| cidrrange_val_ipv4 * **cidrrange_val_ipv4_new** (
| default_value)
; | |
Description
Create a new list of IPv4 CIDR blocks.
- default_value
-
The address of an “ec_blobject”. This is the
ec_blobject
returned when no ranges match a query.
Returns the address of a newly allocated cidrrange_val_ipv4
list. The caller is responsible for invoking cidrrange_val_ipv4_free to release the allocated resources.
The following typedef applies to this data type:
typedef Skiplist cidrrange_val_ipv4;
It is legal to call this function in any thread.
See Also
Was this page helpful?