/openthread-3.5.0/src/core/radio/ |
D | trel_packet.hpp | 189 const Mac::ExtAddress &GetSource(void) const { return mSource; } in GetSource() 197 void SetSource(const Mac::ExtAddress &aSource) { mSource = aSource; } in SetSource() 249 Mac::ExtAddress mSource; member in ot::Trel::Header
|
/openthread-3.5.0/src/core/thread/ |
D | mesh_forwarder_ftd.cpp | 391 mMacAddrs.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in UpdateMeshRoute() 582 mMacAddrs.mSource.SetShort(mMeshSource); in UpdateIp6RouteFtd() 599 VerifyOrExit(aMacAddrs.mSource.IsShort() && aMacAddrs.mDestination.IsShort()); in SendIcmpErrorIfDstUnreach() 601 …child = Get<ChildTable>().FindChild(aMacAddrs.mSource.GetShort(), Child::kInStateAnyExceptInvalid); in SendIcmpErrorIfDstUnreach() 613 SendDestinationUnreachable(aMacAddrs.mSource.GetShort(), ip6Headers); in SendIcmpErrorIfDstUnreach() 637 SendDestinationUnreachable(aMeshAddrs.mSource.GetShort(), ip6Headers); in CheckReachability() 667 meshAddrs.mSource.SetShort(meshHeader.GetSource()); in HandleMesh() 742 VerifyOrExit(!aMeshAddrs.mDestination.IsBroadcast() && aMeshAddrs.mSource.IsShort()); in UpdateRoutes() 753 …ssResolver>().UpdateSnoopedCacheEntry(ip6Headers.GetSourceAddress(), aMeshAddrs.mSource.GetShort(), in UpdateRoutes() 760 if (!Mle::RouterIdMatch(aMeshAddrs.mSource.GetShort(), Get<Mac::Mac>().GetShortAddress())) in UpdateRoutes() [all …]
|
D | mesh_forwarder.cpp | 188 addresses.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareEmptyFrame() 190 if (addresses.mSource.IsShortAddrInvalid() || aMacDest.IsExtended()) in PrepareEmptyFrame() 192 addresses.mSource.SetExtended(Get<Mac::Mac>().GetExtAddress()); in PrepareEmptyFrame() 666 GetMacSourceAddress(ip6Header.GetSource(), mMacAddrs.mSource); in UpdateIp6Route() 1013 macAddrs.mSource.SetShort(aMeshSource); in PrepareDataFrame() 1364 SuccessOrExit(error = aFrame.GetSrcAddr(macAddrs.mSource)); in HandleReceivedFrame() 1371 Get<SupervisionListener>().UpdateOnReceive(macAddrs.mSource, linkInfo.IsLinkSecurityEnabled()); in HandleReceivedFrame() 1379 HandleMesh(frameData, macAddrs.mSource, linkInfo); in HandleReceivedFrame() 1429 …Neighbor *neighbor = Get<NeighborTable>().FindNeighbor(aMacAddrs.mSource, Neighbor::kInStateAnyExc… in HandleFragment() 1541 IgnoreError(HandleDatagram(*message, aLinkInfo, aMacAddrs.mSource)); in HandleFragment() [all …]
|
D | lowpan.hpp | 408 uint16_t GetSource(void) const { return mSource; } in GetSource() 453 uint16_t mSource; member in ot::Lowpan::MeshHeader
|
D | lowpan.cpp | 353 …error = CompressSourceIid(aMacAddrs.mSource, ip6Header.GetSource(), srcContext, hcCtl, aFrameBuild… in Compress() 359 …error = CompressSourceIid(aMacAddrs.mSource, ip6Header.GetSource(), srcContext, hcCtl, aFrameBuild… in Compress() 717 IgnoreError(ComputeIid(aMacAddrs.mSource, srcContext, aIp6Header.GetSource().GetIid())); in DecompressBaseHeader() 1085 mSource = aSource; in Init() 1130 mSource = ReadUint16(aFrame); in ParseFrom() 1184 SuccessOrExit(error = aFrameBuilder.AppendBigEndianUint16(mSource)); in AppendTo()
|
D | indirect_sender.cpp | 371 Get<MeshForwarder>().GetMacSourceAddress(ip6Header.GetSource(), macAddrs.mSource); in PrepareDataFrame()
|
/openthread-3.5.0/src/core/utils/ |
D | ping_sender.hpp | 104 Ip6::Address &GetSource(void) { return AsCoreType(&mSource); } in GetSource() 112 const Ip6::Address &GetSource(void) const { return AsCoreType(&mSource); } in GetSource()
|
D | history_tracker.cpp | 129 entry->mSource.mAddress = headers.GetSourceAddress(); in RecordMessage() 130 entry->mSource.mPort = headers.GetSourcePort(); in RecordMessage()
|
/openthread-3.5.0/src/core/net/ |
D | ip4_types.hpp | 469 Address &GetSource(void) { return mSource; } in GetSource() 477 const Address &GetSource(void) const { return mSource; } in GetSource() 485 void SetSource(const Address &aSource) { mSource = aSource; } in SetSource() 582 Address mSource; member in ot::Ip4::Header
|
D | ip6_headers.hpp | 281 Address &GetSource(void) { return mSource; } in GetSource() 289 const Address &GetSource(void) const { return mSource; } in GetSource() 297 void SetSource(const Address &aSource) { mSource = aSource; } in SetSource() 368 Address mSource; member in ot::Ip6::Header
|
D | tcp6.hpp | 553 uint16_t GetSourcePort(void) const { return HostSwap16(mSource); } in GetSourcePort() 612 uint16_t mSource; member in ot::Ip6::Tcp::Header
|
/openthread-3.5.0/tests/unit/ |
D | test_lowpan.hpp | 76 void SetMacSource(const uint8_t *aAddress) { mMacAddrs.mSource.SetExtended(aAddress); } in SetMacSource() 84 void SetMacSource(uint16_t aAddress) { mMacAddrs.mSource.SetShort(aAddress); } in SetMacSource()
|
D | test_checksum.cpp | 84 Ip6::Address mSource; in CalculateChecksum() member 102 data.mPseudoHeader.mSource = aSource; in CalculateChecksum() 123 Ip4::Address mSource; in CalculateChecksum() member 141 data.mPseudoHeader.mSource = aSource; in CalculateChecksum()
|
D | test_mac_frame.cpp | 299 VerifyOrQuit(addresses.mSource.IsNone()); in TestMacHeader() 307 addresses.mSource.SetNone(); in TestMacHeader() 310 addresses.mSource.SetShort(kShortAddr1); in TestMacHeader() 313 addresses.mSource.SetExtended(extAddr1); in TestMacHeader() 371 VerifyOrQuit(CompareAddresses(address, addresses.mSource)); in TestMacHeader()
|
/openthread-3.5.0/src/core/mac/ |
D | mac_types.hpp | 420 Address mSource; ///< Source address. member 452 PanId GetSource(void) const { return mSource; } in GetSource() 496 PanId mSource; member in ot::Mac::PanIds
|
D | mac_frame.cpp | 74 switch (aAddrs.mSource.GetType()) in InitMacHeader() 127 if (!aAddrs.mSource.IsNone() && !aAddrs.mDestination.IsNone() && in InitMacHeader() 160 …if ((aAddrs.mSource.IsNone() && aPanIds.IsDestinationPresent()) || /… in InitMacHeader() 161 …(!aAddrs.mSource.IsNone() && !aPanIds.IsDestinationPresent() && !aPanIds.IsSourcePresent())) // Ro… in InitMacHeader() 169 if (aAddrs.mSource.IsNone()) in InitMacHeader() 183 if (aAddrs.mSource.IsExtended() && aAddrs.mDestination.IsExtended()) in InitMacHeader() 218 IgnoreError(builder.AppendMacAddress(aAddrs.mSource)); in InitMacHeader()
|
D | data_poll_sender.cpp | 573 addresses.mSource.SetExtended(Get<Mac::Mac>().GetExtAddress()); in PrepareDataRequest() 577 addresses.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareDataRequest()
|
D | mac_types.cpp | 115 mSource = aPanId; in SetSource()
|
D | mac.cpp | 740 addrs.mSource.SetNone(); in PrepareBeaconRequest() 772 addrs.mSource.SetExtended(GetExtAddress()); in PrepareBeacon()
|
/openthread-3.5.0/include/openthread/ |
D | ping_sender.h | 110 otIp6Address mSource; ///< Source address of the ping. member
|
D | history_tracker.h | 150 otSockAddr mSource; ///< Source IPv6 address and port (if UDP/TCP) member
|
/openthread-3.5.0/src/cli/ |
D | cli_history.cpp | 590 OutputSockAddrLine(aInfo.mSource); in OutputRxTxEntryListFormat() 632 otIp6SockAddrToString(&aInfo.mSource, addrString, sizeof(addrString)); in OutputRxTxEntryTableFormat()
|
D | cli.cpp | 5959 SuccessOrExit(error = aArgs[1].ParseAsIp6Address(config.mSource)); in Process() 5968 if (otIp6IsAddressEqual(&addr->mAddress, &config.mSource)) in Process()
|