Home
last modified time | relevance | path

Searched refs:cidr (Results 1 – 3 of 3) sorted by relevance

/openthread-3.4.0/tests/unit/
Dtest_ip_address.cpp260 ot::Ip4::Cidr cidr; in checkCidrFromString() local
262 cidr.Clear(); in checkCidrFromString()
264 error = cidr.FromString(aTestVector->mString); in checkCidrFromString()
267 (error == ot::kErrorNone) ? cidr.ToString().AsCString() : "(parse error)"); in checkCidrFromString()
273 VerifyOrQuit(0 == memcmp(cidr.GetBytes(), aTestVector->mAddr, sizeof(aTestVector->mAddr)), in checkCidrFromString()
275 VerifyOrQuit(cidr.mLength == aTestVector->mLength, "Cidr::FromString parsing failed"); in checkCidrFromString()
861 ot::Ip4::Cidr cidr; in TestIp4Cidr() local
865 cidr.mAddress = network; in TestIp4Cidr()
866 cidr.mLength = testCase.mLength; in TestIp4Cidr()
868 generated.SynthesizeFromCidrAndHost(cidr, testCase.mHost); in TestIp4Cidr()
[all …]
/openthread-3.4.0/src/cli/
DREADME.md76 - [nat64](#nat64-cidr)
2160 ### nat64 cidr
2167 > nat64 cidr
Dcli.cpp652 otIp4Cidr cidr; in Process() local
655 SuccessOrExit(error = otNat64GetCidr(GetInstancePtr(), &cidr)); in Process()
656 otIp4CidrToString(&cidr, cidrString, sizeof(cidrString)); in Process()