Searched refs:netifAddr (Results 1 – 3 of 3) sorted by relevance
503 otNetifAddress netifAddr; in TestDnsClient() local505 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()
215 … for (const Ip6::Netif::UnicastAddress &netifAddr : Get<ThreadNetif>().GetUnicastAddresses()) in Update() local217 if (DoesConfigMatchNetifAddr(config, netifAddr)) in Update()
1938 otNetifAddress netifAddr; in HandlePropertyInsert() local1942 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()