Module mdns::protocol

source ·
Expand description

Protocol contains functions and traits for mDNS protocol parsing and packet creation.

Structs§

  • A parsed A type record.
  • A parsed AAAA type record.
  • A parsed mDNS domain. There is no need to worry about message compression when comparing against a string, and can be treated as a contiguous domain.
  • An mDNS compliant domain builder. Does not support message compression.
  • Represents an mDNS packet header.
  • A parsed mDNS message in its entirety.
  • A builder for creating an mDNS message.
  • Represents a parsed mDNS question.
  • A packet builder for an mDNS question.
  • Record is the catch-all container for Answer, Authority, and Additional Records sections of an MDNS packet. This is the parsed version that is created when parsing a packet.
  • A record builder for creating a serialized version of an mDNS Record, which is the catch-all type for Answers, Additional Records, and Authority records.
  • A parsed SRV type record.

Enums§

  • Standard DNS classes supported by this protocol library.
  • Determines which error was run into during parsing.
  • A parsed RData (can be one of several types). If this has been parsed in a PTR type, this will always be a RData::Domain. In a SRV type packet, this will always be a RData::Srv, anything else, currently, will be converted into RData::Bytes.
  • Standard mDNS types supported in this protocol library.

Traits§