Home
last modified time | relevance | path

Searched defs:NameComponentsOffsetInfo (Results 1 – 1 of 1) sorted by relevance

/external/openthread/src/core/net/
Ddnssd_server.hpp259 struct NameComponentsOffsetInfo struct in ot::Dns::ServiceDiscovery::Server
261 static constexpr uint8_t kNotPresent = 0xff; // Indicates the component is not present.
263 explicit NameComponentsOffsetInfo(void) in NameComponentsOffsetInfo() function
272 bool IsServiceInstanceName(void) const { return mInstanceOffset != kNotPresent; } in IsServiceInstanceName()
274 …ServiceName(void) const { return mServiceOffset != kNotPresent && mInstanceOffset == kNotPresent; } in IsServiceName()
276 bool IsHostName(void) const { return mProtocolOffset == kNotPresent && mDomainOffset != 0; } in IsHostName()
278 uint8_t mDomainOffset; // The offset to the beginning of <Domain>.
279 …rotocolOffset; // The offset to the beginning of <Protocol> (i.e. _tcp or _udp) or `kNotPresent` if
281 … mServiceOffset; // The offset to the beginning of <Service> or `kNotPresent` if the name is not a
283 …ubTypeOffset; // The offset to the beginning of sub-type label or `kNotPresent` is not a sub-type.
[all …]