Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/net/
Dip6_address.hpp67 class NetworkPrefix : public otIp6NetworkPrefix, public Equatable<NetworkPrefix>, public Clearable< class
143 … void Set(const NetworkPrefix &aNetworkPrefix) { Set(aNetworkPrefix.m8, NetworkPrefix::kLength); } in Set()
228 bool ContainsPrefix(const NetworkPrefix &aSubPrefix) const in ContainsPrefix()
230 return (mLength >= NetworkPrefix::kLength) && in ContainsPrefix()
231 … (MatchLength(GetBytes(), aSubPrefix.m8, NetworkPrefix::kSize) >= NetworkPrefix::kLength); in ContainsPrefix()
743 void SetToRoutingLocator(const NetworkPrefix &aNetworkPrefix, uint16_t aRloc16) in SetToRoutingLocator()
756 void SetToAnycastLocator(const NetworkPrefix &aNetworkPrefix, uint16_t aAloc16) in SetToAnycastLocator()
767 const NetworkPrefix &GetPrefix(void) const in GetPrefix()
769 return static_cast<const NetworkPrefix &>(mFields.mComponents.mNetworkPrefix); in GetPrefix()
813 void SetPrefix(const NetworkPrefix &aNetworkPrefix);
[all …]
Dip6_address.cpp54 Error NetworkPrefix::GenerateRandomUla(void) in GenerateRandomUla()
373 void Address::SetPrefix(const NetworkPrefix &aNetworkPrefix) in SetPrefix()
412 void Address::SetToLocator(const NetworkPrefix &aNetworkPrefix, uint16_t aLocator) in SetToLocator()
Dnetif.cpp555 mPrefixLength = NetworkPrefix::kLength; in InitAsThreadOrigin()
/openthread-2.7.6/src/core/thread/
Dnetwork_data_types.cpp68 VerifyOrExit(GetPrefix().GetLength() == Ip6::NetworkPrefix::kLength); in IsValid()
Dmle_types.hpp431 class MeshLocalPrefix : public Ip6::NetworkPrefix
/openthread-2.7.6/src/core/border_router/
Drouting_manager.cpp148 Ip6::NetworkPrefix randomOmrPrefix; in LoadOrGenerateRandomOmrPrefix()
174 Ip6::NetworkPrefix randomOnLinkPrefix; in LoadOrGenerateRandomOnLinkPrefix()
/openthread-2.7.6/src/core/meshcop/
Ddataset.cpp79 SuccessOrExit(error = static_cast<Ip6::NetworkPrefix &>(mMeshLocalPrefix).GenerateRandomUla()); in GenerateRandom()