Searched refs:IsLinkLocal (Results 1 – 20 of 20) sorted by relevance
561 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()
123 return (Get<BackboneRouter::Local>().IsEnabled() && src.IsLinkLocal() && in IsBackboneTmfMessage()124 … (dst.IsLinkLocal() || dst == Get<BackboneRouter::Local>().GetAllNetworkBackboneRoutersAddress() || in IsBackboneTmfMessage()
68 VerifyOrExit(headers.GetDestinationAddress().IsLinkLocal() || in Accept()
195 bool IsLinkLocal(void) const;655 bool IsLinkLocal(void) const;
71 bool Prefix::IsLinkLocal(void) const in IsLinkLocal() function in ot::Ip6::Prefix346 bool Address::IsLinkLocal(void) const in IsLinkLocal() function in ot::Ip6::Address449 else if (IsLinkLocal()) in GetScope()
1144 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()
455 VerifyOrExit(!aAddress.GetAddress().IsLinkLocal(), error = kErrorInvalidArgs); in AddExternalUnicastAddress()
569 VerifyOrExit(!aUnicastAddress.GetAddress().IsLinkLocal()); in ShouldHostAutoAddressRegister()
211 if (aSourceAddress.IsLinkLocal()) in IsTmfMessage()213 isTmf = aDestAddress.IsLinkLocal() || aDestAddress.IsLinkLocalMulticast(); in IsTmfMessage()
142 if (aIp6Address.IsLinkLocal()) in FindNeighbor()
373 if (ip6Header.GetDestination().IsLinkLocal()) in PrepareDataFrame()
348 else if (ip6Header.GetSource().IsLinkLocal()) in Compress()369 else if (ip6Header.GetDestination().IsLinkLocal()) in Compress()
673 … if (ip6Header.GetDestination().IsLinkLocal() || ip6Header.GetDestination().IsLinkLocalMulticast()) in UpdateIp6Route()700 else if (ip6Header.GetDestination().IsLinkLocal()) in UpdateIp6Route()
398 VerifyOrExit(aDestination.IsLinkLocal()); in FindNeighbor()
108 if (aDestination.IsLinkLocal() || aDestination.IsLinkLocalMulticast()) in PrepareMessageInfoForDest()
1054 if (!addr.GetAddress().IsLinkLocal() && !IsRoutingLocator(addr.GetAddress()) && in HasUnregisteredAddress()4654 if (addr.GetAddress().IsLinkLocal() || Get<Mle>().IsRoutingLocator(addr.GetAddress()) || in AppendAddressRegistrationTlv()
72 bool IsLinkLocal(const struct in6_addr &aAddress) { return aAddress.s6_addr[0] == 0xfe && aAddress.… in IsLinkLocal() function98 if (IsLinkLocal(peerAddr.sin6_addr) && !aMessageInfo.mIsHostInterface) in transmitPacket()
312 VerifyOrExit(!aSrcAddr.IsLinkLocal(), error = OT_ERROR_NONE); in AddMulticastForwardingCache()
1244 …rn aPrefix.GetLength() != 0 && aPrefix.GetLength() <= kOmrPrefixLength && !aPrefix.IsLinkLocal() && in IsValidPdPrefix()
726 …return (aPrefix.GetLength() == kOmrPrefixLength) && !aPrefix.IsLinkLocal() && !aPrefix.IsMulticast… in IsValidOmrPrefix()740 return (aOnLinkPrefix.GetLength() == kOnLinkPrefixLength) && !aOnLinkPrefix.IsLinkLocal() && in IsValidOnLinkPrefix()