package mirage-vnetif-stack

  1. Overview
  2. Docs
type backend
type buffer
type 'a io
type id
val create_stack_ipv4 : cidr:Ipaddr.V4.Prefix.t -> ?gateway:Ipaddr.V4.t -> ?mtu:int -> ?monitor_fn:(buffer -> unit io) -> ?unlock_on_listen:Lwt_mutex.t -> backend -> V4.t Lwt.t

Create a new IPv4 stack connected to an existing backend