Ocaml-ipaddr is a library for manipulation of IP and MAC address representations, supporting both IPv4 and IPv6.