Crate cidrs

Source

Structs§

Ipv4Cidr
An IPv4 CIDR block.
Ipv6Cidr
An IPv6 CIDR block.

Enums§

Cidr
An IP CIDR, either IPv4 or IPv6.
Error

Functions§

aggregate
Aggregates a list of CIDR ranges into a minimal set of non-overlapping ranges.
aggregate_ipv4
Aggregates a list of IPv4 CIDR ranges into a minimal set of non-overlapping ranges.
aggregate_ipv6
Aggregates a list of IPv6 CIDR ranges into a minimal set of non-overlapping ranges.
partition_by_ip_family
Partitions a slice of Cidr into separate vectors of Ipv4Cidr and Ipv6Cidr.

Type Aliases§

Result