Home
last modified time | relevance | path

Searched refs:mAddresses (Results 1 – 19 of 19) sorted by relevance

/openthread-latest/include/openthread/
Ddnssd_server.h113 const otIp6Address *mAddresses; ///< Host IPv6 addresses. member
128 const otIp6Address *mAddresses; ///< Host IPv6 addresses. member
Dsrp_client.h75 …const otIp6Address *mAddresses; ///< Array of host IPv6 addresses (NULL if not set or auto add… member
/openthread-latest/tests/unit/
Dtest_spinel_prop_codec.cpp67 dnssdHostEncode.mAddresses = dnssdHostAddrs; in TestDnssd()
87 VerifyOrQuit(memcmp(dnssdHostDecode.mAddresses, dnssdHostEncode.mAddresses, in TestDnssd()
Dtest_dnssd_discovery_proxy.cpp675 …Log(" address[%u] : %s", index, AsCoreType(&aResult.mAddresses[index].mAddress).ToString().… in InvokeIp6AddrResolverCallback()
676 Log(" ttl[%u] : %u", index, aResult.mAddresses[index].mTtl); in InvokeIp6AddrResolverCallback()
690 …Log(" address[%u] : %s", index, AsCoreType(&aResult.mAddresses[index].mAddress).ToString().… in InvokeIp4AddrResolverCallback()
691 Log(" ttl[%u] : %u", index, aResult.mAddresses[index].mTtl); in InvokeIp4AddrResolverCallback()
1053 ip6AddrrResult.mAddresses = &addressAndTtl; in TestProxyBasic()
1288 ip6AddrrResult.mAddresses = &addressAndTtl; in TestProxyBasic()
1354 ip4AddrrResult.mAddresses = &addressAndTtl; in TestProxyBasic()
1593 ip6AddrrResult.mAddresses = &addressAndTtl; in TestProxySubtypeBrowse()
2122 ip6AddrrResult.mAddresses = addressAndTtl; in TestProxySharedResolver()
2284 ip6AddrrResult.mAddresses = addressAndTtl; in TestProxyFilterInvalidAddresses()
[all …]
Dtest_mdns.cpp741 …VerifyOrQuit(mAuthRecords.ContainsAaaa(fullName, AsCoreType(&aHost.mAddresses[index]), !kCacheFlus… in ValidateAsProbeFor()
790 … VerifyOrQuit(RecordsFor(aSection).ContainsAaaa(fullName, AsCoreType(&aHost.mAddresses[index]), in Validate()
1705 host.mAddresses = hostAddresses; in TestHostReg()
1915 host.mAddresses = nullptr; in TestHostReg()
1928 host.mAddresses = &hostAddresses[0]; in TestHostReg()
1964 host.mAddresses = &hostAddresses[1]; in TestHostReg()
2505 host.mAddresses = hostAddresses; in TestUnregisterBeforeProbeFinished()
2970 host.mAddresses = hostAddresses; in TestHostOrServiceAndKeyReg()
3334 host1.mAddresses = host1Addresses; in TestQuery()
3342 host2.mAddresses = host2Addresses; in TestQuery()
[all …]
Dtest_srp_adv_proxy.cpp263 …Log(" Address %-4u : %s", index, AsCoreType(&aHost->mAddresses[index]).ToString().AsCString()); in otPlatDnssdRegisterHost()
/openthread-latest/include/openthread/platform/
Ddnssd.h116 const otIp6Address *mAddresses; ///< Array of IPv6 host addresses. member
519 …const otPlatDnssdAddressAndTtl *mAddresses; ///< Array of host addresses and their TTL. Can … member
/openthread-latest/src/core/net/
Dsrp_advertising_proxy.cpp675 VerifyOrExit(aFirstHost.mAddresses.GetLength() == aSecondHost.mAddresses.GetLength()); in EntriesMatch()
677 for (const Ip6::Address &address : aFirstHost.mAddresses) in EntriesMatch()
679 VerifyOrExit(aSecondHost.mAddresses.Contains(address)); in EntriesMatch()
937 SuccessOrExit(error = hostAddresses.ReserveCapacity(aHost.mAddresses.GetLength())); in RegisterHost()
939 for (const Ip6::Address &address : aHost.mAddresses) in RegisterHost()
951 hostInfo.mAddresses = hostAddresses.AsCArray(); in RegisterHost()
Dsrp_server.hpp470 aAddressesNum = ClampToUint8(mAddresses.GetLength()); in GetAddresses()
472 return mAddresses.AsCArray(); in GetAddresses()
574 Heap::Array<Ip6::Address> mAddresses; member in ot::Srp::Server::Host
Ddnssd_server.cpp581 …return AppendHostAddresses(aAddrType, AsCoreTypePtr(aHostInfo.mAddresses), aHostInfo.mAddressNum, … in AppendHostAddresses()
586 …return AppendHostAddresses(kIp6AddrType, AsCoreTypePtr(aInstanceInfo.mAddresses), aInstanceInfo.mA… in AppendHostAddresses()
1951 const Dnssd::AddressAndTtl &entry = aResult.mAddresses[index]; in HandleIp6AddressResult()
1990 const Dnssd::AddressAndTtl &entry = aResult.mAddresses[index]; in HandleIp4AddressResult()
2209 const Dnssd::AddressAndTtl &entry = addrResult->mAddresses[index]; in AppendHostIp6Addresses()
2238 const Dnssd::AddressAndTtl &entry = addrResult->mAddresses[index]; in AppendHostIp4Addresses()
Dsrp_server.cpp1252 VerifyOrExit(aHost->mAddresses.GetLength() > 0, error = kErrorFailed); in ProcessAdditionalSection()
1781 for (const Ip6::Address &address : aHost.mAddresses) in UpdateAddrResolverCacheTable()
2166 void Server::Host::ClearResources(void) { mAddresses.Free(); } in ClearResources()
2189 VerifyOrExit(!mAddresses.Contains(aIp6Address), error = kErrorDrop); in AddIp6Address()
2191 error = mAddresses.PushBack(aIp6Address); in AddIp6Address()
Dsrp_client.hpp152 … const Ip6::Address &GetAddress(uint8_t aIndex) const { return AsCoreType(&mAddresses[aIndex]); } in GetAddress()
Dmdns.cpp1522 mAddrRecord.UpdateProperty(mAddresses, AsCoreTypePtr(aHost.mAddresses), aHost.mAddressesLength); in Register()
1582 mAddresses.Free(); in ClearHost()
1754 for (const Ip6::Address &address : mAddresses) in AppendAddressRecordsTo()
1825 aHost.mAddresses = mAddresses.AsCArray(); in CopyInfoTo()
1826 aHost.mAddressesLength = mAddresses.GetLength(); in CopyInfoTo()
6133 aResult.mAddresses = aAddrArray.AsCArray(); in ConstructResult()
Dsrp_client.cpp80 mAddresses = nullptr; in EnableAutoAddress()
89 mAddresses = aAddresses; in SetAddresses()
Dmdns.hpp1077 AddressArray mAddresses; member in ot::Dns::Multicast::Core::HostEntry
/openthread-latest/src/lib/spinel/
Dspinel_prop_codec.cpp52 SuccessOrExit(error = aEncoder.WriteIp6Address(aObj.mAddresses[i])); in EncodeDnssd()
127 SuccessOrExit(error = aDecoder.ReadIp6Address(aHost.mAddresses)); in DecodeDnssdHost()
/openthread-latest/src/cli/
Dcli_mdns.cpp97 OutputIp6AddressLine(aHost.mAddresses[index]); in OutputHost()
238 host.mAddresses = addresses; in ProcessRegisterHost()
838 OutputIp6Address(aResult.mAddresses[index].mAddress); in HandleAddressResult()
839 OutputLine(" ttl:%lu", ToUlong(aResult.mAddresses[index].mTtl)); in HandleAddressResult()
Dcli_srp_client.cpp305 OutputIp6AddressLine(hostInfo->mAddresses[index]); in Process()
811 OutputIp6Address(aHostInfo.mAddresses[index]); in OutputHostInfo()
/openthread-latest/src/ncp/
Dncp_base_mtd.cpp3811 SuccessOrExit(error = mEncoder.WriteIp6Address(aHostInfo.mAddresses[index])); in EncodeSrpClientHostInfo()
3867 SuccessOrExit(error = mEncoder.WriteIp6Address(hostInfo->mAddresses[index])); in HandlePropertyGet()