You can search for identifiers within the package.
in-package search v0.2.0
dns
Packet.Question
A DNS Question - the first section of a DNS packet
type qtype = [
| `Any
| `K of Rr_map.k
]
The question type, either Any or a concrete RR type.
val pp_qtype : qtype Fmt.t
pp_qtype ppf q pretty-prints the question type q on ppf.
pp_qtype ppf q
q
ppf
val compare_qtype : qtype -> qtype -> int
compare_qtype a b compares the question type a with b.
compare_qtype a b
a
b
type t = [ `raw ] Domain_name.t * [ qtype | `Axfr | `Ixfr ]
The type in a DNS question: its name and question type or a zone full or incremental transfer.
val qtype : t -> qtype option
qtype t is the question type of t, if any, or None.
qtype t
t
None
val create : 'a Domain_name.t -> 'b Rr_map.key -> t
create name key is a DNS question.
create name key
val pp : t Fmt.t
pp ppf t pretty-prints the question t on ppf.
pp ppf t
val compare : t -> t -> int
compare a b compares the question a with b by first comparing the domain name for equality, and if equal the query type.
compare a b