package mirage-types
include DEVICE
This type is no longer used and will be removed once other * modules stop using it in their type signatures.
Type of the result of an ARP query. One of `Ok macaddr (for successful queries) or `Timeout (for attempted queries that received no response).
val pp : Format.formatter -> repr -> unit
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.