Module Packet.Flag

type t = [
  1. | `Authoritative
  2. | `Truncation
  3. | `Recursion_desired
  4. | `Recursion_available
  5. | `Authentic_data
  6. | `Checking_disabled
]

The type of DNS packet flags.

val compare : t -> t -> int

compare a b compares the flag a with b.

val pp : t Fmt.t

pp ppf f pretty-prints the flag f on ppf.

val pp_short : t Fmt.t

pp_short ppf f pretty-prints the flag in two letters on ppf.