Home
last modified time | relevance | path

Searched refs:raMsg (Results 1 – 2 of 2) sorted by relevance

/openthread-3.4.0/tests/unit/
Dtest_routing_manager.cpp316 Ip6::Nd::RouterAdvertMessage raMsg(aPacket); in ValidateRouterAdvert() local
321 VerifyOrQuit(raMsg.IsValid()); in ValidateRouterAdvert()
325 for (const Ip6::Nd::Option &option : raMsg) in ValidateRouterAdvert()
427 Ip6::Nd::RouterAdvertMessage raMsg(aPacket); in LogRouterAdvert() local
429 VerifyOrQuit(raMsg.IsValid()); in LogRouterAdvert()
431 Log(" RA header - lifetime %u, prf:%s", raMsg.GetHeader().GetRouterLifetime(), in LogRouterAdvert()
432 PreferenceToString(raMsg.GetHeader().GetDefaultRouterPreference())); in LogRouterAdvert()
434 for (const Ip6::Nd::Option &option : raMsg) in LogRouterAdvert()
679 Ip6::Nd::RouterAdvertMessage raMsg(header, buffer); in SendRouterAdvert() local
684raMsg.AppendPrefixInfoOption(aPios->mPrefix, aPios->mValidLifetime, aPios->mPreferredLifetime)); in SendRouterAdvert()
[all …]
/openthread-3.4.0/src/core/border_router/
Drouting_manager.cpp560 Ip6::Nd::RouterAdvertMessage raMsg(mRaInfo.mHeader, buffer); in SendRouterAdvertisement() local
568 mOnLinkPrefixManager.AppendAsPiosTo(raMsg); in SendRouterAdvertisement()
605 … SuccessOrAssert(raMsg.AppendRouteInfoOption(prefix, /* aRouteLifetime */ 0, mRioPreference)); in SendRouterAdvertisement()
680 … SuccessOrAssert(raMsg.AppendRouteInfoOption(prefix, kDefaultOmrPrefixLifetime, mRioPreference)); in SendRouterAdvertisement()
686 if (raMsg.ContainsAnyOptions()) in SendRouterAdvertisement()
695 error = mInfraIf.Send(raMsg.GetAsPacket(), destAddress); in SendRouterAdvertisement()
702 DumpDebg("[BR-CERT] direction=send | type=RA |", raMsg.GetAsPacket().GetBytes(), in SendRouterAdvertisement()
703 raMsg.GetAsPacket().GetLength()); in SendRouterAdvertisement()