CIDR Functions

March 26, 2020 Contributors
Name Description
cidr_ipv4_count2 Similar to cidr_ipv4_count but takes ec_sockaddr/mask or string representation cidr
cidr_ipv4_delete Decrements the count for an IP address from a CIDR tree
cidr_ipv6_count2 Similar to cidr_ipv4_count but takes ec_sockaddr/mask or string representation cidr
cidr_query Obtain data associated with a CIDR block
cidrrange_ipv4_free Free a cidrrange_ipv4 object
cidrrange_ipv4_merge Inserts a node, merging adjacent nodes with the same value
cidrrange_ipv4_new Create a new ipv4 cidrrange
cidrrange_ipv4_query Query the orientation stored for an IP
cidrrange_ipv4_update Inserts a node
cidrrange_val_ipv4_dump Render the cidrrange_val_ipv4 to a string
cidrrange_val_ipv4_free Free the resources allocated for a list of CIDR blocks
cidrrange_val_ipv4_merge Inserts a node, merging adjacent nodes with the same value
cidrrange_val_ipv4_new Create a new list of IPv4 CIDR blocks
cidrrange_val_ipv4_query Retrieves the value associated with an IP address in a list of CIDR blocks
cidrrange_val_ipv4_update Updates the value for an IP address in a list of CIDR blocks

The APIs documented here relate to the cidrdb module.