Home
last modified time | relevance | path

Searched refs:ip4Addr (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/examples/platforms/simulation/
Dmdns_socket.c337 otIp4Address ip4Addr; in otPlatMdnsSendUnicast() local
347 if (otIp4FromIp4MappedIp6Address(&aAddress->mAddress, &ip4Addr) == OT_ERROR_NONE) in otPlatMdnsSendUnicast()
353 memcpy(&addr.sin_addr.s_addr, &ip4Addr, sizeof(otIp4Address)); in otPlatMdnsSendUnicast()
/openthread-latest/src/core/net/
Dip6_address.cpp637 Ip4::Address ip4Addr; in ParseFrom() local
639 SuccessOrExit(error = ip4Addr.FromString(aString, aTerminatorChar)); in ParseFrom()
640 … memcpy(GetArrayEnd(mFields.m8) - Ip4::Address::kSize, ip4Addr.GetBytes(), Ip4::Address::kSize); in ParseFrom()