Home
last modified time | relevance | path

Searched refs:PrefixInfoOption (Results 1 – 5 of 5) sorted by relevance

/openthread-latest/src/core/net/
Dnd6.cpp84 void PrefixInfoOption::Init(void) in Init()
88 SetSize(sizeof(PrefixInfoOption)); in Init()
93 void PrefixInfoOption::SetPrefix(const Prefix &aPrefix) in SetPrefix()
99 void PrefixInfoOption::GetPrefix(Prefix &aPrefix) const { aPrefix.Set(mPrefix.GetBytes(), mPrefixLe… in GetPrefix()
101 bool PrefixInfoOption::IsValid(void) const in IsValid()
282 PrefixInfoOption *pio; in AppendPrefixInfoOption()
284 pio = static_cast<PrefixInfoOption *>(AppendOption(sizeof(PrefixInfoOption))); in AppendPrefixInfoOption()
Dnd6.hpp173 class PrefixInfoOption : public Option, private Clearable<PrefixInfoOption> class
175 friend class Clearable<PrefixInfoOption>;
282 PrefixInfoOption(void) = delete;
322 static_assert(sizeof(PrefixInfoOption) == 32, "invalid PrefixInfoOption structure");
/openthread-latest/src/core/border_router/
Drouting_manager.hpp646 using PrefixInfoOption = Ip6::Nd::PrefixInfoOption; typedef in ot::BorderRouter::RoutingManager
727 void SetFrom(const PrefixInfoOption &aPio);
1040 void ProcessPrefixInfoOption(const PrefixInfoOption &aPio, Router &aRouter);
1549 static bool IsValidOnLinkPrefix(const PrefixInfoOption &aPio);
Drouting_manager.cpp675 bool RoutingManager::IsValidOnLinkPrefix(const PrefixInfoOption &aPio) in IsValidOnLinkPrefix()
929 void RoutingManager::OnLinkPrefix::SetFrom(const PrefixInfoOption &aPio) in SetFrom()
1203 ProcessPrefixInfoOption(static_cast<const PrefixInfoOption &>(option), *router); in ProcessRouterAdvertMessage()
1296 void RoutingManager::RxRaTracker::ProcessPrefixInfoOption(const PrefixInfoOption &aPio, Router &aRo… in ProcessPrefixInfoOption()
4089 …if (option.GetType() != Option::kTypePrefixInfo || !static_cast<const PrefixInfoOption &>(option).… in Process()
4095 entry.SetFrom(static_cast<const PrefixInfoOption &>(option)); in Process()
/openthread-latest/tests/unit/
Dtest_routing_manager.cpp478 … const Ip6::Nd::PrefixInfoOption &pio = static_cast<const Ip6::Nd::PrefixInfoOption &>(option); in ValidateRouterAdvert()
592 … const Ip6::Nd::PrefixInfoOption &pio = static_cast<const Ip6::Nd::PrefixInfoOption &>(option); in LogRouterAdvert()