/openthread-3.6.0/examples/platforms/utils/ |
D | encoding.h | 52 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.6.0/src/posix/platform/ |
D | mainloop.cpp | 39 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()
|
D | mainloop.hpp | 107 void Add(Source &aSource); 115 void Remove(Source &aSource);
|
/openthread-3.6.0/src/core/net/ |
D | checksum.cpp | 97 void Checksum::Calculate(const Ip6::Address &aSource, in Calculate() argument 107 AddData(aSource.GetBytes(), sizeof(Ip6::Address)); in Calculate() 123 void Checksum::Calculate(const Ip4::Address &aSource, in Calculate() argument 135 AddData(aSource.GetBytes(), sizeof(Ip4::Address)); in Calculate() 169 const Ip6::Address &aSource, in UpdateMessageChecksum() argument 196 checksum.Calculate(aSource, aDestination, aIpProto, aMessage); in UpdateMessageChecksum() 204 const Ip4::Address &aSource, in UpdateMessageChecksum() argument 231 checksum.Calculate(aSource, aDestination, aIpProto, aMessage); in UpdateMessageChecksum()
|
D | checksum.hpp | 84 const Ip6::Address &aSource, 100 const Ip4::Address &aSource, 124 void Calculate(const Ip6::Address &aSource, 128 void Calculate(const Ip4::Address &aSource,
|
D | ip4_types.hpp | 482 void SetSource(const Address &aSource) { mSource = aSource; } in SetSource() argument
|
D | ip6_headers.hpp | 297 void SetSource(const Address &aSource) { mSource = aSource; } in SetSource() argument
|
D | ip6.hpp | 399 Error RouteLookup(const Address &aSource, const Address &aDestination) const;
|
D | ip6.cpp | 1434 Error Ip6::RouteLookup(const Address &aSource, const Address &aDestination) const in RouteLookup() argument 1439 error = Get<NetworkData::Leader>().RouteLookup(aSource, aDestination, rloc); in RouteLookup()
|
/openthread-3.6.0/tests/unit/ |
D | test_lowpan.hpp | 125 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()
|
D | test_checksum.cpp | 74 uint16_t CalculateChecksum(const Ip6::Address &aSource, in CalculateChecksum() argument 103 data.mPseudoHeader.mSource = aSource; in CalculateChecksum() 113 uint16_t CalculateChecksum(const Ip4::Address &aSource, in CalculateChecksum() argument 142 data.mPseudoHeader.mSource = aSource; in CalculateChecksum()
|
/openthread-3.6.0/src/core/common/ |
D | string.cpp | 163 Error StringCopy(char *aTargetBuffer, uint16_t aTargetSize, const char *aSource, StringEncodingChec… in StringCopy() argument 168 if (aSource == nullptr) in StringCopy() 174 length = StringLength(aSource, aTargetSize); in StringCopy() 182 VerifyOrExit(IsValidUtf8String(aSource), error = kErrorParse); in StringCopy() 186 memcpy(aTargetBuffer, aSource, length + 1); // `+ 1` to also copy null char. in StringCopy()
|
D | string.hpp | 182 Error StringCopy(char *TargetBuffer, uint16_t aTargetSize, const char *aSource, StringEncodingCheck… 200 const char *aSource, in StringCopy() argument 203 return StringCopy(aTargetBuffer, kSize, aSource, aEncodingCheck); in StringCopy()
|
/openthread-3.6.0/include/openthread/ |
D | link_metrics.h | 117 typedef void (*otLinkMetricsReportCallback)(const otIp6Address *aSource, 129 typedef void (*otLinkMetricsMgmtResponseCallback)(const otIp6Address *aSource,
|
/openthread-3.6.0/src/core/radio/ |
D | trel_packet.hpp | 197 void SetSource(const Mac::ExtAddress &aSource) { mSource = aSource; } in SetSource() argument
|
/openthread-3.6.0/src/core/border_router/ |
D | infra_if.cpp | 96 void InfraIf::HandledReceived(uint32_t aIfIndex, const Ip6::Address &aSource, const Icmp6Packet &aP… in HandledReceived() argument 105 Get<RoutingManager>().HandleReceived(aPacket, aSource); in HandledReceived()
|
D | infra_if.hpp | 160 … void HandledReceived(uint32_t aIfIndex, const Ip6::Address &aSource, const Icmp6Packet &aPacket);
|
/openthread-3.6.0/src/ncp/ |
D | ncp_base.hpp | 400 static void HandleLinkMetricsReport_Jump(const otIp6Address *aSource, 405 void HandleLinkMetricsReport(const otIp6Address *aSource, 409 static void HandleLinkMetricsMgmtResponse_Jump(const otIp6Address *aSource, 413 void HandleLinkMetricsMgmtResponse(const otIp6Address *aSource, otLinkMetricsStatus aStatus);
|
D | ncp_base_mtd.cpp | 4234 void NcpBase::HandleLinkMetricsReport_Jump(const otIp6Address *aSource, in HandleLinkMetricsReport_Jump() argument 4239 static_cast<NcpBase *>(aContext)->HandleLinkMetricsReport(aSource, aMetricsValues, aStatus); in HandleLinkMetricsReport_Jump() 4242 void NcpBase::HandleLinkMetricsReport(const otIp6Address *aSource, in HandleLinkMetricsReport() argument 4249 SuccessOrExit(mEncoder.WriteIp6Address(*aSource)); in HandleLinkMetricsReport() 4259 void NcpBase::HandleLinkMetricsMgmtResponse_Jump(const otIp6Address *aSource, in HandleLinkMetricsMgmtResponse_Jump() argument 4263 static_cast<NcpBase *>(aContext)->HandleLinkMetricsMgmtResponse(aSource, aStatus); in HandleLinkMetricsMgmtResponse_Jump() 4266 void NcpBase::HandleLinkMetricsMgmtResponse(const otIp6Address *aSource, otLinkMetricsStatus aStatu… in HandleLinkMetricsMgmtResponse() argument 4271 SuccessOrExit(mEncoder.WriteIp6Address(*aSource)); in HandleLinkMetricsMgmtResponse()
|
/openthread-3.6.0/src/cli/ |
D | cli_srp_client.cpp | 45 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()
|
/openthread-3.6.0/src/core/thread/ |
D | network_data_leader.cpp | 259 Error Leader::RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint16_t &… in RouteLookup() argument 264 while ((prefixTlv = FindNextMatchingPrefixTlv(aSource, prefixTlv)) != nullptr) in RouteLookup()
|
D | lowpan.hpp | 306 void Init(uint16_t aSource, uint16_t aDestination, uint8_t aHopsLeft);
|
D | network_data_leader.hpp | 162 …Error RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint16_t &aRloc16…
|
D | lowpan.cpp | 1081 void MeshHeader::Init(uint16_t aSource, uint16_t aDestination, uint8_t aHopsLeft) in Init() argument 1083 mSource = aSource; in Init()
|