dns-forward

Library and tools for creating forwarding DNS servers
IN THIS PACKAGE
Parameter #3 Dns_forward . Resolver . Make . Clock
include Mirage_device.S with type t = unit with type 'a io = 'a Lwt.t
type 'a io = 'a Lwt.t

The type for potentially blocking I/O operation

type t = unit

The type representing the internal state of the device

val disconnect : t -> unit io

Disconnect from the device. While this might take some time to complete, it can never result in an error.

val elapsed_ns : t -> int64

elapsed_ns () is a monotonically increasing count of nanoseconds elapsed since some arbitrary point

val period_ns : t -> int64 option

period_ns () is Some ns representing the clock's nanosecond period ns, if known