Module Routing.Make

Parameters

module Log : Logs.LOG
module A : Mirage_protocols.ARP

Signature

val destination_mac : Ipaddr.V4.Prefix.t -> Ipaddr.V4.t option -> A.t -> Ipaddr.V4.Prefix.addr -> (Macaddr.t[> `Gateway | `Local ]) Stdlib.result Lwt.t