Searched refs:NetworkPrefix (Results 1 – 7 of 7) sorted by relevance
67 class NetworkPrefix : public otIp6NetworkPrefix, public Equatable<NetworkPrefix>, public Clearable<… class143 … 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 …]
54 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()
555 mPrefixLength = NetworkPrefix::kLength; in InitAsThreadOrigin()
68 VerifyOrExit(GetPrefix().GetLength() == Ip6::NetworkPrefix::kLength); in IsValid()
431 class MeshLocalPrefix : public Ip6::NetworkPrefix
148 Ip6::NetworkPrefix randomOmrPrefix; in LoadOrGenerateRandomOmrPrefix()174 Ip6::NetworkPrefix randomOnLinkPrefix; in LoadOrGenerateRandomOnLinkPrefix()
79 SuccessOrExit(error = static_cast<Ip6::NetworkPrefix &>(mMeshLocalPrefix).GenerateRandomUla()); in GenerateRandom()