Home
last modified time | relevance | path

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

/openthread-3.6.0/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()
237 PrefixInfoOption *pio; in AppendPrefixInfoOption()
239 pio = static_cast<PrefixInfoOption *>(AppendOption(sizeof(PrefixInfoOption))); in AppendPrefixInfoOption()
Dnd6.hpp174 class PrefixInfoOption : public Option, private Clearable<PrefixInfoOption> class
176 friend class Clearable<PrefixInfoOption>;
289 PrefixInfoOption(void) = delete;
325 static_assert(sizeof(PrefixInfoOption) == 32, "invalid PrefixInfoOption structure");
/openthread-3.6.0/src/core/border_router/
Drouting_manager.hpp728 void SetFrom(const Ip6::Nd::PrefixInfoOption &aPio);
828 … void ProcessPrefixInfoOption(const Ip6::Nd::PrefixInfoOption &aPio, Router &aRouter);
1285 …bool ShouldProcessPrefixInfoOption(const Ip6::Nd::PrefixInfoOption &aPio, const Ip6::Prefix &aPref…
1295 static bool IsValidOnLinkPrefix(const Ip6::Nd::PrefixInfoOption &aPio);
Drouting_manager.cpp584 …sizeof(Ip6::Nd::PrefixInfoOption) + sizeof(Ip6::Nd::PrefixInfoOption) * OnLinkPrefixManager::kMaxO… in SendRouterAdvertisement()
662 … const Ip6::Nd::PrefixInfoOption &pio = static_cast<const Ip6::Nd::PrefixInfoOption &>(option); in IsReceivedRouterAdvertFromManager()
729 bool RoutingManager::IsValidOnLinkPrefix(const Ip6::Nd::PrefixInfoOption &aPio) in IsValidOnLinkPrefix()
821 bool RoutingManager::ShouldProcessPrefixInfoOption(const Ip6::Nd::PrefixInfoOption &aPio, const Ip6… in ShouldProcessPrefixInfoOption()
1096 … ProcessPrefixInfoOption(static_cast<const Ip6::Nd::PrefixInfoOption &>(option), *router); in ProcessRouterAdvertMessage()
1163 void RoutingManager::DiscoveredPrefixTable::ProcessPrefixInfoOption(const Ip6::Nd::PrefixInfoOption in ProcessPrefixInfoOption()
1787 void RoutingManager::DiscoveredPrefixTable::Entry::SetFrom(const Ip6::Nd::PrefixInfoOption &aPio) in SetFrom()
3685 !static_cast<const Ip6::Nd::PrefixInfoOption &>(option).IsValid()) in Process()
3690 entry.SetFrom(static_cast<const Ip6::Nd::PrefixInfoOption &>(option)); in Process()
/openthread-3.6.0/tests/unit/
Dtest_routing_manager.cpp457 … const Ip6::Nd::PrefixInfoOption &pio = static_cast<const Ip6::Nd::PrefixInfoOption &>(option); in ValidateRouterAdvert()
586 … const Ip6::Nd::PrefixInfoOption &pio = static_cast<const Ip6::Nd::PrefixInfoOption &>(option); in LogRouterAdvert()