Home
last modified time | relevance | path

Searched refs:aIp4Address (Results 1 – 6 of 6) sorted by relevance

/openthread-latest/src/core/api/
Dnat64_api.cpp131 …ctFromIp6Address(uint8_t aPrefixLength, const otIp6Address *aIp6Address, otIp4Address *aIp4Address) in otIp4ExtractFromIp6Address() argument
133 AsCoreType(aIp4Address).ExtractFromIp6Address(aPrefixLength, AsCoreType(aIp6Address)); in otIp4ExtractFromIp6Address()
136 otError otIp4FromIp4MappedIp6Address(const otIp6Address *aIp6Address, otIp4Address *aIp4Address) in otIp4FromIp4MappedIp6Address() argument
138 return AsCoreType(aIp4Address).ExtractFromIp4MappedIp6Address(AsCoreType(aIp6Address)); in otIp4FromIp4MappedIp6Address()
141 void otIp4ToIp4MappedIp6Address(const otIp4Address *aIp4Address, otIp6Address *aIp6Address) in otIp4ToIp4MappedIp6Address() argument
143 AsCoreType(aIp6Address).SetToIp4Mapped(AsCoreType(aIp4Address)); in otIp4ToIp4MappedIp6Address()
152 otError otNat64SynthesizeIp6Address(otInstance *aInstance, const otIp4Address *aIp4Address, otIp6Ad… in otNat64SynthesizeIp6Address() argument
159 …AsCoreType(aIp6Address).SynthesizeFromIp4Address(nat64Prefix.GetPrefix(), AsCoreType(aIp4Address)); in otNat64SynthesizeIp6Address()
/openthread-latest/include/openthread/
Dnat64.h405 …tFromIp6Address(uint8_t aPrefixLength, const otIp6Address *aIp6Address, otIp4Address *aIp4Address);
419 otError otIp4FromIp4MappedIp6Address(const otIp6Address *aIp6Address, otIp4Address *aIp4Address);
427 void otIp4ToIp4MappedIp6Address(const otIp4Address *aIp4Address, otIp6Address *aIp6Address);
495 otError otNat64SynthesizeIp6Address(otInstance *aInstance, const otIp4Address *aIp4Address, otIp6Ad…
/openthread-latest/examples/platforms/simulation/
Dsimul_utils.c79 static void InitRxSocket(utilsSocket *aSocket, const struct in_addr *aIp4Address, unsigned int aIfI… in InitRxSocket() argument
85 fd = socket(aIp4Address ? AF_INET : AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in InitRxSocket()
94 if (aIp4Address) in InitRxSocket()
99 rval = setsockopt(fd, IPPROTO_IP, IP_MULTICAST_IF, aIp4Address, sizeof(*aIp4Address)); in InitRxSocket()
110 mreq.imr_address = *aIp4Address; // This address is used to identify the network interface in InitRxSocket()
Dmdns_socket.c496 OT_TOOL_WEAK void otIp4ToIp4MappedIp6Address(const otIp4Address *aIp4Address, otIp6Address *aIp6Add… in otIp4ToIp4MappedIp6Address() argument
498 OT_UNUSED_VARIABLE(aIp4Address); in otIp4ToIp4MappedIp6Address()
505 …AK otError otIp4FromIp4MappedIp6Address(const otIp6Address *aIp6Address, otIp4Address *aIp4Address) in otIp4FromIp4MappedIp6Address() argument
508 OT_UNUSED_VARIABLE(aIp4Address); in otIp4FromIp4MappedIp6Address()
/openthread-latest/src/core/net/
Dip6_address.cpp387 void Address::SetToIp4Mapped(const Ip4::Address &aIp4Address) in SetToIp4Mapped() argument
391 memcpy(&mFields.m8[12], aIp4Address.GetBytes(), sizeof(Ip4::Address)); in SetToIp4Mapped()
498 void Address::SynthesizeFromIp4Address(const Prefix &aPrefix, const Ip4::Address &aIp4Address) in SynthesizeFromIp4Address() argument
538 mFields.m8[ip6Index++] = aIp4Address.GetBytes()[i]; in SynthesizeFromIp4Address()
Dip6_address.hpp759 void SetToIp4Mapped(const Ip4::Address &aIp4Address);
916 void SynthesizeFromIp4Address(const Prefix &aPrefix, const Ip4::Address &aIp4Address);