Home
last modified time | relevance | path

Searched refs:mAddress (Results 1 – 25 of 45) sorted by relevance

12

/openthread-3.4.0/src/core/thread/
Dnetwork_data_service.hpp281 , mAddress(aAddress) in ServiceData()
301 const Ip6::Address &GetAddress(void) const { return mAddress; } in GetAddress()
313 Ip6::Address mAddress; member in ot::NetworkData::Service::DnsSrpUnicast::ServiceData
333 : mAddress(aAddress) in ServerData()
352 const Ip6::Address &GetAddress(void) const { return mAddress; } in GetAddress()
363 Ip6::Address mAddress; member in ot::NetworkData::Service::DnsSrpUnicast::ServerData
Dnetwork_data_publisher.hpp416 const Ip6::Address &GetAddress(void) const { return mAddress; } in GetAddress()
417 void SetAddress(const Ip6::Address &aAddress) { mAddress = aAddress; } in SetAddress()
428 Ip6::Address mAddress; member in ot::NetworkData::Publisher::DnsSrpServiceEntry::Info
/openthread-3.4.0/src/core/net/
Dsocket.hpp292 mAddress = aAddress; in SockAddr()
302 Address &GetAddress(void) { return AsCoreType(&mAddress); } in GetAddress()
310 const Address &GetAddress(void) const { return AsCoreType(&mAddress); } in GetAddress()
318 void SetAddress(const Address &aAddress) { mAddress = aAddress; } in SetAddress()
Dip4_types.cpp110 …mFields.m32 = (aCidr.mAddress.mFields.m32 & aCidr.SubnetMask()) | (HostSwap32(aHost) & aCidr.HostM… in SynthesizeFromCidrAndHost()
142 SuccessOrExit(AsCoreType(&mAddress).FromString(aString, kSlashChar)); in FromString()
159 aWriter.Append("%s/%d", AsCoreType(&mAddress).ToString().AsCString(), mLength); in ToString()
186 memcpy(mAddress.mFields.m8, aAddress, Ip4::Address::kSize); in Set()
Dnetif.hpp154 const Address &GetAddress(void) const { return AsCoreType(&mAddress); } in GetAddress()
162 Address &GetAddress(void) { return AsCoreType(&mAddress); } in GetAddress()
239 const Address &GetAddress(void) const { return AsCoreType(&mAddress); } in GetAddress()
247 Address &GetAddress(void) { return AsCoreType(&mAddress); } in GetAddress()
Dtcp6.cpp135 memcpy(&temp.mAddress, &tp.laddr, sizeof(temp.mAddress)); in GetLocalAddress()
147 memcpy(&temp.mAddress, &tp.faddr, sizeof(temp.mAddress)); in GetPeerAddress()
158 VerifyOrExit(!AsCoreType(&aSockName.mAddress).IsUnspecified(), error = kErrorInvalidArgs); in Bind()
161 memcpy(&tp.laddr, &aSockName.mAddress, sizeof(tp.laddr)); in Bind()
179 memcpy(&sin6p.sin6_addr, &aSockName.mAddress, sizeof(sin6p.sin6_addr)); in Connect()
541 memcpy(&tpl->laddr, &aSockName.mAddress, sizeof(tpl->laddr)); in Listen()
755 … VerifyOrExit(memcmp(&endpoint.GetTcb().laddr, &aSockName.mAddress, sizeof(tp->laddr)) != 0); in CanBind()
767 VerifyOrExit(memcmp(&tpl->laddr, &aSockName.mAddress, sizeof(tpl->laddr)) != 0); in CanBind()
975 memcpy(&addr.mAddress, aAddr, sizeof(addr.mAddress)); in tcplp_sys_accept_ready()
1025 memcpy(&addr.mAddress, aAddr, sizeof(addr.mAddress)); in tcplp_sys_accepted_connection()
Ddhcp6.hpp501 Ip6::Address &GetAddress(void) { return mAddress; } in GetAddress()
509 const Ip6::Address &GetAddress(void) const { return mAddress; } in GetAddress()
517 void SetAddress(const Ip6::Address &aAddress) { mAddress = aAddress; } in SetAddress()
552 Ip6::Address mAddress; member in ot::Dhcp6::IaAddress
Dnetif.cpp51 mAddress = &aAddress.mAddress; in AddressInfo()
59 mAddress = &aAddress.GetAddress(); in AddressInfo()
367 entry->mAddress = aAddress; in SubscribeExternalMulticast()
Dip6_address.cpp694 return AsCoreType(&Netif::kLinkLocalAllNodesMulticastAddress.mAddress); in GetLinkLocalAllNodesMulticast()
699 return AsCoreType(&Netif::kLinkLocalAllRoutersMulticastAddress.mAddress); in GetLinkLocalAllRoutersMulticast()
704 return AsCoreType(&Netif::kRealmLocalAllNodesMulticastAddress.mAddress); in GetRealmLocalAllNodesMulticast()
709 return AsCoreType(&Netif::kRealmLocalAllRoutersMulticastAddress.mAddress); in GetRealmLocalAllRoutersMulticast()
714 return AsCoreType(&Netif::kRealmLocalAllMplForwardersMulticastAddress.mAddress); in GetRealmLocalAllMplForwarders()
Ddns_types.hpp1536 void SetAddress(const Ip4::Address &aAddress) { mAddress = aAddress; } in SetAddress()
1544 const Ip4::Address &GetAddress(void) const { return mAddress; } in GetAddress()
1547 Ip4::Address mAddress; // IPv4 Address of A Resource Record. member in ot::Dns::ARecord
1780 void SetAddress(const Ip6::Address &aAddress) { mAddress = aAddress; } in SetAddress()
1788 const Ip6::Address &GetAddress(void) const { return mAddress; } in GetAddress()
1791 Ip6::Address mAddress; // IPv6 Address of AAAA Resource Record. member in ot::Dns::AaaaRecord
/openthread-3.4.0/third_party/tcplp/bsdtcp/
Dtcp_usrreq.c106 memcpy(&foreign.mAddress, &nam->sin6_addr, sizeof(foreign.mAddress)); in tcp6_connect()
110 memcpy(&local.mAddress, &tp->laddr, sizeof(local.mAddress)); in tcp6_connect()
124 memcpy(&tp->laddr, &local.mAddress, sizeof(tp->laddr)); in tcp6_connect()
/openthread-3.4.0/src/core/backbone_router/
Dmulticast_listeners_table.hpp94 const Ip6::Address &GetAddress(void) const { return mAddress; } in GetAddress()
105 void SetAddress(const Ip6::Address &aAddress) { mAddress = aAddress; } in SetAddress()
110 Ip6::Address mAddress; member in ot::BackboneRouter::MulticastListenersTable::Listener
Dmulticast_listeners_table.cpp301 aInfo.mAddress = mListeners[aIterator].mAddress; in GetNext()
/openthread-3.4.0/include/openthread/
Dip6.h179 otIp6Address mAddress; ///< The IPv6 unicast address. member
196 otIp6Address mAddress; ///< The IPv6 multicast address. member
206 otIp6Address mAddress; ///< An IPv6 address. member
458 const otIp6Address *mAddress; ///< A pointer to the IPv6 address. member
Dhistory_tracker.h106 otIp6Address mAddress; ///< The unicast IPv6 address. member
122 otIp6Address mAddress; ///< The IPv6 multicast address. member
Dbackbone_router_ftd.h310 otIp6Address mAddress; // Multicast Listener address. member
/openthread-3.4.0/src/posix/platform/
Dnetif.cpp297 …if (memcmp(address->mAddress.mFields.m8, netAddr->mAddress.mFields.m8, sizeof(address->mAddress.mF… in UnicastAddressIsSubscribed()
372 otIp6Prefix addressPrefix{*aAddressInfo.mAddress, aAddressInfo.mPrefixLength}; in IsOmrAddress()
403 … AddRtAttr(&req.nh, sizeof(req), IFA_LOCAL, aAddressInfo.mAddress, sizeof(*aAddressInfo.mAddress)); in UpdateUnicastLinux()
439 … Ip6AddressString(aAddressInfo.mAddress).AsCString(), aAddressInfo.mPrefixLength); in UpdateUnicastLinux()
444 … Ip6AddressString(aAddressInfo.mAddress).AsCString(), aAddressInfo.mPrefixLength); in UpdateUnicastLinux()
469 memcpy(&ifr6.ifra_addr.sin6_addr, aAddressInfo.mAddress, sizeof(struct in6_addr)); in UpdateUnicast()
485 … Ip6AddressString(aAddressInfo.mAddress).AsCString(), aAddressInfo.mPrefixLength); in UpdateUnicast()
490 … Ip6AddressString(aAddressInfo.mAddress).AsCString(), aAddressInfo.mPrefixLength, in UpdateUnicast()
876 return AddRoute(aIp4Cidr.mAddress.mFields.m8, aIp4Cidr.mLength, aPriority); in AddIp4Route()
881 return DeleteRoute(aIp4Cidr.mAddress.mFields.m8, aIp4Cidr.mLength); in DeleteIp4Route()
[all …]
Dtrel.cpp170 memcpy(&sockAddr.sin6_addr, &aDestSockAddr->mAddress, sizeof(otIp6Address)); in SendPacket()
192 …tLogDebgPlat("[trel] SendPacket([%s]:%u) err:%s pkt:%s", Ip6AddrToString(&aDestSockAddr->mAddress), in SendPacket()
302 …otLogDebgPlat("[trel] EnqueuePacket([%s]:%u) - %s", Ip6AddrToString(&aDestSockAddr->mAddress), aDe… in EnqueuePacket()
Dudp.cpp273 memcpy(&sin6.sin6_addr, &aUdpSocket->mSockName.mAddress, sizeof(sin6.sin6_addr)); in otPlatUdpBind()
355 …bool isDisconnect = memcmp(&aUdpSocket->mPeerName.mAddress, &in6addr_any, sizeof(in6addr_any)) == … in otPlatUdpConnect()
367 memcpy(&sin6.sin6_addr, &aUdpSocket->mPeerName.mAddress, sizeof(sin6.sin6_addr)); in otPlatUdpConnect()
407 …("Failed to connect to [%s]:%u: %s", Ip6AddressString(&aUdpSocket->mPeerName.mAddress).AsCString(), in otPlatUdpConnect()
/openthread-3.4.0/src/cli/
Dcli_udp.cpp70 SuccessOrExit(error = aArgs[0].ParseAsIp6Address(sockaddr.mAddress)); in Process()
87 …error = Interpreter::ParseToIp6Address(GetInstancePtr(), aArgs[0], sockaddr.mAddress, nat64Synthes… in Process()
91 OutputIp6AddressLine(sockaddr.mAddress); in Process()
Dcli_tcp.cpp281 SuccessOrExit(error = aArgs[0].ParseAsIp6Address(sockaddr.mAddress)); in Process()
300 …error = Interpreter::ParseToIp6Address(GetInstancePtr(), aArgs[0], sockaddr.mAddress, nat64Synthes… in Process()
304 OutputIp6AddressLine(sockaddr.mAddress); in Process()
462 SuccessOrExit(error = aArgs[0].ParseAsIp6Address(sockaddr.mAddress)); in Process()
/openthread-3.4.0/examples/platforms/utils/
Dlink_metrics.cpp225 … dataInfo = GetLinkMetricsDataInfoActiveList().FindMatching(aMacAddress->mAddress.mShortAddress); in GetLinkMetricsInfoByMacAddress()
229 … dataInfo = GetLinkMetricsDataInfoActiveList().FindMatching(aMacAddress->mAddress.mExtAddress); in GetLinkMetricsInfoByMacAddress()
Dmac_frame.h66 } mAddress; member
Dmac_frame.cpp104 aOutAddress->mAddress.mShortAddress = aInAddress.GetShort(); in GetOtMacAddress()
109 aOutAddress->mAddress.mExtAddress = aInAddress.GetExtended(); in GetOtMacAddress()
/openthread-3.4.0/src/core/utils/
Dhistory_tracker.cpp129 entry->mSource.mAddress = headers.GetSourceAddress(); in RecordMessage()
131 entry->mDestination.mAddress = headers.GetDestinationAddress(); in RecordMessage()
257 entry->mAddress = aUnicastAddress.GetAddress(); in RecordAddressEvent()
278 entry->mAddress = aMulticastAddress.GetAddress(); in RecordAddressEvent()

12