Home
last modified time | relevance | path

Searched refs:NetworkPrefix (Results 1 – 13 of 13) sorted by relevance

/openthread-latest/src/core/net/
Dip6_address.hpp69 class NetworkPrefix : public otIp6NetworkPrefix, public Equatable<NetworkPrefix>, public Clearable< class
144 … void Set(const NetworkPrefix &aNetworkPrefix) { Set(aNetworkPrefix.m8, NetworkPrefix::kLength); } in Set()
226 bool ContainsPrefix(const NetworkPrefix &aSubPrefix) const;
725 void SetToRoutingLocator(const NetworkPrefix &aNetworkPrefix, uint16_t aRloc16) in SetToRoutingLocator()
737 void SetToAnycastLocator(const NetworkPrefix &aNetworkPrefix, uint16_t aAloc16) in SetToAnycastLocator()
766 const NetworkPrefix &GetPrefix(void) const in GetPrefix()
768 return static_cast<const NetworkPrefix &>(mFields.mComponents.mNetworkPrefix); in GetPrefix()
816 void SetPrefix(const NetworkPrefix &aNetworkPrefix);
841 void SetMulticastNetworkPrefix(const NetworkPrefix &aNetworkPrefix) in SetMulticastNetworkPrefix()
843 SetMulticastNetworkPrefix(aNetworkPrefix.m8, NetworkPrefix::kLength); in SetMulticastNetworkPrefix()
[all …]
Dip6_address.cpp44 Error NetworkPrefix::GenerateRandomUla(void) in GenerateRandomUla()
81 bool Prefix::ContainsPrefix(const NetworkPrefix &aSubPrefix) const in ContainsPrefix()
83 return (mLength >= NetworkPrefix::kLength) && in ContainsPrefix()
84 (MatchLength(GetBytes(), aSubPrefix.m8, NetworkPrefix::kSize) >= NetworkPrefix::kLength); in ContainsPrefix()
305 if (aPrefix.GetLength() > NetworkPrefix::kLength) in ApplyPrefix()
307 Address::CopyBits(mFields.m8, aPrefix.GetBytes() + NetworkPrefix::kSize, in ApplyPrefix()
308 aPrefix.GetLength() - NetworkPrefix::kLength); in ApplyPrefix()
404 void Address::SetPrefix(const NetworkPrefix &aNetworkPrefix) { mFields.mComponents.mNetworkPrefix =… in SetPrefix()
438 void Address::SetToLocator(const NetworkPrefix &aNetworkPrefix, uint16_t aLocator) in SetToLocator()
Ddhcp6_server.hpp152 …void Set(const Ip6::Prefix &aPrefix, const Ip6::NetworkPrefix &aMeshLocalPrefix, uint8_t aContextI… in Set()
Dnetif.cpp544 mPrefixLength = NetworkPrefix::kLength; in InitAsThreadOrigin()
/openthread-latest/src/core/meshcop/
Ddataset.hpp705 template <> struct Dataset::TypeFor<Dataset::kMeshLocalPrefix> { using Type = Ip6::NetworkPrefix; …
734 template <> inline const Ip6::NetworkPrefix &Dataset::Info::Get<Dataset::kMeshLocalPrefix>(void) co… in Get()
736 return static_cast<const Ip6::NetworkPrefix &>(mMeshLocalPrefix); in Get()
Ddataset_manager_ftd.cpp58 Ip6::NetworkPrefix meshLocalPrefix; in ProcessSetOrReplaceRequest()
Dmeshcop_tlvs.hpp312 typedef SimpleTlvInfo<Tlv::kMeshLocalPrefix, Ip6::NetworkPrefix> MeshLocalPrefixTlv;
/openthread-latest/src/core/utils/
Dslaac_address.cpp108 if (aAddress.PrefixMatch(slaacAddr.GetAddress()) >= Ip6::NetworkPrefix::kLength) in FindDomainIdFor()
121 …return aConfig.mSlaac && !aConfig.mDp && (aConfig.GetPrefix().GetLength() == Ip6::NetworkPrefix::k… in IsSlaac()
/openthread-latest/src/core/thread/
Dnetwork_data_types.cpp67 VerifyOrExit(GetPrefix().GetLength() == Ip6::NetworkPrefix::kLength); in IsValid()
Dmle.hpp336 const Ip6::NetworkPrefix &GetMeshLocalPrefix(void) const { return mMeshLocalPrefix; } in GetMeshLocalPrefix()
343 void SetMeshLocalPrefix(const Ip6::NetworkPrefix &aMeshLocalPrefix);
1515 Ip6::NetworkPrefix mMeshLocalPrefix;
Dmle.cpp907 void Mle::SetMeshLocalPrefix(const Ip6::NetworkPrefix &aMeshLocalPrefix) in SetMeshLocalPrefix()
/openthread-latest/tests/unit/
Dtest_lowpan.cpp107 …sInstance->Get<Mle::MleRouter>().SetMeshLocalPrefix(static_cast<Ip6::NetworkPrefix &>(meshLocalPre… in Init()
/openthread-latest/src/core/border_router/
Drouting_manager.cpp256 Ip6::NetworkPrefix randomUlaPrefix; in LoadOrGenerateRandomBrUlaPrefix()