libipaddr-ocaml

Library for manipulation of ip (and mac) address representations (runtime)
  https://github.com/mirage/ocaml-ipaddr
  0
  no reviews



This is a library for manipulation of ip (and mac) address representations.

features:
* ipv4 and ipv6 support
* ipv4 and ipv6 cidr prefix support
* ipv4 and ipv6 cidr-scoped address support
* integration with the standard ocaml distribution (map.orderedtype,
unix, top-level)
* ip address scope classification
* ipv4-mapped addresses in ipv6 (::ffff:0:0/96) are an embedding of ipv4
* mac-48 (ethernet) address support
* all types have sexplib serializers/deserializers
this package contains the shared runtime libraries.