/openthread-latest/src/core/radio/ |
D | trel_packet.hpp | 172 const Mac::ExtAddress &GetSource(void) const { return mSource; } in GetSource() 179 void SetSource(const Mac::ExtAddress &aSource) { mSource = aSource; } in SetSource() 227 Mac::ExtAddress mSource; member in ot::Trel::Header
|
/openthread-latest/src/core/net/ |
D | ip4_types.hpp | 435 Address &GetSource(void) { return mSource; } in GetSource() 442 const Address &GetSource(void) const { return mSource; } in GetSource() 449 void SetSource(const Address &aSource) { mSource = aSource; } in SetSource() 539 Address mSource; member in ot::Ip4::Header
|
D | ip6_headers.hpp | 257 Address &GetSource(void) { return mSource; } in GetSource() 264 const Address &GetSource(void) const { return mSource; } in GetSource() 271 void SetSource(const Address &aSource) { mSource = aSource; } in SetSource() 338 Address mSource; member in ot::Ip6::Header
|
D | tcp6.hpp | 527 uint16_t GetSourcePort(void) const { return BigEndian::HostSwap16(mSource); } in GetSourcePort() 579 uint16_t mSource; member in ot::Ip6::Tcp::Header
|
/openthread-latest/src/core/utils/ |
D | ping_sender.hpp | 99 Ip6::Address &GetSource(void) { return AsCoreType(&mSource); } in GetSource() 106 const Ip6::Address &GetSource(void) const { return AsCoreType(&mSource); } in GetSource()
|
D | history_tracker.cpp | 121 entry->mSource.mAddress = headers.GetSourceAddress(); in RecordMessage() 122 entry->mSource.mPort = headers.GetSourcePort(); in RecordMessage()
|
/openthread-latest/tests/gtest/ |
D | radio_spinel_rcp_test.cpp | 73 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST() 117 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST() 163 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST() 219 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST() 269 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST() 345 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
|
/openthread-latest/src/core/thread/ |
D | mesh_forwarder_ftd.cpp | 373 mMacAddrs.mSource.SetShort(Get<Mle::Mle>().GetRloc16()); in UpdateMeshRoute() 454 mMacAddrs.mSource.SetShort(mMeshSource); in UpdateIp6RouteFtd() 471 VerifyOrExit(aMacAddrs.mSource.IsShort() && aMacAddrs.mDestination.IsShort()); in SendIcmpErrorIfDstUnreach() 473 …child = Get<ChildTable>().FindChild(aMacAddrs.mSource.GetShort(), Child::kInStateAnyExceptInvalid); in SendIcmpErrorIfDstUnreach() 485 SendDestinationUnreachable(aMacAddrs.mSource.GetShort(), ip6Headers); in SendIcmpErrorIfDstUnreach() 583 aRxInfo.mMacAddrs.mSource.SetShort(meshHeader.GetSource()); in HandleMesh() 862 aMeshAddrs.mSource.SetShort(meshHeader.GetSource()); in LogMeshFragmentHeader() 877 string.Append("msrc:%s, mdst:%s, hops:%d, frag:%s, ", aMeshAddrs.mSource.ToString().AsCString(), in LogMeshFragmentHeader()
|
D | lowpan.hpp | 385 uint16_t GetSource(void) const { return mSource; } in GetSource() 427 uint16_t mSource; member in ot::Lowpan::MeshHeader
|
D | lowpan.cpp | 342 …error = CompressSourceIid(aMacAddrs.mSource, ip6Header.GetSource(), srcContext, hcCtl, aFrameBuild… in Compress() 348 …error = CompressSourceIid(aMacAddrs.mSource, ip6Header.GetSource(), srcContext, hcCtl, aFrameBuild… in Compress() 707 IgnoreError(ComputeIid(aMacAddrs.mSource, srcContext, aIp6Header.GetSource().GetIid())); in DecompressBaseHeader() 1075 mSource = aSource; in Init() 1120 mSource = BigEndian::ReadUint16(aFrame); in ParseFrom() 1174 SuccessOrExit(error = aFrameBuilder.AppendBigEndianUint16(mSource)); in AppendTo()
|
D | mesh_forwarder.cpp | 168 frameInfo.mAddrs.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareEmptyFrame() 170 if (frameInfo.mAddrs.mSource.IsShortAddrInvalid() || aMacDest.IsExtended()) in PrepareEmptyFrame() 172 frameInfo.mAddrs.mSource.SetExtended(Get<Mac::Mac>().GetExtAddress()); in PrepareEmptyFrame() 631 GetMacSourceAddress(ip6Header.GetSource(), mMacAddrs.mSource); in UpdateIp6Route() 1017 macAddrs.mSource.SetShort(aMeshSource); in PrepareDataFrame() 1395 SuccessOrExit(error = aFrame.GetSrcAddr(rxInfo.mMacAddrs.mSource)); in HandleReceivedFrame() 1400 …Get<SupervisionListener>().UpdateOnReceive(rxInfo.mMacAddrs.mSource, rxInfo.IsLinkSecurityEnabled(… in HandleReceivedFrame()
|
D | indirect_sender.cpp | 370 Get<MeshForwarder>().GetMacSourceAddress(ip6Header.GetSource(), macAddrs.mSource); in PrepareDataFrame()
|
D | mesh_forwarder.hpp | 392 const Mac::Address &GetSrcAddr(void) const { return mMacAddrs.mSource; } in GetSrcAddr()
|
/openthread-latest/tests/unit/ |
D | test_lowpan.hpp | 74 void SetMacSource(const uint8_t *aAddress) { mMacAddrs.mSource.SetExtended(aAddress); } in SetMacSource() 81 void SetMacSource(uint16_t aAddress) { mMacAddrs.mSource.SetShort(aAddress); } in SetMacSource()
|
D | test_checksum.cpp | 87 Ip6::Address mSource; in CalculateChecksum() member 105 data.mPseudoHeader.mSource = aSource; in CalculateChecksum() 126 Ip4::Address mSource; in CalculateChecksum() member 144 data.mPseudoHeader.mSource = aSource; in CalculateChecksum()
|
D | test_mac_frame.cpp | 302 VerifyOrQuit(frameInfo.mAddrs.mSource.IsNone()); in TestMacHeader() 310 frameInfo.mAddrs.mSource.SetNone(); in TestMacHeader() 313 frameInfo.mAddrs.mSource.SetShort(kShortAddr1); in TestMacHeader() 316 frameInfo.mAddrs.mSource.SetExtended(extAddr1); in TestMacHeader() 379 VerifyOrQuit(CompareAddresses(address, frameInfo.mAddrs.mSource)); in TestMacHeader()
|
/openthread-latest/src/core/mac/ |
D | mac_types.hpp | 403 Address mSource; ///< Source address. member 431 PanId GetSource(void) const { return mSource; } in GetSource() 470 PanId mSource; member in ot::Mac::PanIds
|
D | mac_frame.cpp | 59 fcf |= DetermineFcfAddrType(mAddrs.mSource, kFcfSrcAddrShift); in PrepareHeadersIn() 88 if (!mAddrs.mSource.IsNone() && !mAddrs.mDestination.IsNone() && in PrepareHeadersIn() 130 …if ((mAddrs.mSource.IsNone() && mPanIds.IsDestinationPresent()) || /… in PrepareHeadersIn() 131 …(!mAddrs.mSource.IsNone() && !mPanIds.IsDestinationPresent() && !mPanIds.IsSourcePresent())) // Ro… in PrepareHeadersIn() 139 if (mAddrs.mSource.IsNone()) in PrepareHeadersIn() 153 if (mAddrs.mSource.IsExtended() && mAddrs.mDestination.IsExtended()) in PrepareHeadersIn() 206 IgnoreError(builder.AppendMacAddress(mAddrs.mSource)); in PrepareHeadersIn()
|
D | data_poll_sender.cpp | 560 frameInfo.mAddrs.mSource.SetExtended(Get<Mac::Mac>().GetExtAddress()); in PrepareDataRequest() 564 frameInfo.mAddrs.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareDataRequest()
|
D | mac_types.cpp | 146 mSource = aPanId; in SetSource()
|
D | mac.cpp | 762 frameInfo.mAddrs.mSource.SetNone(); in PrepareBeaconRequest() 795 frameInfo.mAddrs.mSource.SetExtended(GetExtAddress()); in PrepareBeacon()
|
/openthread-latest/src/cli/ |
D | cli_ping.cpp | 85 SuccessOrExit(error = aArgs[1].ParseAsIp6Address(config.mSource)); in Process() 88 …VerifyOrExit(otIp6HasUnicastAddress(GetInstancePtr(), &config.mSource), error = OT_ERROR_INVALID_A… in Process()
|
D | cli_history.cpp | 1200 OutputSockAddrLine(aInfo.mSource); in OutputRxTxEntryListFormat() 1242 otIp6SockAddrToString(&aInfo.mSource, addrString, sizeof(addrString)); in OutputRxTxEntryTableFormat()
|
/openthread-latest/include/openthread/ |
D | ping_sender.h | 104 otIp6Address mSource; ///< Source address of the ping. member
|
D | history_tracker.h | 141 otSockAddr mSource; ///< Source IPv6 address and port (if UDP/TCP) member
|