package dns

  1. Overview
  2. Docs
type ip_endpoint = Ipaddr.t * int
type !'a process = src:ip_endpoint -> dst:ip_endpoint -> 'a -> Dns.Query.answer option Lwt.t
module type PROCESSOR = sig ... end
type !'a processor = (module PROCESSOR with type context = 'a)
val process_query : Dns.Buf.t -> int -> Dns.Buf.t -> ip_endpoint -> ip_endpoint -> (module PROCESSOR) -> Dns.Buf.t option Lwt.t
val processor_of_process : Dns.Packet.t process -> Dns.Packet.t processor
val process_of_zonebuf : string -> Dns.Packet.t process
OCaml

Innovation. Community. Security.