type addr = t
val to_string : t -> string
to_string subnet is the text string representation of
to_buffer buf subnet writes the text string representation of
pp f subnet outputs a human-readable representation of
subnet to the formatter
val of_string_exn : string -> t
of_string_exn cidr is the subnet prefix represented by the CIDR string,
cidr is not a valid representation of a CIDR notation routing prefix.
of_string_exn but returns a result type instead of raising an exception.
of_string_exn but takes as an extra argument the offset into the string for reading.
v4_of_v6 ipv6 is the IPv4 representation of the IPv6 subnet
ipv6 is not an IPv4-mapped subnet, None is returned.
v6_of_v4 ipv4 is the IPv6 representation of the IPv4 subnet
subset ~subnet ~network checks whether
subnet is contained within
include Map.OrderedType with type t := t
A total ordering function over the keys. This is a two-argument function
f such that
f e1 e2 is zero if the keys
e2 are equal,
f e1 e2 is strictly negative if
e1 is smaller than
f e1 e2 is strictly positive if
e1 is greater than
e2. Example: a suitable ordering function is the generic structural comparison function