Home
last modified time | relevance | path

Searched refs:MatchesPrefix (Results 1 – 11 of 11) sorted by relevance

/openthread-latest/src/core/net/
Dip6_address.hpp787 bool MatchesPrefix(const Prefix &aPrefix) const;
798 bool MatchesPrefix(const uint8_t *aPrefix, uint8_t aPrefixLength) const;
Ddhcp6_server.hpp92 …bool IsPrefixMatch(const Ip6::Address &aAddress) const { return aAddress.MatchesPrefix(GetPrefix()… in IsPrefixMatch()
Dnetif.hpp169 return (mPrefixLength == aPrefix.GetLength()) && GetAddress().MatchesPrefix(aPrefix); in HasPrefix()
Dip6_address.cpp394 bool Address::MatchesPrefix(const Prefix &aPrefix) const in MatchesPrefix() function in ot::Ip6::Address
399 bool Address::MatchesPrefix(const uint8_t *aPrefix, uint8_t aPrefixLength) const in MatchesPrefix() function in ot::Ip6::Address
Dnat64_translator.cpp131 if (!ip6Header.GetDestination().MatchesPrefix(mNat64Prefix)) in TranslateFromIp6()
Dip6.cpp1419 … if (!aHeader.GetSource().MatchesPrefix(aHeader.GetDestination().GetPrefix().m8, kPrefixLength)) in UpdateBorderRoutingCounters()
1438 … if (!aHeader.GetSource().MatchesPrefix(aHeader.GetDestination().GetPrefix().m8, kPrefixLength)) in UpdateBorderRoutingCounters()
/openthread-latest/src/core/backbone_router/
Dbbr_leader.cpp278 return HasDomainPrefix() && aAddress.MatchesPrefix(mDomainPrefix); in IsDomainUnicast()
/openthread-latest/src/core/thread/
Dnetwork_data_leader.cpp128 …if (config.mNat64 && config.GetPrefix().IsValidNat64() && aAddress.MatchesPrefix(config.GetPrefix(… in IsNat64()
151 if (aAddress.MatchesPrefix(prefixTlv->GetPrefix(), prefixTlv->GetPrefixLength())) in FindNextMatchingPrefixTlv()
/openthread-latest/tests/unit/
Dtest_ip_address.cpp477 VerifyOrQuit(address1.MatchesPrefix(prefix)); in TestIp6Prefix()
478 VerifyOrQuit(!address2.MatchesPrefix(prefix)); in TestIp6Prefix()
/openthread-latest/src/core/utils/
Dslaac_address.cpp163 (aAddr.GetAddress().MatchesPrefix(aConfig.GetPrefix()))); in DoesConfigMatchNetifAddr()
/openthread-latest/src/core/border_router/
Drouting_manager.cpp828 aIp6Header.GetSource().MatchesPrefix(prefixConfig.GetPrefix())) in CheckReachabilityToSendIcmpError()
1860 isOnLink = aAddress.MatchesPrefix(onLinkPrefix.GetPrefix()); in IsAddressOnLink()
1885 isReachable = aAddress.MatchesPrefix(routePrefix.GetPrefix()); in IsAddressReachableThroughExplicitRoute()
2637 matches = aAddress.MatchesPrefix(mLocalPrefix); in AddressMatchesLocalPrefix()