Lines Matching defs:const
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() argument
81 bool Prefix::ContainsPrefix(const NetworkPrefix &aSubPrefix) const in ContainsPrefix() argument
103 bool Prefix::operator==(const Prefix &aOther) const in operator ==() argument
108 bool Prefix::operator<(const Prefix &aOther) const in operator <() argument
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()
224 bool InterfaceIdentifier::IsUnspecified(void) const { return (mFields.m32[0] == 0) && (mFields.m32[… in IsUnspecified()
226 bool InterfaceIdentifier::IsReserved(void) const in IsReserved()
231 bool InterfaceIdentifier::IsSubnetRouterAnycast(void) const { return (mFields.m32[0] == 0) && (mFie… in IsSubnetRouterAnycast()
233 bool InterfaceIdentifier::IsReservedSubnetAnycast(void) const in IsReservedSubnetAnycast()
259 void InterfaceIdentifier::ConvertToExtAddress(Mac::ExtAddress &aExtAddress) const in ConvertToExtAddress()
265 void InterfaceIdentifier::ConvertToMacAddress(Mac::Address &aMacAddress) const in ConvertToMacAddress()
279 bool InterfaceIdentifier::IsLocator(void) const in IsLocator()
285 bool InterfaceIdentifier::IsRoutingLocator(void) const in IsRoutingLocator()
290 bool InterfaceIdentifier::IsAnycastLocator(void) const in IsAnycastLocator()
296 bool InterfaceIdentifier::IsAnycastServiceLocator(void) const in IsAnycastServiceLocator()
312 InterfaceIdentifier::InfoString InterfaceIdentifier::ToString(void) const in ToString()
324 bool Address::IsUnspecified(void) const in IsUnspecified()
329 bool Address::IsLoopback(void) const in IsLoopback()
335 bool Address::IsLinkLocalUnicast(void) const in IsLinkLocalUnicast()
354 bool Address::IsLinkLocalMulticast(void) const { return IsMulticast() && (GetScope() == kLinkLocalS… in IsLinkLocalMulticast()
356 bool Address::IsLinkLocalUnicastOrMulticast(void) const { return IsLinkLocalUnicast() || IsLinkLoca… in IsLinkLocalUnicastOrMulticast()
358 bool Address::IsLinkLocalAllNodesMulticast(void) const { return (*this == GetLinkLocalAllNodesMulti… in IsLinkLocalAllNodesMulticast()
362 bool Address::IsLinkLocalAllRoutersMulticast(void) const { return (*this == GetLinkLocalAllRoutersM… in IsLinkLocalAllRoutersMulticast()
366 bool Address::IsRealmLocalMulticast(void) const { return IsMulticast() && (GetScope() == kRealmLoca… in IsRealmLocalMulticast()
368 bool Address::IsMulticastLargerThanRealmLocal(void) const { return IsMulticast() && (GetScope() > k… in IsMulticastLargerThanRealmLocal()
370 bool Address::IsRealmLocalAllNodesMulticast(void) const { return (*this == GetRealmLocalAllNodesMul… in IsRealmLocalAllNodesMulticast()
374 bool Address::IsRealmLocalAllRoutersMulticast(void) const { return (*this == GetRealmLocalAllRouter… in IsRealmLocalAllRoutersMulticast()
378 bool Address::IsRealmLocalAllMplForwarders(void) const { return (*this == GetRealmLocalAllMplForwar… in IsRealmLocalAllMplForwarders()
382 bool Address::IsIp4Mapped(void) const in IsIp4Mapped()
394 bool Address::MatchesPrefix(const Prefix &aPrefix) const in MatchesPrefix() argument
399 bool Address::MatchesPrefix(const uint8_t *aPrefix, uint8_t aPrefixLength) const in MatchesPrefix()
444 uint8_t Address::GetScope(void) const in GetScope()
468 uint8_t Address::PrefixMatch(const Address &aOther) const in PrefixMatch() argument
473 bool Address::MatchesFilter(TypeFilter aFilter) const in MatchesFilter()
649 Address::InfoString Address::ToString(void) const in ToString()
658 void Address::ToString(char *aBuffer, uint16_t aSize) const in ToString()
664 void Address::ToString(StringWriter &aWriter) const in ToString()
669 void Address::AppendHexWords(StringWriter &aWriter, uint8_t aLength) const in AppendHexWords()