Lines Matching refs:aNeighbor
63 bool Neighbor::AddressMatcher::Matches(const Neighbor &aNeighbor) const in Matches()
67 VerifyOrExit(aNeighbor.MatchesFilter(mStateFilter)); in Matches()
71 VerifyOrExit(mShortAddress == aNeighbor.GetRloc16()); in Matches()
76 VerifyOrExit(*mExtAddress == aNeighbor.GetExtAddress()); in Matches()
85 void Neighbor::Info::SetFrom(const Neighbor &aNeighbor) in SetFrom() argument
89 mExtAddress = aNeighbor.GetExtAddress(); in SetFrom()
90 mAge = Time::MsecToSec(TimerMilli::GetNow() - aNeighbor.GetLastHeard()); in SetFrom()
91 mRloc16 = aNeighbor.GetRloc16(); in SetFrom()
92 mLinkFrameCounter = aNeighbor.GetLinkFrameCounters().GetMaximum(); in SetFrom()
93 mMleFrameCounter = aNeighbor.GetMleFrameCounter(); in SetFrom()
94 mLinkQualityIn = aNeighbor.GetLinkQualityIn(); in SetFrom()
95 mAverageRssi = aNeighbor.GetLinkInfo().GetAverageRss(); in SetFrom()
96 mLastRssi = aNeighbor.GetLinkInfo().GetLastRss(); in SetFrom()
97 mLinkMargin = aNeighbor.GetLinkInfo().GetLinkMargin(); in SetFrom()
98 mFrameErrorRate = aNeighbor.GetLinkInfo().GetFrameErrorRate(); in SetFrom()
99 mMessageErrorRate = aNeighbor.GetLinkInfo().GetMessageErrorRate(); in SetFrom()
100 mRxOnWhenIdle = aNeighbor.IsRxOnWhenIdle(); in SetFrom()
101 mFullThreadDevice = aNeighbor.IsFullThreadDevice(); in SetFrom()
102 mFullNetworkData = (aNeighbor.GetNetworkDataType() == NetworkData::kFullSet); in SetFrom()
103 mVersion = aNeighbor.GetVersion(); in SetFrom()
105 mConnectionTime = aNeighbor.GetConnectionTime(); in SetFrom()