Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Address resolution protocol, translating network addresses (e.g. IPv4) into link layer addresses (MAC).
Disconnect from the ARP layer. While this might take some time to complete, it can never result in an error.
val pp_error : error Fmt.t
pp_error
is the pretty-printer for errors.
val pp : t Fmt.t
Prettyprint cache contents
val get_ips : t -> Ipaddr.V4.t list
get_ips arp
gets the bound IP address list in the arp
value.
set_ips arp
sets the bound IP address list, which will transmit a GARP packet also.
remove_ip arp ip
removes ip
to the bound IP address list in the arp
value, which will transmit a GARP packet for any remaining IPs in the bound IP address list after the removal.
add_ip arp ip
adds ip
to the bound IP address list in the arp
value, which will transmit a GARP packet also.
query arp ip
queries the cache in arp
for an ARP entry corresponding to ip
, which may result in the sender sleeping waiting for a response.