Init()
Initializes the OPT Resource Record by setting its type and clearing extended Response Code, version and all flags. Other record fields (UDP payload size, length) remain unchanged/uninitialized.
GetUdpPayloadSize() const
Gets the requester's UDP payload size (the number of bytes of the largest UDP payload that can be delivered in the requester's network). The field is encoded in the CLASS field.
SetUdpPayloadSize()
Gets the requester's UDP payload size (the number of bytes of the largest UDP payload that can be delivered in the requester's network).
GetExtendedResponseCode() const
Gets the upper 8-bit of the extended 12-bit Response Code. Value of 0 indicates that an unextended Response code is in use.
SetExtendedResponseCode()
Sets the upper 8-bit of the extended 12-bit Response Code. Value of 0 indicates that an unextended Response code is in use.
GetVersion() const
Gets the Version field.
SetVersion()
Set the Version field.
IsDnsSecurityFlagSet() const
Indicates whether the DNSSEC OK flag is set or not.
ClearDnsSecurityFlag()
Clears the DNSSEC OK bit flag.
SetDnsSecurityFlag()
Sets the DNSSEC OK bit flag.
GetTtlByteAt() const
GetTtlByteAt()