package nbd

  1. Overview
  2. Docs

Module Protocol.OptionSource

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

Sourcetype 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
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval to_string : t -> string
OCaml

Innovation. Community. Security.