Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
This type of module provides functions for parsing, marshalling and processing DNS requests to produce answers.
include Dns.Protocol.SERVER
val query_of_context : context -> Dns.Packet.t
Projects a context into its associated query
val parse : Cstruct.t -> context option
DNS wire format parser function.
val marshal :
?alloc:(unit -> Cstruct.t) ->
context ->
Dns.Packet.t ->
Cstruct.t option
DNS wire format marshal function.