Searched refs:NetworkPrefix (Results 1 – 13 of 13) sorted by relevance
/openthread-latest/src/core/net/ |
D | ip6_address.hpp | 69 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 …]
|
D | ip6_address.cpp | 44 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()
|
D | dhcp6_server.hpp | 152 …void Set(const Ip6::Prefix &aPrefix, const Ip6::NetworkPrefix &aMeshLocalPrefix, uint8_t aContextI… in Set()
|
D | netif.cpp | 544 mPrefixLength = NetworkPrefix::kLength; in InitAsThreadOrigin()
|
/openthread-latest/src/core/meshcop/ |
D | dataset.hpp | 705 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()
|
D | dataset_manager_ftd.cpp | 58 Ip6::NetworkPrefix meshLocalPrefix; in ProcessSetOrReplaceRequest()
|
D | meshcop_tlvs.hpp | 312 typedef SimpleTlvInfo<Tlv::kMeshLocalPrefix, Ip6::NetworkPrefix> MeshLocalPrefixTlv;
|
/openthread-latest/src/core/utils/ |
D | slaac_address.cpp | 108 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/ |
D | network_data_types.cpp | 67 VerifyOrExit(GetPrefix().GetLength() == Ip6::NetworkPrefix::kLength); in IsValid()
|
D | mle.hpp | 336 const Ip6::NetworkPrefix &GetMeshLocalPrefix(void) const { return mMeshLocalPrefix; } in GetMeshLocalPrefix() 343 void SetMeshLocalPrefix(const Ip6::NetworkPrefix &aMeshLocalPrefix); 1515 Ip6::NetworkPrefix mMeshLocalPrefix;
|
D | mle.cpp | 907 void Mle::SetMeshLocalPrefix(const Ip6::NetworkPrefix &aMeshLocalPrefix) in SetMeshLocalPrefix()
|
/openthread-latest/tests/unit/ |
D | test_lowpan.cpp | 107 …sInstance->Get<Mle::MleRouter>().SetMeshLocalPrefix(static_cast<Ip6::NetworkPrefix &>(meshLocalPre… in Init()
|
/openthread-latest/src/core/border_router/ |
D | routing_manager.cpp | 256 Ip6::NetworkPrefix randomUlaPrefix; in LoadOrGenerateRandomBrUlaPrefix()
|