Home
last modified time | relevance | path

Searched refs:aSource (Results 1 – 22 of 22) sorted by relevance

/openthread-3.5.0/examples/platforms/utils/
Dencoding.h52 static inline uint64_t otEncodingReadUint64Le(const uint8_t *aSource) in otEncodingReadUint64Le() argument
56 value |= (uint64_t)aSource[0]; in otEncodingReadUint64Le()
57 value |= ((uint64_t)aSource[1]) << 8; in otEncodingReadUint64Le()
58 value |= ((uint64_t)aSource[2]) << 16; in otEncodingReadUint64Le()
59 value |= ((uint64_t)aSource[3]) << 24; in otEncodingReadUint64Le()
60 value |= ((uint64_t)aSource[4]) << 32; in otEncodingReadUint64Le()
61 value |= ((uint64_t)aSource[5]) << 40; in otEncodingReadUint64Le()
62 value |= ((uint64_t)aSource[6]) << 48; in otEncodingReadUint64Le()
63 value |= ((uint64_t)aSource[7]) << 56; in otEncodingReadUint64Le()
/openthread-3.5.0/src/posix/platform/
Dmainloop.cpp39 void Manager::Add(Source &aSource) in Add() argument
41 assert(aSource.mNext == nullptr); in Add()
43 aSource.mNext = mSources; in Add()
44 mSources = &aSource; in Add()
47 void Manager::Remove(Source &aSource) in Remove() argument
51 if (*pnext == &aSource) in Remove()
53 *pnext = aSource.mNext; in Remove()
58 aSource.mNext = nullptr; in Remove()
Dmainloop.hpp107 void Add(Source &aSource);
115 void Remove(Source &aSource);
/openthread-3.5.0/src/core/net/
Dchecksum.cpp93 void Checksum::Calculate(const Ip6::Address &aSource, in Calculate() argument
103 AddData(aSource.GetBytes(), sizeof(Ip6::Address)); in Calculate()
119 void Checksum::Calculate(const Ip4::Address &aSource, in Calculate() argument
131 AddData(aSource.GetBytes(), sizeof(Ip4::Address)); in Calculate()
158 const Ip6::Address &aSource, in UpdateMessageChecksum() argument
185 checksum.Calculate(aSource, aDestination, aIpProto, aMessage); in UpdateMessageChecksum()
193 const Ip4::Address &aSource, in UpdateMessageChecksum() argument
220 checksum.Calculate(aSource, aDestination, aIpProto, aMessage); in UpdateMessageChecksum()
Dchecksum.hpp84 const Ip6::Address &aSource,
100 const Ip4::Address &aSource,
124 void Calculate(const Ip6::Address &aSource,
128 void Calculate(const Ip4::Address &aSource,
Dip4_types.hpp485 void SetSource(const Address &aSource) { mSource = aSource; } in SetSource() argument
Dip6_headers.hpp297 void SetSource(const Address &aSource) { mSource = aSource; } in SetSource() argument
Dip6.hpp420 Error RouteLookup(const Address &aSource, const Address &aDestination) const;
Dip6.cpp1445 Error Ip6::RouteLookup(const Address &aSource, const Address &aDestination) const in RouteLookup() argument
1450 error = Get<NetworkData::Leader>().RouteLookup(aSource, aDestination, rloc); in RouteLookup()
/openthread-3.5.0/tests/unit/
Dtest_lowpan.hpp125 const char *aSource, in SetIpHeader() argument
132 IgnoreError(mIpHeader.GetSource().FromString(aSource)); in SetIpHeader()
151 const char *aSource, in SetIpTunneledHeader() argument
158 IgnoreError(mIpTunneledHeader.GetSource().FromString(aSource)); in SetIpTunneledHeader()
184 void SetUDPHeader(uint16_t aSource, uint16_t aDestination, uint16_t aLength, uint16_t aChecksum) in SetUDPHeader() argument
186 mUdpHeader.SetSourcePort(aSource); in SetUDPHeader()
Dtest_checksum.cpp73 uint16_t CalculateChecksum(const Ip6::Address &aSource, in CalculateChecksum() argument
102 data.mPseudoHeader.mSource = aSource; in CalculateChecksum()
112 uint16_t CalculateChecksum(const Ip4::Address &aSource, in CalculateChecksum() argument
141 data.mPseudoHeader.mSource = aSource; in CalculateChecksum()
/openthread-3.5.0/include/openthread/
Dlink_metrics.h119 typedef void (*otLinkMetricsReportCallback)(const otIp6Address *aSource,
131 typedef void (*otLinkMetricsMgmtResponseCallback)(const otIp6Address *aSource,
/openthread-3.5.0/src/core/radio/
Dtrel_packet.hpp197 void SetSource(const Mac::ExtAddress &aSource) { mSource = aSource; } in SetSource() argument
/openthread-3.5.0/src/core/border_router/
Dinfra_if.cpp97 void InfraIf::HandledReceived(uint32_t aIfIndex, const Ip6::Address &aSource, const Icmp6Packet &aP… in HandledReceived() argument
106 Get<RoutingManager>().HandleReceived(aPacket, aSource); in HandledReceived()
Dinfra_if.hpp160 … void HandledReceived(uint32_t aIfIndex, const Ip6::Address &aSource, const Icmp6Packet &aPacket);
/openthread-3.5.0/src/ncp/
Dncp_base.hpp313 static void HandleLinkMetricsReport_Jump(const otIp6Address *aSource,
318 void HandleLinkMetricsReport(const otIp6Address *aSource,
322 static void HandleLinkMetricsMgmtResponse_Jump(const otIp6Address *aSource,
326 void HandleLinkMetricsMgmtResponse(const otIp6Address *aSource, otLinkMetricsStatus aStatus);
Dncp_base_mtd.cpp4231 void NcpBase::HandleLinkMetricsReport_Jump(const otIp6Address *aSource, in HandleLinkMetricsReport_Jump() argument
4236 static_cast<NcpBase *>(aContext)->HandleLinkMetricsReport(aSource, aMetricsValues, aStatus); in HandleLinkMetricsReport_Jump()
4239 void NcpBase::HandleLinkMetricsReport(const otIp6Address *aSource, in HandleLinkMetricsReport() argument
4246 SuccessOrExit(mEncoder.WriteIp6Address(*aSource)); in HandleLinkMetricsReport()
4256 void NcpBase::HandleLinkMetricsMgmtResponse_Jump(const otIp6Address *aSource, in HandleLinkMetricsMgmtResponse_Jump() argument
4260 static_cast<NcpBase *>(aContext)->HandleLinkMetricsMgmtResponse(aSource, aStatus); in HandleLinkMetricsMgmtResponse_Jump()
4263 void NcpBase::HandleLinkMetricsMgmtResponse(const otIp6Address *aSource, otLinkMetricsStatus aStatu… in HandleLinkMetricsMgmtResponse() argument
4268 SuccessOrExit(mEncoder.WriteIp6Address(*aSource)); in HandleLinkMetricsMgmtResponse()
/openthread-3.5.0/src/core/thread/
Dnetwork_data_leader.hpp161 …Error RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint16_t &aRloc16…
Dnetwork_data_leader.cpp240 Error LeaderBase::RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint16… in RouteLookup() argument
245 while ((prefixTlv = FindNextMatchingPrefixTlv(aSource, prefixTlv)) != nullptr) in RouteLookup()
Dlowpan.hpp308 void Init(uint16_t aSource, uint16_t aDestination, uint8_t aHopsLeft);
Dlowpan.cpp1083 void MeshHeader::Init(uint16_t aSource, uint16_t aDestination, uint8_t aHopsLeft) in Init() argument
1085 mSource = aSource; in Init()
/openthread-3.5.0/src/cli/
Dcli_srp_client.cpp45 static otError CopyString(char *aDest, uint16_t aDestSize, const char *aSource) in CopyString() argument
51 size_t len = strlen(aSource); in CopyString()
54 memcpy(aDest, aSource, len + 1); in CopyString()