Home
last modified time | relevance | path

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

/openthread-latest/src/core/radio/
Dtrel_packet.hpp172 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/
Dip4_types.hpp435 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
Dip6_headers.hpp257 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
Dtcp6.hpp527 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/
Dping_sender.hpp99 Ip6::Address &GetSource(void) { return AsCoreType(&mSource); } in GetSource()
106 const Ip6::Address &GetSource(void) const { return AsCoreType(&mSource); } in GetSource()
Dhistory_tracker.cpp121 entry->mSource.mAddress = headers.GetSourceAddress(); in RecordMessage()
122 entry->mSource.mPort = headers.GetSourcePort(); in RecordMessage()
/openthread-latest/tests/gtest/
Dradio_spinel_rcp_test.cpp73 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/
Dmesh_forwarder_ftd.cpp373 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()
Dlowpan.hpp385 uint16_t GetSource(void) const { return mSource; } in GetSource()
427 uint16_t mSource; member in ot::Lowpan::MeshHeader
Dlowpan.cpp342 …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()
Dmesh_forwarder.cpp168 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()
Dindirect_sender.cpp370 Get<MeshForwarder>().GetMacSourceAddress(ip6Header.GetSource(), macAddrs.mSource); in PrepareDataFrame()
Dmesh_forwarder.hpp392 const Mac::Address &GetSrcAddr(void) const { return mMacAddrs.mSource; } in GetSrcAddr()
/openthread-latest/tests/unit/
Dtest_lowpan.hpp74 void SetMacSource(const uint8_t *aAddress) { mMacAddrs.mSource.SetExtended(aAddress); } in SetMacSource()
81 void SetMacSource(uint16_t aAddress) { mMacAddrs.mSource.SetShort(aAddress); } in SetMacSource()
Dtest_checksum.cpp87 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()
Dtest_mac_frame.cpp302 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/
Dmac_types.hpp403 Address mSource; ///< Source address. member
431 PanId GetSource(void) const { return mSource; } in GetSource()
470 PanId mSource; member in ot::Mac::PanIds
Dmac_frame.cpp59 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()
Ddata_poll_sender.cpp560 frameInfo.mAddrs.mSource.SetExtended(Get<Mac::Mac>().GetExtAddress()); in PrepareDataRequest()
564 frameInfo.mAddrs.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareDataRequest()
Dmac_types.cpp146 mSource = aPanId; in SetSource()
Dmac.cpp762 frameInfo.mAddrs.mSource.SetNone(); in PrepareBeaconRequest()
795 frameInfo.mAddrs.mSource.SetExtended(GetExtAddress()); in PrepareBeacon()
/openthread-latest/src/cli/
Dcli_ping.cpp85 SuccessOrExit(error = aArgs[1].ParseAsIp6Address(config.mSource)); in Process()
88 …VerifyOrExit(otIp6HasUnicastAddress(GetInstancePtr(), &config.mSource), error = OT_ERROR_INVALID_A… in Process()
Dcli_history.cpp1200 OutputSockAddrLine(aInfo.mSource); in OutputRxTxEntryListFormat()
1242 otIp6SockAddrToString(&aInfo.mSource, addrString, sizeof(addrString)); in OutputRxTxEntryTableFormat()
/openthread-latest/include/openthread/
Dping_sender.h104 otIp6Address mSource; ///< Source address of the ping. member
Dhistory_tracker.h141 otSockAddr mSource; ///< Source IPv6 address and port (if UDP/TCP) member