dns v2.1.2 DNS.Header

TODO: docs

Link to this section Summary

Functions

Converts a :dns_header record into a DNS.Header

Converts a DNS.Header struct to a :dns_header record

Link to this section Types

Link to this type t()
t() :: %DNS.Header{
  aa: term(),
  id: term(),
  opcode: term(),
  pr: term(),
  qr: term(),
  ra: term(),
  rcode: term(),
  rd: term(),
  tc: term()
}

Link to this section Functions

Link to this function from_record(file_info)

Converts a :dns_header record into a DNS.Header.

Link to this function to_record(header)

Converts a DNS.Header struct to a :dns_header record.