Searched refs:numAddresses (Results 1 – 4 of 4) sorted by relevance
/openthread-2.7.6/tests/unit/ |
D | test_child.cpp | 193 uint8_t numAddresses; in TestChildIp6Address() local 214 numAddresses = 0; in TestChildIp6Address() 217 addresses[numAddresses] = sInstance->Get<Mle::MleRouter>().GetMeshLocal64(); in TestChildIp6Address() 218 addresses[numAddresses].SetIid(meshLocalIid); in TestChildIp6Address() 220 numAddresses++; in TestChildIp6Address() 224 … VerifyOrQuit(numAddresses < kMaxChildIp6Addresses, "Too many IPv6 addresses in the unit test"); in TestChildIp6Address() 225 SuccessOrQuit(addresses[numAddresses++].FromString(ip6Address)); in TestChildIp6Address() 239 for (uint8_t index = 0; index < numAddresses; index++) in TestChildIp6Address() 253 for (uint8_t index = 0; index < numAddresses; index++) in TestChildIp6Address() 264 for (uint8_t index = 0; index < numAddresses; index++) in TestChildIp6Address() [all …]
|
/openthread-2.7.6/src/cli/ |
D | cli_srp_client.cpp | 208 uint8_t numAddresses = 0; in ProcessHost() local 228 VerifyOrExit(numAddresses < arrayLength, error = OT_ERROR_NO_BUFS); in ProcessHost() 229 SuccessOrExit(error = arg->ParseAsIp6Address(addresses[numAddresses])); in ProcessHost() 230 numAddresses++; in ProcessHost() 233 …uccessOrExit(error = otSrpClientSetHostAddresses(mInterpreter.mInstance, addresses, numAddresses)); in ProcessHost() 235 memcpy(hostAddressArray, addresses, numAddresses * sizeof(hostAddressArray[0])); in ProcessHost() 236 … IgnoreError(otSrpClientSetHostAddresses(mInterpreter.mInstance, hostAddressArray, numAddresses)); in ProcessHost()
|
D | cli.cpp | 2622 uint8_t numAddresses = 0; in ProcessMlrReg() local 2624 while (aArgs->ParseAsIp6Address(addresses[numAddresses]) == OT_ERROR_NONE) in ProcessMlrReg() 2627 numAddresses++; in ProcessMlrReg() 2629 if (numAddresses == OT_ARRAY_LENGTH(addresses)) in ProcessMlrReg() 2641 VerifyOrExit(aArgs->IsEmpty() && (numAddresses > 0), error = OT_ERROR_INVALID_ARGS); in ProcessMlrReg() 2643 SuccessOrExit(error = otIp6RegisterMulticastListeners(mInstance, addresses, numAddresses, in ProcessMlrReg()
|
/openthread-2.7.6/src/ncp/ |
D | ncp_base_mtd.cpp | 3795 uint8_t numAddresses = 0; in HandlePropertySet() local 3804 VerifyOrExit(numAddresses < kSrpClientMaxHostAddresses, error = OT_ERROR_NO_BUFS); in HandlePropertySet() 3806 SuccessOrExit(error = mDecoder.ReadIp6Address(addresses[numAddresses])); in HandlePropertySet() 3807 numAddresses++; in HandlePropertySet() 3815 SuccessOrExit(error = otSrpClientSetHostAddresses(mInstance, addresses, numAddresses)); in HandlePropertySet() 3819 error = otSrpClientSetHostAddresses(mInstance, hostAddressArray, numAddresses); in HandlePropertySet()
|