otHistoryTrackerDnsSrpAddrInfo

#include <history_tracker.h>

Represents DNS/SRP server address information parsed from a Network Data service entry.

Summary

The mType field specifies the entry type. Some fields are only applicable to specific types.

  • The mPort field is only applicable for OT_HISTORY_TRACKER_DNS_SRP_ADDR_TYPE_UNICAST_* types.
  • The mSequenceNumber field is only applicable for the OT_HISTORY_TRACKER_DNS_SRP_ADDR_TYPE_ANYCAST type.
  • Other fields are common and used for all address types.

Public attributes

mAddress
The server address.
mEvent
Indicates the event (added/removed).
mPort
uint16_t
Port number.
mRloc16
uint16_t
The RLOC16 of the Border Router adding/removing the entry.
mSequenceNumber
uint8_t
Anycast sequence number.
mType
Address type.
mVersion
uint8_t
Version number.

Public attributes

mAddress

otIp6Address otHistoryTrackerDnsSrpAddrInfo::mAddress

The server address.

mEvent

otHistoryTrackerNetDataEvent otHistoryTrackerDnsSrpAddrInfo::mEvent

Indicates the event (added/removed).

mPort

uint16_t otHistoryTrackerDnsSrpAddrInfo::mPort

Port number.

mRloc16

uint16_t otHistoryTrackerDnsSrpAddrInfo::mRloc16

The RLOC16 of the Border Router adding/removing the entry.

mSequenceNumber

uint8_t otHistoryTrackerDnsSrpAddrInfo::mSequenceNumber

Anycast sequence number.

mType

otHistoryTrackerDnsSrpAddrType otHistoryTrackerDnsSrpAddrInfo::mType

Address type.

mVersion

uint8_t otHistoryTrackerDnsSrpAddrInfo::mVersion

Version number.

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.