Lines Matching refs:Prefix
54 void Prefix::Set(const uint8_t *aPrefix, uint8_t aLength) in Set()
60 bool Prefix::IsLinkLocal(void) const in IsLinkLocal()
66 bool Prefix::IsMulticast(void) const { return (mLength >= 8) && (mPrefix.mFields.m8[0] == 0xff); } in IsMulticast()
68 bool Prefix::IsUniqueLocal(void) const { return (mLength >= 7) && ((mPrefix.mFields.m8[0] & 0xfe) =… in IsUniqueLocal()
70 bool Prefix::IsEqual(const uint8_t *aPrefixBytes, uint8_t aPrefixLength) const in IsEqual()
75 bool Prefix::ContainsPrefix(const Prefix &aSubPrefix) const in ContainsPrefix()
81 bool Prefix::ContainsPrefix(const NetworkPrefix &aSubPrefix) const in ContainsPrefix()
87 void Prefix::Tidy(void) in Tidy()
103 bool Prefix::operator==(const Prefix &aOther) const in operator ==()
108 bool Prefix::operator<(const Prefix &aOther) const in operator <()
129 uint8_t Prefix::MatchLength(const uint8_t *aPrefixA, const uint8_t *aPrefixB, uint8_t aMaxSize) in MatchLength()
158 bool Prefix::IsValidNat64PrefixLength(uint8_t aLength) in IsValidNat64PrefixLength()
164 Error Prefix::FromString(const char *aString) in FromString()
189 Prefix::InfoString Prefix::ToString(void) const in ToString()
198 void Prefix::ToString(char *aBuffer, uint16_t aSize) const in ToString()
205 void Prefix::ToString(StringWriter &aWriter) const in ToString()
208 Prefix tidyPrefix = *this; in ToString()
303 void InterfaceIdentifier::ApplyPrefix(const Prefix &aPrefix) in ApplyPrefix()
394 bool Address::MatchesPrefix(const Prefix &aPrefix) const in MatchesPrefix()
396 …return Prefix::MatchLength(mFields.m8, aPrefix.GetBytes(), aPrefix.GetBytesSize()) >= aPrefix.GetL… in MatchesPrefix()
401 …return Prefix::MatchLength(mFields.m8, aPrefix, Prefix::SizeForLength(aPrefixLength)) >= aPrefixLe… in MatchesPrefix()
406 void Address::SetPrefix(const Prefix &aPrefix) { CopyBits(mFields.m8, aPrefix.GetBytes(), aPrefix.G… in SetPrefix()
470 return Prefix::MatchLength(mFields.m8, aOther.mFields.m8, sizeof(Address)); in PrefixMatch()
498 void Address::SynthesizeFromIp4Address(const Prefix &aPrefix, const Ip4::Address &aIp4Address) in SynthesizeFromIp4Address()