Home
last modified time | relevance | path

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

/openthread-3.4.0/tests/unit/
Dtest_dns_client.cpp503 otNetifAddress netifAddr; in TestDnsClient() local
505 memset(&netifAddr, 0, sizeof(netifAddr)); in TestDnsClient()
506 SuccessOrQuit(AsCoreType(&netifAddr.mAddress).FromString(addrString)); in TestDnsClient()
507 netifAddr.mPrefixLength = 64; in TestDnsClient()
508 netifAddr.mAddressOrigin = OT_ADDRESS_ORIGIN_MANUAL; in TestDnsClient()
509 netifAddr.mPreferred = true; in TestDnsClient()
510 netifAddr.mValid = true; in TestDnsClient()
511 SuccessOrQuit(otIp6AddUnicastAddress(sInstance, &netifAddr)); in TestDnsClient()
513 SuccessOrQuit(addresses.PushBack(AsCoreType(&netifAddr.mAddress))); in TestDnsClient()
/openthread-3.4.0/src/core/utils/
Dslaac_address.cpp215 … for (const Ip6::Netif::UnicastAddress &netifAddr : Get<ThreadNetif>().GetUnicastAddresses()) in Update() local
217 if (DoesConfigMatchNetifAddr(config, netifAddr)) in Update()
/openthread-3.4.0/src/ncp/
Dncp_base_mtd.cpp1938 otNetifAddress netifAddr; in HandlePropertyInsert() local
1942 SuccessOrExit(error = mDecoder.ReadIp6Address(netifAddr.mAddress)); in HandlePropertyInsert()
1943 SuccessOrExit(error = mDecoder.ReadUint8(netifAddr.mPrefixLength)); in HandlePropertyInsert()
1947 netifAddr.mAddressOrigin = OT_ADDRESS_ORIGIN_MANUAL; in HandlePropertyInsert()
1948 netifAddr.mPreferred = (preferredLifetime != 0); in HandlePropertyInsert()
1949 netifAddr.mValid = (validLifetime != 0); in HandlePropertyInsert()
1951 error = otIp6AddUnicastAddress(mInstance, &netifAddr); in HandlePropertyInsert()