Skip to content

hannesm/arp

master
Switch branches/tags
Code
This branch is 74 commits behind mirage:main.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
pkg
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ARP - Address Resolution Protocol purely in OCaml

%%VERSION%%

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

Build Status

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.

About

Purely functional ARP in OCaml

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • OCaml 99.4%
  • Shell 0.6%