Searched defs:NameComponentsOffsetInfo (Results 1 – 1 of 1) sorted by relevance
259 struct NameComponentsOffsetInfo struct in ot::Dns::ServiceDiscovery::Server261 static constexpr uint8_t kNotPresent = 0xff; // Indicates the component is not present.263 explicit NameComponentsOffsetInfo(void) in NameComponentsOffsetInfo() function272 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` if281 … mServiceOffset; // The offset to the beginning of <Service> or `kNotPresent` if the name is not a283 …ubTypeOffset; // The offset to the beginning of sub-type label or `kNotPresent` is not a sub-type.[all …]