Home
last modified time | relevance | path

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

/openthread-2.7.6/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-2.7.6/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.hpp101 void Add(Source &aSource);
109 void Remove(Source &aSource);
/openthread-2.7.6/tests/unit/
Dtest_lowpan.hpp117 const char *aSource, in SetIpHeader() argument
124 IgnoreError(mIpHeader.GetSource().FromString(aSource)); in SetIpHeader()
143 const char *aSource, in SetIpTunneledHeader() argument
150 IgnoreError(mIpTunneledHeader.GetSource().FromString(aSource)); in SetIpTunneledHeader()
176 void SetUDPHeader(uint16_t aSource, uint16_t aDestination, uint16_t aLength, uint16_t aChecksum) in SetUDPHeader() argument
178 mUdpHeader.SetSourcePort(aSource); in SetUDPHeader()
Dtest_checksum.cpp72 uint16_t CalculateChecksum(const Ip6::Address &aSource, in CalculateChecksum() argument
105 data.mPseudoHeader.mSource = aSource; in CalculateChecksum()
/openthread-2.7.6/src/core/net/
Dchecksum.cpp92 void Checksum::Calculate(const Ip6::Address &aSource, in Calculate() argument
102 AddData(aSource.GetBytes(), sizeof(Ip6::Address)); in Calculate()
128 const Ip6::Address &aSource, in UpdateMessageChecksum() argument
153 checksum.Calculate(aSource, aDestination, aIpProto, aMessage); in UpdateMessageChecksum()
Dchecksum.hpp83 const Ip6::Address &aSource,
99 void Calculate(const Ip6::Address &aSource,
Dip6_headers.hpp282 void SetSource(const Address &aSource) { mSource = aSource; } in SetSource() argument
/openthread-2.7.6/include/openthread/
Dlink_metrics.h119 typedef void (*otLinkMetricsReportCallback)(const otIp6Address * aSource,
131 typedef void (*otLinkMetricsMgmtResponseCallback)(const otIp6Address *aSource, uint8_t aStatus, voi…
/openthread-2.7.6/src/core/radio/
Dtrel_packet.hpp196 void SetSource(const Mac::ExtAddress &aSource) { mSource = aSource; } in SetSource() argument
/openthread-2.7.6/src/core/thread/
Dthread_netif.cpp228 Error ThreadNetif::RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint8… in RouteLookup() argument
233 …SuccessOrExit(error = Get<NetworkData::Leader>().RouteLookup(aSource, aDestination, aPrefixMatch, … in RouteLookup()
Dnetwork_data_leader.hpp145 Error RouteLookup(const Ip6::Address &aSource,
Dthread_netif.hpp183 …Error RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint8_t *aPrefixM…
Dnetwork_data_leader.cpp213 Error LeaderBase::RouteLookup(const Ip6::Address &aSource, in RouteLookup() argument
221 while ((prefix = FindNextMatchingPrefix(aSource, prefix)) != nullptr) in RouteLookup()
Dlowpan.hpp408 void Init(uint16_t aSource, uint16_t aDestination, uint8_t aHopsLeft);
Dlowpan.cpp1185 void MeshHeader::Init(uint16_t aSource, uint16_t aDestination, uint8_t aHopsLeft) in Init() argument
1187 mSource = aSource; in Init()
/openthread-2.7.6/src/ncp/
Dncp_base.hpp341 static void HandleLinkMetricsReport_Jump(const otIp6Address * aSource,
346 void HandleLinkMetricsReport(const otIp6Address * aSource,
350 …static void HandleLinkMetricsMgmtResponse_Jump(const otIp6Address *aSource, uint8_t aStatus, void …
352 void HandleLinkMetricsMgmtResponse(const otIp6Address *aSource, uint8_t aStatus);
Dncp_base_mtd.cpp4345 void NcpBase::HandleLinkMetricsReport_Jump(const otIp6Address * aSource, in HandleLinkMetricsReport_Jump() argument
4350 static_cast<NcpBase *>(aContext)->HandleLinkMetricsReport(aSource, aMetricsValues, aStatus); in HandleLinkMetricsReport_Jump()
4353 void NcpBase::HandleLinkMetricsReport(const otIp6Address * aSource, in HandleLinkMetricsReport() argument
4360 SuccessOrExit(mEncoder.WriteIp6Address(*aSource)); in HandleLinkMetricsReport()
4370 void NcpBase::HandleLinkMetricsMgmtResponse_Jump(const otIp6Address *aSource, uint8_t aStatus, void… in HandleLinkMetricsMgmtResponse_Jump() argument
4372 static_cast<NcpBase *>(aContext)->HandleLinkMetricsMgmtResponse(aSource, aStatus); in HandleLinkMetricsMgmtResponse_Jump()
4375 void NcpBase::HandleLinkMetricsMgmtResponse(const otIp6Address *aSource, uint8_t aStatus) in HandleLinkMetricsMgmtResponse() argument
4380 SuccessOrExit(mEncoder.WriteIp6Address(*aSource)); in HandleLinkMetricsMgmtResponse()
/openthread-2.7.6/src/cli/
Dcli_srp_client.cpp47 static otError CopyString(char *aDest, uint16_t aDestSize, const char *aSource) in CopyString() argument
53 size_t len = strlen(aSource); in CopyString()
56 memcpy(aDest, aSource, len + 1); in CopyString()