Home
last modified time | relevance | path

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

/openthread-latest/src/core/net/
Dip6_address.hpp870 bool MatchesPrefix(const Prefix &aPrefix) const;
882 bool MatchesPrefix(const uint8_t *aPrefix, uint8_t aPrefixLength) const;
Ddhcp6_server.hpp96 …bool IsPrefixMatch(const Ip6::Address &aAddress) const { return aAddress.MatchesPrefix(GetPrefix()… in IsPrefixMatch()
Dnetif.hpp182 return (mPrefixLength == aPrefix.GetLength()) && GetAddress().MatchesPrefix(aPrefix); in HasPrefix()
Dip6_address.cpp405 bool Address::MatchesPrefix(const Prefix &aPrefix) const in MatchesPrefix() function in ot::Ip6::Address
410 bool Address::MatchesPrefix(const uint8_t *aPrefix, uint8_t aPrefixLength) const in MatchesPrefix() function in ot::Ip6::Address
Dnat64_translator.cpp135 if (!ip6Header.GetDestination().MatchesPrefix(mNat64Prefix)) in TranslateFromIp6()
Dip6.cpp1437 … if (!aHeader.GetSource().MatchesPrefix(aHeader.GetDestination().GetPrefix().m8, kPrefixLength)) in UpdateBorderRoutingCounters()
1456 … if (!aHeader.GetSource().MatchesPrefix(aHeader.GetDestination().GetPrefix().m8, kPrefixLength)) in UpdateBorderRoutingCounters()
/openthread-latest/src/core/backbone_router/
Dbbr_leader.cpp271 return HasDomainPrefix() && aAddress.MatchesPrefix(mDomainPrefix); in IsDomainUnicast()
/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/thread/
Dnetwork_data_leader.cpp143 …if (config.mNat64 && config.GetPrefix().IsValidNat64() && aAddress.MatchesPrefix(config.GetPrefix(… in IsNat64()
166 if (aAddress.MatchesPrefix(prefixTlv->GetPrefix(), prefixTlv->GetPrefixLength())) in FindNextMatchingPrefixTlv()
/openthread-latest/src/core/utils/
Dslaac_address.cpp171 (aAddr.GetAddress().MatchesPrefix(aConfig.GetPrefix()))); in DoesConfigMatchNetifAddr()
/openthread-latest/src/core/border_router/
Drouting_manager.cpp839 aIp6Header.GetSource().MatchesPrefix(prefixConfig.GetPrefix())) in CheckReachabilityToSendIcmpError()
1871 isOnLink = aAddress.MatchesPrefix(onLinkPrefix.GetPrefix()); in IsAddressOnLink()
1896 isReachable = aAddress.MatchesPrefix(routePrefix.GetPrefix()); in IsAddressReachableThroughExplicitRoute()