Home
last modified time | relevance | path

Searched refs:IsLinkLocal (Results 1 – 20 of 20) sorted by relevance

/openthread-3.6.0/tests/unit/
Dtest_ip_address.cpp561 VerifyOrQuit(PrefixFrom("fe80::", 10).IsLinkLocal()); in TestIp6Prefix()
562 VerifyOrQuit(PrefixFrom("fe80::", 11).IsLinkLocal()); in TestIp6Prefix()
563 VerifyOrQuit(PrefixFrom("fea0::", 16).IsLinkLocal()); in TestIp6Prefix()
564 VerifyOrQuit(!PrefixFrom("fe80::", 9).IsLinkLocal()); in TestIp6Prefix()
565 VerifyOrQuit(!PrefixFrom("ff80::", 10).IsLinkLocal()); in TestIp6Prefix()
566 VerifyOrQuit(!PrefixFrom("fe00::", 10).IsLinkLocal()); in TestIp6Prefix()
567 VerifyOrQuit(!PrefixFrom("fec0::", 10).IsLinkLocal()); in TestIp6Prefix()
/openthread-3.6.0/src/core/backbone_router/
Dbackbone_tmf.cpp123 return (Get<BackboneRouter::Local>().IsEnabled() && src.IsLinkLocal() && in IsBackboneTmfMessage()
124 … (dst.IsLinkLocal() || dst == Get<BackboneRouter::Local>().GetAllNetworkBackboneRoutersAddress() || in IsBackboneTmfMessage()
/openthread-3.6.0/src/core/net/
Dip6_filter.cpp68 VerifyOrExit(headers.GetDestinationAddress().IsLinkLocal() || in Accept()
Dip6_address.hpp195 bool IsLinkLocal(void) const;
655 bool IsLinkLocal(void) const;
Dip6_address.cpp71 bool Prefix::IsLinkLocal(void) const in IsLinkLocal() function in ot::Ip6::Prefix
346 bool Address::IsLinkLocal(void) const in IsLinkLocal() function in ot::Ip6::Address
449 else if (IsLinkLocal()) in GetScope()
Dip6.cpp1144 else if (!aMessagePtr->IsOriginThreadNetif() || !header.GetDestination().IsLinkLocal()) in HandleDatagram()
1146 if (header.GetDestination().IsLinkLocal()) in HandleDatagram()
1463 VerifyOrExit(!aHeader.GetSource().IsLinkLocal()); in UpdateBorderRoutingCounters()
1464 VerifyOrExit(!aHeader.GetDestination().IsLinkLocal()); in UpdateBorderRoutingCounters()
Dnetif.cpp455 VerifyOrExit(!aAddress.GetAddress().IsLinkLocal(), error = kErrorInvalidArgs); in AddExternalUnicastAddress()
Dsrp_client.cpp569 VerifyOrExit(!aUnicastAddress.GetAddress().IsLinkLocal()); in ShouldHostAutoAddressRegister()
/openthread-3.6.0/src/core/thread/
Dtmf.cpp211 if (aSourceAddress.IsLinkLocal()) in IsTmfMessage()
213 isTmf = aDestAddress.IsLinkLocal() || aDestAddress.IsLinkLocalMulticast(); in IsTmfMessage()
Dneighbor_table.cpp142 if (aIp6Address.IsLinkLocal()) in FindNeighbor()
Dindirect_sender.cpp373 if (ip6Header.GetDestination().IsLinkLocal()) in PrepareDataFrame()
Dlowpan.cpp348 else if (ip6Header.GetSource().IsLinkLocal()) in Compress()
369 else if (ip6Header.GetDestination().IsLinkLocal()) in Compress()
Dmesh_forwarder.cpp673 … if (ip6Header.GetDestination().IsLinkLocal() || ip6Header.GetDestination().IsLinkLocalMulticast()) in UpdateIp6Route()
700 else if (ip6Header.GetDestination().IsLinkLocal()) in UpdateIp6Route()
Dlink_metrics.cpp398 VerifyOrExit(aDestination.IsLinkLocal()); in FindNeighbor()
Dnetwork_diagnostic.cpp108 if (aDestination.IsLinkLocal() || aDestination.IsLinkLocalMulticast()) in PrepareMessageInfoForDest()
Dmle.cpp1054 if (!addr.GetAddress().IsLinkLocal() && !IsRoutingLocator(addr.GetAddress()) && in HasUnregisteredAddress()
4654 if (addr.GetAddress().IsLinkLocal() || Get<Mle>().IsRoutingLocator(addr.GetAddress()) || in AppendAddressRegistrationTlv()
/openthread-3.6.0/src/posix/platform/
Dudp.cpp72 bool IsLinkLocal(const struct in6_addr &aAddress) { return aAddress.s6_addr[0] == 0xfe && aAddress.… in IsLinkLocal() function
98 if (IsLinkLocal(peerAddr.sin6_addr) && !aMessageInfo.mIsHostInterface) in transmitPacket()
Dmulticast_routing.cpp312 VerifyOrExit(!aSrcAddr.IsLinkLocal(), error = OT_ERROR_NONE); in AddMulticastForwardingCache()
/openthread-3.6.0/src/core/border_router/
Drouting_manager.hpp1244 …rn aPrefix.GetLength() != 0 && aPrefix.GetLength() <= kOmrPrefixLength && !aPrefix.IsLinkLocal() && in IsValidPdPrefix()
Drouting_manager.cpp726 …return (aPrefix.GetLength() == kOmrPrefixLength) && !aPrefix.IsLinkLocal() && !aPrefix.IsMulticast… in IsValidOmrPrefix()
740 return (aOnLinkPrefix.GetLength() == kOnLinkPrefixLength) && !aOnLinkPrefix.IsLinkLocal() && in IsValidOnLinkPrefix()