package nbd

  1. Overview
  2. Docs

In the 'newstyle' negotiation there is an opportunity for the client to negotiate options with the server. These are the known options.

type t =
  1. | ExportName
    (*

    The client would like to connect to a given disk/export by name

    *)
  2. | Abort
    (*

    The client would like to quit.

    *)
  3. | List
    (*

    The client would like to receive a list of known disk/exports.

    *)
  4. | StartTLS
    (*

    The client would like to protect the session with TLS.

    *)
  5. | Unknown of int32
    (*

    This option is unknown to this implementation

    *)
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val to_string : t -> string
OCaml

Innovation. Community. Security.