package shared-memory-ring

  1. Overview
  2. Docs

Module RingSource

Shared ring handling to communicate with other Xen domains.

Sourcetype buf = Cstruct.t
Sourcemodule Rpc : sig ... end
Sourcemodule type RW = sig ... end
Sourcemodule Reverse (RW : RW) : RW
Sourcemodule type STREAM = sig ... end
Sourcemodule type READABLE = sig ... end

A stream of readable items

Sourcemodule type WRITABLE = sig ... end

A stream of writable items

Sourcemodule type S = sig ... end
Sourcemodule Pipe (RW : RW) : S
Sourcemodule type Bidirectional_byte_stream = sig ... end
Sourceval zero : Cstruct.t -> unit

zero c sets every byte of the c Cstruct to zero.

Sourceval unsafe_load_uint32 : Cstruct.t -> int -> int
Sourceval unsafe_save_uint32 : Cstruct.t -> int -> int -> unit
OCaml

Innovation. Community. Security.