Searched refs:ip6Address (Results 1 – 8 of 8) sorted by relevance
/openthread-3.7.0/src/core/thread/ |
D | child.cpp | 168 for (Ip6::Address &ip6Address : mIp6Address) in AddIp6Address() 170 if (ip6Address.IsUnspecified()) in AddIp6Address() 172 ip6Address = aAddress; in AddIp6Address() 176 VerifyOrExit(ip6Address != aAddress, error = kErrorAlready); in AddIp6Address() 239 for (const Ip6::Address &ip6Address : mIp6Address) in HasIp6Address() local 241 VerifyOrExit(!ip6Address.IsUnspecified()); in HasIp6Address() 243 if (ip6Address == aAddress) in HasIp6Address() 258 for (const Ip6::Address &ip6Address : mIp6Address) in GetDomainUnicastAddress() local 260 VerifyOrExit(!ip6Address.IsUnspecified()); in GetDomainUnicastAddress() 262 if (Get<BackboneRouter::Leader>().IsDomainUnicast(ip6Address)) in GetDomainUnicastAddress() [all …]
|
/openthread-3.7.0/tests/unit/ |
D | test_ip_address.cpp | 773 Ip6::Address ip6Address; in TestIp4MappedIp6Address() local 780 ip6Address.SetToIp4Mapped(expectedIp4Address); in TestIp4MappedIp6Address() 782 printf("IPv4-mapped IPv6 address: %s\n", ip6Address.ToString().AsCString()); in TestIp4MappedIp6Address() 784 VerifyOrQuit(ip6Address.IsIp4Mapped()); in TestIp4MappedIp6Address() 785 VerifyOrQuit(ip6Address == expectedIp6Address); in TestIp4MappedIp6Address() 787 SuccessOrQuit(ip4Address.ExtractFromIp4MappedIp6Address(ip6Address)); in TestIp4MappedIp6Address() 792 SuccessOrQuit(ip6Address.FromString(invalidIp4MappedAddr)); in TestIp4MappedIp6Address() 793 …printf("Invalid IPv4-mapped IPv6 address: %s -> %s\n", invalidIp4MappedAddr, ip6Address.ToString()… in TestIp4MappedIp6Address() 794 VerifyOrQuit(!ip6Address.IsIp4Mapped()); in TestIp4MappedIp6Address() 795 VerifyOrQuit(ip4Address.ExtractFromIp4MappedIp6Address(ip6Address) != kErrorNone); in TestIp4MappedIp6Address() [all …]
|
D | test_nat64.cpp | 154 const uint8_t ip6Address[] = {0xfd, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in TestNat64() local 159 nat64prefix.Set(ip6Address, 96); in TestNat64()
|
D | test_child.cpp | 222 for (const char *ip6Address : ip6Addresses) in TestChildIp6Address() local 225 SuccessOrQuit(addresses[numAddresses++].FromString(ip6Address)); in TestChildIp6Address()
|
D | test_mdns.cpp | 678 Ip6::Address ip6Address; in ValidateHeader() local 680 SuccessOrQuit(ip6Address.FromString(kDeviceIp6Address)); in ValidateHeader() 683 VerifyOrQuit(mUnicastDest.GetAddress() == ip6Address); in ValidateHeader()
|
/openthread-3.7.0/src/posix/platform/ |
D | infra_if.cpp | 691 otIp6Address ip6Address; in DiscoverNat64PrefixDone() local 699 memcpy(&ip6Address.mFields.m8, &ip6Addr->sin6_addr.s6_addr, OT_IP6_ADDRESS_SIZE); in DiscoverNat64PrefixDone() 704 otIp4ExtractFromIp6Address(length, &ip6Address, &ip4Address); in DiscoverNat64PrefixDone() 722 otIp4ExtractFromIp6Address(dupLength, &ip6Address, &dupIp4Address); in DiscoverNat64PrefixDone() 732 otIp6GetPrefix(&ip6Address, length, &prefix); in DiscoverNat64PrefixDone()
|
/openthread-3.7.0/src/ncp/ |
D | ncp_base_ftd.cpp | 270 otIp6Address ip6Address; in HandlePropertyGet() local 290 …while (otThreadGetChildNextIp6Address(mInstance, childIndex, &iterator, &ip6Address) == OT_ERROR_N… in HandlePropertyGet() 292 SuccessOrExit(error = mEncoder.WriteIp6Address(ip6Address)); in HandlePropertyGet()
|
/openthread-3.7.0/src/cli/ |
D | cli.cpp | 1760 otIp6Address ip6Address; in Process() local 1771 … while (otThreadGetChildNextIp6Address(GetInstancePtr(), childIndex, &iterator, &ip6Address) == in Process() 1775 OutputIp6AddressLine(ip6Address); in Process() 5243 otIp6Address ip6Address; in HandleMeshDiagDiscoverDone() local 5247 … while (otMeshDiagGetNextIp6Address(aRouterInfo->mIp6AddrIterator, &ip6Address) == OT_ERROR_NONE) in HandleMeshDiagDiscoverDone() 5250 OutputIp6AddressLine(ip6Address); in HandleMeshDiagDiscoverDone() 5387 otIp6Address ip6Address; in HandleMeshDiagQueryChildIp6Addrs() local 5394 while (otMeshDiagGetNextIp6Address(aIp6AddrIterator, &ip6Address) == OT_ERROR_NONE) in HandleMeshDiagQueryChildIp6Addrs() 5397 OutputIp6AddressLine(ip6Address); in HandleMeshDiagQueryChildIp6Addrs()
|