module Ipv4:sig
..end
typeip =
Int64.t
typecidr =
ip * int
val binary : int64 -> string
val ip_of_string : string -> int64
val cidr_of_string : string -> int64 * int
val octets_of_ip : int64 -> int * int * int * int
val string_of_ip : int64 -> string
val string_of_cidr : int64 * int -> string
val range_of_cidr : int64 * int -> int64 * int64
val within : int64 * int -> int64 -> bool