Home
last modified time | relevance | path

Searched refs:mHostName (Results 1 – 13 of 13) sorted by relevance

/openthread-latest/include/openthread/platform/
Ddnssd.h100 const char *mHostName; ///< The host name (does not include domain name). member
122 const char *mHostName; ///< The host name (does not include domain name). member
465 …const char *mHostName; ///< The host name (e.g., "myhost"). Can be NULL when `mTtl` is zero. member
545 const char *mHostName; ///< The host name. member
566 …const char *mHostName; ///< The host name (e.g., "myhost"). MUST NOT contain do… member
/openthread-latest/src/core/utils/
Dsrp_client_buffers.hpp202 aSize = sizeof(mHostName); in GetHostNameString()
203 return mHostName; in GetHostNameString()
260 char mHostName[kHostNameSize]; member in ot::Utils::SrpClientBuffers
/openthread-latest/tests/unit/
Dtest_mdns.cpp241 DnsName mHostName; member
316 mData.mSrv.mHostName.ParseFrom(aMessage, offset); in ParseFrom()
322 mData.mSrv.mHostName.AsCString()); in ParseFrom()
452 hostName.Append("%s.local.", aService.mHostName); in ContainsSrv()
464 VerifyOrExit(record.mData.mSrv.mHostName.Matches(hostName.AsCString())); in ContainsSrv()
736 fullName.Append("%s.local.", aHost.mHostName); in ValidateAsProbeFor()
786 fullName.Append("%s.local.", aHost.mHostName); in Validate()
936 fullName.Append("%s.local.", aResolver.mHostName); in ValidateAsQueryFor()
1704 host.mHostName = "myhost"; in TestHostReg()
1709 hostFullName.Append("%s.local.", host.mHostName); in TestHostReg()
[all …]
Dtest_dnssd_discovery_proxy.cpp438 char mHostName[Dns::Name::kMaxNameSize]; member
460 …ccessOrQuit(response.GetHostName(sResolveAddressInfo.mHostName, sizeof(sResolveAddressInfo.mHostNa… in AddressCallback()
461 Log(" HostName: %s", sResolveAddressInfo.mHostName); in AddressCallback()
571 bool HostNameMatches(const char *aName) const { return !strcmp(mHostName, aName); } in HostNameMatches()
576 CopyString(mHostName, aResolver->mHostName); in UpdateFrom()
581 char mHostName[Dns::Name::kMaxNameSize]; member
645 Log(" hostName : %s", StringNullCheck(aResult.mHostName)); in InvokeSrvResolverCallback()
670 Log(" hostName : %s", aResult.mHostName); in InvokeIp6AddrResolverCallback()
685 Log(" hostName : %s", aResult.mHostName); in InvokeIp4AddrResolverCallback()
795 Log("otPlatDnssdStartIp6AddressResolver(\"%s\")", aResolver->mHostName); in otPlatDnssdStartIp6AddressResolver()
[all …]
Dtest_srp_adv_proxy.cpp155 Log(" hostName : %s", aService->mHostName); in otPlatDnssdRegisterService()
180 VerifyOrQuit(StringMatch(srpClient.GetHostInfo().GetName(), aService->mHostName)); in otPlatDnssdRegisterService()
214 Log(" hostName : %s", aService->mHostName); in otPlatDnssdUnregisterService()
230 VerifyOrQuit(StringMatch(srpClient.GetHostInfo().GetName(), aService->mHostName)); in otPlatDnssdUnregisterService()
258 Log(" hostName : %s", aHost->mHostName); in otPlatDnssdRegisterHost()
276 …t(StringMatch(AsCoreType(aInstance).Get<Srp::Client>().GetHostInfo().GetName(), aHost->mHostName)); in otPlatDnssdRegisterHost()
293 Log(" hostName : %s", aHost->mHostName); in otPlatDnssdUnregisterHost()
301 …t(StringMatch(AsCoreType(aInstance).Get<Srp::Client>().GetHostInfo().GetName(), aHost->mHostName)); in otPlatDnssdUnregisterHost()
Dtest_dns_client.cpp1098 instanceInfo.mHostName = kHostFullName; in TestDnssdServerProxyCallback()
1128 instanceInfo.mHostName = kHostFullName; in TestDnssdServerProxyCallback()
1141 instanceInfo.mHostName = kHostFullName; in TestDnssdServerProxyCallback()
/openthread-latest/src/cli/
Dcli_mdns.cpp91 OutputLine("Host %s", aHost.mHostName); in OutputHost()
106 OutputLine(kIndentSize, "host: %s", aService.mHostName); in OutputService()
235 host.mHostName = aArgs->GetCString(); in ProcessRegisterHost()
337 aService.mHostName = aArgs->GetCString(); in ParseServiceArgs()
451 host.mHostName = aArgs[1].GetCString(); in Process()
731 OutputLine(kIndentSize, "host: %s", aResult.mHostName); in HandleSrvResult()
805 resolver.mHostName = aArgs[1].GetCString(); in Process()
831 …utLine("mDNS %s address result for %s", aType == kIp6Address ? "IPv6" : "IPv4", aResult.mHostName); in HandleAddressResult()
858 resolver.mHostName = aArgs[1].GetCString(); in Process()
1034 OutputLine("IPv6 address resolver %s", resolver.mHostName); in Process()
[all …]
/openthread-latest/src/core/net/
Ddnssd_server.cpp454 mOffsets.mHostName = sizeof(Header); in ParseQueryName()
536 …return AppendSrvRecord(aInstanceInfo.mHostName, aInstanceInfo.mTtl, aInstanceInfo.mPriority, aInst… in AppendSrvRecord()
564 mOffsets.mHostName = mMessage->GetLength(); in AppendSrvRecord()
639 SuccessOrExit(error = Name::AppendPointerLabel(mOffsets.mHostName, *mMessage)); in AppendAaaaRecord()
659 SuccessOrExit(error = Name::AppendPointerLabel(mOffsets.mHostName, *mMessage)); in AppendARecord()
1084 uint16_t offset = aInfo.mOffsets.mHostName; in ReadQueryHostName()
1091 uint16_t offset = aInfo.mOffsets.mHostName; in QueryHostNameMatches()
1265 OT_ASSERT(StringEndsWith(aInstanceInfo.mHostName, Name::kLabelSeparatorChar)); in HandleDiscoveredServiceInstance()
1789 resolver.mHostName = aHostName; in StartOrStopIp6Resolver()
1813 resolver.mHostName = aHostName; in StartOrStopIp4Resolver()
[all …]
Dmdns.cpp1371 bool Core::HostEntry::Matches(const Host &aHost) const { return NameMatch(mName, aHost.mHostName); } in Matches()
1696 aHost.mHostName = mName.AsCString(); in CopyInfoTo()
1853 mSrvRecord.UpdateProperty(mHostName, aService.mHostName); in Register()
1940 mHostName.Free(); in ClearService()
2275 aHostEntry = Get<Core>().mHostEntries.FindMatching(mHostName); in DiscoverOffsetsAndHost()
2307 if (NameMatch(mHostName, other.mHostName)) in DiscoverOffsetsAndHost()
2585 outcome = aTxMessage.AppendMultipleLabels(aSection, mHostName.AsCString(), mHostNameOffset); in AppendHostNameTo()
2609 aService.mHostName = mHostName.AsCString(); in CopyInfoTo()
5494 mHostName.Free(); in ProcessResponseRecord()
5500 if (!mRecord.IsPresent() || !NameMatch(mHostName, hostName)) in ProcessResponseRecord()
[all …]
Dsrp_advertising_proxy.cpp956 hostInfo.mHostName = hostName; in RegisterHost()
985 hostInfo.mHostName = hostName; in UnregisterHost()
1023 serviceInfo.mHostName = hostName; in RegisterService()
1062 serviceInfo.mHostName = hostName; in UnregisterService()
Dmdns.hpp1058 … Error Init(Instance &aInstance, const Host &aHost) { return Init(aInstance, aHost.mHostName); } in Init()
1187 Heap::String mHostName; member in ot::Dns::Multicast::Core::ServiceEntry
1780 Heap::String mHostName; member in ot::Dns::Multicast::Core::SrvCache
Ddnssd_server.hpp394 uint16_t mHostName; member
/openthread-latest/include/openthread/
Ddnssd_server.h116 const char *mHostName; ///< Host name (e.g. "ot-host.default.service.arpa."). member