Home
last modified time | relevance | path

Searched refs:mSource (Results 1 – 23 of 23) sorted by relevance

/openthread-3.5.0/src/core/radio/
Dtrel_packet.hpp189 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/
Dmesh_forwarder_ftd.cpp391 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 …]
Dmesh_forwarder.cpp188 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 …]
Dlowpan.hpp408 uint16_t GetSource(void) const { return mSource; } in GetSource()
453 uint16_t mSource; member in ot::Lowpan::MeshHeader
Dlowpan.cpp353 …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()
Dindirect_sender.cpp371 Get<MeshForwarder>().GetMacSourceAddress(ip6Header.GetSource(), macAddrs.mSource); in PrepareDataFrame()
/openthread-3.5.0/src/core/utils/
Dping_sender.hpp104 Ip6::Address &GetSource(void) { return AsCoreType(&mSource); } in GetSource()
112 const Ip6::Address &GetSource(void) const { return AsCoreType(&mSource); } in GetSource()
Dhistory_tracker.cpp129 entry->mSource.mAddress = headers.GetSourceAddress(); in RecordMessage()
130 entry->mSource.mPort = headers.GetSourcePort(); in RecordMessage()
/openthread-3.5.0/src/core/net/
Dip4_types.hpp469 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
Dip6_headers.hpp281 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
Dtcp6.hpp553 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/
Dtest_lowpan.hpp76 void SetMacSource(const uint8_t *aAddress) { mMacAddrs.mSource.SetExtended(aAddress); } in SetMacSource()
84 void SetMacSource(uint16_t aAddress) { mMacAddrs.mSource.SetShort(aAddress); } in SetMacSource()
Dtest_checksum.cpp84 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()
Dtest_mac_frame.cpp299 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/
Dmac_types.hpp420 Address mSource; ///< Source address. member
452 PanId GetSource(void) const { return mSource; } in GetSource()
496 PanId mSource; member in ot::Mac::PanIds
Dmac_frame.cpp74 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()
Ddata_poll_sender.cpp573 addresses.mSource.SetExtended(Get<Mac::Mac>().GetExtAddress()); in PrepareDataRequest()
577 addresses.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareDataRequest()
Dmac_types.cpp115 mSource = aPanId; in SetSource()
Dmac.cpp740 addrs.mSource.SetNone(); in PrepareBeaconRequest()
772 addrs.mSource.SetExtended(GetExtAddress()); in PrepareBeacon()
/openthread-3.5.0/include/openthread/
Dping_sender.h110 otIp6Address mSource; ///< Source address of the ping. member
Dhistory_tracker.h150 otSockAddr mSource; ///< Source IPv6 address and port (if UDP/TCP) member
/openthread-3.5.0/src/cli/
Dcli_history.cpp590 OutputSockAddrLine(aInfo.mSource); in OutputRxTxEntryListFormat()
632 otIp6SockAddrToString(&aInfo.mSource, addrString, sizeof(addrString)); in OutputRxTxEntryTableFormat()
Dcli.cpp5959 SuccessOrExit(error = aArgs[1].ParseAsIp6Address(config.mSource)); in Process()
5968 if (otIp6IsAddressEqual(&addr->mAddress, &config.mSource)) in Process()