Searched refs:netifAddr (Results 1 – 3 of 3) sorted by relevance
517 otNetifAddress netifAddr; in TestDnsClient() local519 memset(&netifAddr, 0, sizeof(netifAddr)); in TestDnsClient()520 SuccessOrQuit(AsCoreType(&netifAddr.mAddress).FromString(addrString)); in TestDnsClient()521 netifAddr.mPrefixLength = 64; in TestDnsClient()522 netifAddr.mAddressOrigin = OT_ADDRESS_ORIGIN_MANUAL; in TestDnsClient()523 netifAddr.mPreferred = true; in TestDnsClient()524 netifAddr.mValid = true; in TestDnsClient()525 SuccessOrQuit(otIp6AddUnicastAddress(sInstance, &netifAddr)); in TestDnsClient()527 SuccessOrQuit(addresses.PushBack(AsCoreType(&netifAddr.mAddress))); in TestDnsClient()
227 for (const Ip6::Netif::UnicastAddress &netifAddr : Get<ThreadNetif>().GetUnicastAddresses()) in AddAddresses() local229 if (DoesConfigMatchNetifAddr(config, netifAddr)) in AddAddresses()
1941 otNetifAddress netifAddr; in HandlePropertyInsert() local1945 SuccessOrExit(error = mDecoder.ReadIp6Address(netifAddr.mAddress)); in HandlePropertyInsert()1946 SuccessOrExit(error = mDecoder.ReadUint8(netifAddr.mPrefixLength)); in HandlePropertyInsert()1950 netifAddr.mAddressOrigin = OT_ADDRESS_ORIGIN_MANUAL; in HandlePropertyInsert()1951 netifAddr.mPreferred = (preferredLifetime != 0); in HandlePropertyInsert()1952 netifAddr.mValid = (validLifetime != 0); in HandlePropertyInsert()1954 error = otIp6AddUnicastAddress(mInstance, &netifAddr); in HandlePropertyInsert()