package ipaddr
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=f27e93ea8b13083474cc995e37297ab6faf118f9381b2219aab972d0ae7e2886
md5=f3442867873b4b60d7860283ff98c3c8
Description
A library for manipulation of IP (and MAC) address representations.
Features:
- Depends only on sexplib (conditionalization under consideration)
- oUnit-based tests
- IPv4 and IPv6 support
- IPv4 and IPv6 CIDR prefix support
- IPv4 and IPv6 CIDR-scoped address support
Ipaddr.V4
andIpaddr.V4.Prefix
modules areMap.OrderedType
Ipaddr.V6
andIpaddr.V6.Prefix
modules areMap.OrderedType
Ipaddr
andIpaddr.Prefix
modules areMap.OrderedType
Ipaddr_unix
in findlib subpackageipaddr.unix
provides compatibility with the standard libraryUnix
moduleIpaddr_top
in findlib subpackageipaddr.top
provides top-level pretty printers (requires compiler-libs default since OCaml 4.0)- IP address scope classification
- IPv4-mapped addresses in IPv6 (::ffff:0:0/96) are an embedding of IPv4
- MAC-48 (Ethernet) address support
Macaddr
is aMap.OrderedType
- All types have sexplib serializers/deserializers
README
ipaddr: IP (and MAC) address manipulation
A library for manipulation of IP (and MAC) address representations.
Features:
Depends only on sexplib (conditionalization under consideration)
oUnit-based tests
IPv4 and IPv6 support
IPv4 and IPv6 CIDR prefix support
IPv4 and IPv6 CIDR-scoped address support
Ipaddr.V4
andIpaddr.V4.Prefix
modules areMap.OrderedType
Ipaddr.V6
andIpaddr.V6.Prefix
modules areMap.OrderedType
Ipaddr
andIpaddr.Prefix
modules areMap.OrderedType
Ipaddr_unix
in findlib subpackageipaddr.unix
provides compatibility with the standard libraryUnix
moduleIpaddr_top
in findlib subpackageipaddr.top
provides top-level pretty printers (requires compiler-libs default since OCaml 4.0)IP address scope classification
IPv4-mapped addresses in IPv6 (::ffff:0:0/96) are an embedding of IPv4
MAC-48 (Ethernet) address support
Macaddr
is aMap.OrderedType
All types have sexplib serializers/deserializers
Dependencies (6)
- sexplib
-
ppx_sexp_conv
>= "v0.9.0"
-
ocaml-migrate-parsetree
< "2.0.0"
- base-bytes
-
jbuilder
>= "1.0+beta7"
-
ocaml
>= "4.03.0" & < "5.0"
Dev Dependencies (1)
-
ounit
with-test
Used by (59)
-
arp
< "0.2.3"
- builder-web
-
capnp-rpc-mirage
< "0.3.2"
-
caqti-async
>= "2.1.1"
-
caqti-driver-pgx
>= "2.1.1"
-
caqti-lwt
>= "2.1.1"
-
caqti-mirage
>= "2.1.1"
-
charrua-client
< "1.2.0"
-
charrua-client-lwt
< "0.11.1"
-
charrua-client-mirage
< "0.11.1"
-
charrua-core
< "0.11.1"
-
cohttp-async
>= "4.0.0"
-
conduit
< "1.4.0"
-
conduit-async
>= "1.2.0" & < "1.4.0"
-
conduit-lwt-unix
< "1.4.0"
- corosync
-
dkim
>= "0.2.0"
-
dns
< "1.1.3"
- dns-forward
- eliom
- emile
- git-paf
- happy-eyeballs-lwt
- happy-eyeballs-mirage
- ipv6-multicast
- irmin-client
-
learn-ocaml
< "0.14.0"
-
learn-ocaml-client
< "0.14.0"
- metrics-mirage
- miou
-
mirage
< "3.4.0"
-
mirage-block-xen
< "2.0.0"
-
mirage-bootvar-xen
< "0.4.0"
-
mirage-conduit
< "3.1.0"
- mirage-nat
- mirage-net-fd
-
mirage-net-lwt
< "1.2.0"
-
mirage-net-macosx
>= "1.2.0" & < "1.5.0"
-
mirage-net-solo5
< "0.4.1"
-
mirage-protocols-lwt
< "1.4.1"
-
mirage-qubes-ipv4
< "0.6.1"
-
mirage-runtime
< "3.4.0"
- mirage-stack-lwt
-
mirage-types-lwt
< "3.4.0"
-
mirage-vnetif
< "0.4.1"
-
mrmime
>= "0.2.0" & < "0.6.0"
- ocsigenserver
- paf-cohttp
-
pcap-format
< "0.5.2"
- pf-qubes
-
pgx
>= "1.0"
-
piaf
>= "0.2.0"
-
sendmail-lwt
>= "0.10.0"
-
tcpip
< "3.6.0"
-
tls
>= "0.15.0"
-
tuntap
< "1.8.1"
-
vmnet
< "1.3.3"
- vpnkit
- websocket-lwt
Conflicts
None