Searched refs:mSubTypeLabel (Results 1 – 7 of 7) sorted by relevance
/openthread-latest/include/openthread/platform/ |
D | dnssd.h | 430 const char *mSubTypeLabel; ///< The sub-type label if browsing for sub-type, NULL otherwise. member 452 …const char *mSubTypeLabel; ///< The sub-type label if browsing for sub-type, NULL ot… member
|
/openthread-latest/src/cli/ |
D | cli_mdns.cpp | 642 browser.mSubTypeLabel = aArgs[2].GetCString(); in Process() 673 if (aResult.mSubTypeLabel) in HandleBrowseResult() 675 OutputLine(" sub-type %s", aResult.mSubTypeLabel); in HandleBrowseResult() 912 if (browser.mSubTypeLabel != nullptr) in Process() 914 OutputFormat(" for sub-type %s", browser.mSubTypeLabel); in Process()
|
/openthread-latest/tests/unit/ |
D | test_dnssd_discovery_proxy.cpp | 515 bool SubTypeMatches(const char *aSubType) const { return !strcmp(mSubTypeLabel, aSubType); } in SubTypeMatches() 521 CopyString(mSubTypeLabel, aBrowser->mSubTypeLabel); in UpdateFrom() 527 char mSubTypeLabel[Dns::Name::kMaxNameSize]; member 632 Log(" subType : \"%s\"", StringNullCheck(aResult.mSubTypeLabel)); in InvokeBrowserCallback() 708 …tPlatDnssdStartBrowser(\"%s\", sub-type:\"%s\")", aBrowser->mServiceType, aBrowser->mSubTypeLabel); in otPlatDnssdStartBrowser() 725 …otPlatDnssdStopBrowser(\"%s\", sub-type:\"%s\")", aBrowser->mServiceType, aBrowser->mSubTypeLabel); in otPlatDnssdStopBrowser() 952 browseResult.mSubTypeLabel = nullptr; in TestProxyBasic() 1493 browseResult.mSubTypeLabel = "_god"; in TestProxySubtypeBrowse() 1763 browseResult.mSubTypeLabel = nullptr; in TestProxyTimeout() 2027 browseResult.mSubTypeLabel = nullptr; in TestProxySharedResolver() [all …]
|
D | test_mdns.cpp | 893 if (aBrowser.mSubTypeLabel == nullptr) in ValidateAsQueryFor() 899 … fullServiceType.Append("%s._sub.%s.local", aBrowser.mSubTypeLabel, aBrowser.mServiceType); in ValidateAsQueryFor() 4620 DnsName mSubTypeLabel; member 4715 … aResult->mSubTypeLabel == nullptr ? "(null)" : aResult->mSubTypeLabel, aResult->mServiceInstance, in HandleBrowseResult() 4722 entry->mSubTypeLabel.CopyFrom(aResult->mSubTypeLabel); in HandleBrowseResult() 4725 entry->mIsSubType = (aResult->mSubTypeLabel != nullptr); in HandleBrowseResult() 4883 browser.mSubTypeLabel = nullptr; in TestBrowser() 4954 browser2.mSubTypeLabel = nullptr; in TestBrowser() 6707 browser.mSubTypeLabel = nullptr; in TestPassiveCache() 6796 browser.mSubTypeLabel = "_xyzw"; in TestPassiveCache() [all …]
|
/openthread-latest/src/core/net/ |
D | mdns.cpp | 5029 SuccessOrExit(error = mSubTypeLabel.Set(aSubTypeLabel)); in Init() 5037 return Init(aInstance, aBrowser.mServiceType, aBrowser.mSubTypeLabel); in Init() 5050 bool isSubType = !mSubTypeLabel.IsNull(); in Matches() 5060 SuccessOrExit(Name::CompareLabel(message, offset, mSubTypeLabel.AsCString())); in Matches() 5076 VerifyOrExit(mSubTypeLabel.IsNull()); in Matches() 5080 VerifyOrExit(NameMatch(mSubTypeLabel, aSubTypeLabel)); in Matches() 5091 return Matches(aBrowser.mServiceType, aBrowser.mSubTypeLabel); in Matches() 5228 if (!mSubTypeLabel.IsNull()) in AppendServiceTypeOrSubTypeTo() 5232 … outcome = aTxMessage.AppendLabel(aSection, mSubTypeLabel.AsCString(), mSubServiceNameOffset); in AppendServiceTypeOrSubTypeTo() 5319 aBrowser.mSubTypeLabel = mSubTypeLabel.AsCString(); in CopyInfoTo() [all …]
|
D | dnssd_server.cpp | 1696 browser.mSubTypeLabel = aServiceName; in StartOrStopBrowser() 1701 browser.mSubTypeLabel = nullptr; in StartOrStopBrowser() 1900 if (aResult.mSubTypeLabel != nullptr) in HandleBrowseResult() 1902 ConstructFullServiceSubTypeName(aResult.mServiceType, aResult.mSubTypeLabel, serviceName); in HandleBrowseResult()
|
D | mdns.hpp | 1694 Heap::String mSubTypeLabel; member in ot::Dns::Multicast::Core::BrowseCache
|