package arp
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=d68e2e3c3fe8c4d4584443047aa47c1e917775429cace247292a9b723bf146ff
md5=4f24627b054bd722669ea0785279a41f
Description
ARP is an implementation of the address resolution protocol (RFC826) purely in OCaml. It handles IPv4 protocol addresses and Ethernet hardware addresses only.
A MirageOS
Mirage_protocols.ARP
implementation is in the mirage
subdirectory.
Motivation for this implementation is written up.
Published: 07 May 2018
README
ARP - Address Resolution Protocol purely in OCaml
0.2.1
ARP is an implementation of the address resolution protocol (RFC826) purely in OCaml. It handles IPv4 protocol addresses and Ethernet hardware addresses only.
A MirageOS Mirage_protocols.ARP implementation is in the mirage
subdirectory.
Motivation for this implementation is written up.
Documentation
API documentation is available online, also a test suite and a coverage report.
Installation
opam install arp
will install this library, once you have installed OCaml (>= 4.02.0) and opam (>= 1.2.2).
The Mirage interface depends on changes in the not yet released tcpip library, in order to get the latest, you'll need to opam repo add mirage-dev https://github.com/mirage/mirage-dev.git
.
Benchmarks require more opam libraries, namely mirage-vnetif mirage-clock-unix mirage-unix nocrypto
. Use ./bench/build.sh
to build, it will produce a bench.native
, which uses this implementation, and a mbench.native
which uses the ARPv4 implementation of mirage-tcpip.
Dependencies (8)
- logs
-
ipaddr
>= "2.2.0" & < "3.0.0"
-
cstruct
>= "2.2.0" & < "6.1.0"
- ppx_cstruct
-
topkg
build
-
ocamlbuild
build
-
ocamlfind
build
-
ocaml
>= "4.04.2"
Used by (1)
-
mirage-nat
>= "1.1.0" & < "2.1.0"
Conflicts (4)
-
mirage-protocols
>= "4.0.0"
-
mirage-clock
>= "3.0.0"
-
mirage-types-lwt
< "3.0.0"
-
tcpip
< "2.8.0"