package arp-mirage

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Ethif : Mirage_protocols_lwt.ETHIF
module Time : Mirage_time_lwt.S

Signature

include Mirage_protocols_lwt.ARP
type 'a io = 'a Lwt.t
type t
val disconnect : t -> unit io
type ipaddr = Ipaddr.V4.t
type buffer = Cstruct.t
type macaddr = Macaddr.t
type repr
type error = private [>
  1. | Mirage_protocols.Arp.error
]
val pp_error : error Fmt.t
val to_repr : t -> repr io
val pp : repr Fmt.t
val get_ips : t -> ipaddr list
val set_ips : t -> ipaddr list -> unit io
val remove_ip : t -> ipaddr -> unit io
val add_ip : t -> ipaddr -> unit io
val query : t -> ipaddr -> (macaddr, error) Stdlib.result io
val input : t -> buffer -> unit io
val connect : Ethif.t -> t Lwt.t
OCaml

Innovation. Community. Security.