package netchannel

  1. Overview
  2. Docs
val read_frontend_mac : -> Macaddr.t Lwt.t
val read_backend_mac : -> Macaddr.t Lwt.t
val read_mtu : -> int Lwt.t
val read_frontend_configuration : -> S.frontend_configuration Lwt.t

Waits for the frontend configuration to become available and returns it.

val write_frontend_configuration : -> S.frontend_configuration -> unit Lwt.t
val enumerate : unit -> string list Lwt.t

List the names of available devices.

val connect : -> unit Lwt.t
val disconnect_frontend : -> unit Lwt.t

Set the frontend state to Closed.

val disconnect_backend : -> unit Lwt.t

Delete the backend directory.

val wait_until_backend_connected : S.backend_configuration -> unit Lwt.t
val read_backend : -> S.backend_configuration Lwt.t
val init_backend : -> Features.t -> S.backend_configuration Lwt.t

Initialise the configuration for a new backend.

val description : string

Human-readable description suitable for help text or a manpage

val wait_for_frontend_closing : -> unit Lwt.t

wait_for_frontend_closing id is a thread that returns when id's frontend moves to the closing state.

val wait_for_backend_closing : -> unit Lwt.t

wait_for_backend_closing id is a thread that returns when id's backend moves to the closing state.