v4.0.0
CHANGES:
-
Rename the
to/from_bytes
functions to refer tooctets
instead. This distinguishes the meaning of human-readable
addresses (string
s in this library) and byte-packed
representations(octet
s in this library) from the OCaml
bytes
type that represents mutable strings.Porting code should just be a matter of renaming functions
such as:Ipaddr.of_bytes
becomesIpaddr.of_octets
Macaddr.to_bytes
becomesMacaddr.to_octets
-
Introduce new
write_octets
functions that can write
octet representations of IPv4/v6 into an existing bytestring. -
Use the
domain-name
library to produce domain names
from IP addresses. -
Remove the
ipaddr.sexp
andmacaddr.sexp
ocamlfind
subpackages and instead haveipaddr-sexp
andmacaddr-sexp
to match the opam package names. -
Add new
Ipaddr_cstruct
andMacaddr_cstruct
libraries
for conversion to/from cstructs (#36 @nojb @avsm)