Home
last modified time | relevance | path

Searched refs:kErrorDrop (Results 1 – 25 of 27) sorted by relevance

12

/openthread-latest/src/core/net/
Dip6_mpl.cpp99 VerifyOrExit(aAddress.GetIid().IsLocator(), error = kErrorDrop); in ProcessOption()
211 ExitNow(error = kErrorDrop); in UpdateSeedSet()
242 VerifyOrExit(maxCount > 1, error = kErrorDrop); in UpdateSeedSet()
252 VerifyOrExit(insert > mSeedSet && aSeedId == (insert - 1)->mSeedId, error = kErrorDrop); in UpdateSeedSet()
351 VerifyOrExit(hopLimit-- > 1, error = kErrorDrop); in AddBufferedMessage()
Dip6.cpp535 VerifyOrExit(option.GetAction() == Option::kActionSkip, error = kErrorDrop); in HandleOptions()
714 if (error != kErrorDrop && error != kErrorNone && isFragmented) in HandleFragment()
727 error = kErrorDrop; in HandleFragment()
797 …rifyOrExit(fragmentHeader.GetOffset() == 0 && !fragmentHeader.IsMoreFlagSet(), error = kErrorDrop); in HandleFragment()
835 ExitNow(error = kErrorDrop); in HandleExtensionHeaders()
939 VerifyOrExit(aMessagePtr->GetLength() <= kMinimalMtu, error = kErrorDrop); in PassToHost()
952 VerifyOrExit(aReceive, error = kErrorDrop); in PassToHost()
965 VerifyOrExit(icmp.GetType() != Icmp::Header::kTypeEchoRequest, error = kErrorDrop); in PassToHost()
1003 ExitNow(error = kErrorDrop); in PassToHost()
1055 … VerifyOrExit(Get<ThreadNetif>().HasUnicastAddress(header.GetSource()), error = kErrorDrop); in SendRaw()
[all …]
Dchecksum.cpp162 error = kErrorDrop; in VerifyMessageChecksum()
Ddhcp6_client.cpp328 VerifyOrExit(mIdentityAssociationCurrent != nullptr, error = kErrorDrop); in AppendIaNa()
362 VerifyOrExit(mIdentityAssociationCurrent, error = kErrorDrop); in AppendIaAddress()
Dsrp_server.cpp713 Error error = kErrorDrop; in HandleDnssdServerUdpReceive()
1584 …fyOrExit(metadata.mDnsHeader.GetType() == Dns::UpdateHeader::Type::kTypeQuery, error = kErrorDrop); in ProcessMessage()
1585 …xit(metadata.mDnsHeader.GetQueryType() == Dns::UpdateHeader::kQueryTypeUpdate, error = kErrorDrop); in ProcessMessage()
2185 ExitNow(error = kErrorDrop); in AddIp6Address()
2189 VerifyOrExit(!mAddresses.Contains(aIp6Address), error = kErrorDrop); in AddIp6Address()
Dnat64_translator.cpp93 Error error = kErrorDrop; in SendMessage()
Ddns_client.cpp1371 error = kErrorDrop); in ParseResponse()
/openthread-latest/src/core/thread/
Dmesh_forwarder.cpp240 ExitNow(error = kErrorDrop); in UpdateEcnOrDrop()
295 ExitNow(error = kErrorDrop); in UpdateEcnOrDrop()
322 error = kErrorDrop; in UpdateEcnOrDrop()
339 if (error == kErrorDrop) in UpdateEcnOrDrop()
345 FinalizeMessageDirectTx(aMessage, kErrorDrop); in UpdateEcnOrDrop()
373 if (UpdateEcnOrDrop(*message, /* aPreparingToSend */ false) == kErrorDrop) in RemoveAgedMessages()
476 FinalizeMessageDirectTx(aMessage, kErrorDrop); in ApplyDirectTxQueueLimit()
544 if (UpdateEcnOrDrop(*curMessage, /* aPreparingToSend */ true) == kErrorDrop) in PrepareNextDirectTransmission()
572 error = kErrorDrop; in PrepareNextDirectTransmission()
629 VerifyOrExit(!ip6Header.GetSource().IsMulticast(), error = kErrorDrop); in UpdateIp6Route()
[all …]
Dmesh_forwarder_ftd.cpp322 FinalizeAndRemoveMessage(message, kErrorDrop, kMessageDrop); in RemoveDataResponseMessages()
369 ExitNow(error = kErrorDrop); in UpdateMeshRoute()
403 VerifyOrExit(Mle::IsRouterIdValid(Mle::RouterIdFromRloc16(rloc16)), error = kErrorDrop); in UpdateIp6RouteFtd()
420 VerifyOrExit(child != nullptr, error = kErrorDrop); in UpdateIp6RouteFtd()
443 VerifyOrExit(mMeshDest != Mle::kInvalidRloc16, error = kErrorDrop); in UpdateIp6RouteFtd()
Daddress_resolver.cpp68 Get<MeshForwarder>().HandleResolved(entry->GetTarget(), kErrorDrop); in Clear()
321 Get<MeshForwarder>().HandleResolved(aEntry.GetTarget(), kErrorDrop); in RemoveCacheEntry()
560 VerifyOrExit(entry->IsInRampDown(), error = kErrorDrop); in Resolve()
771 VerifyOrExit(aMessage.IsPostRequest(), error = kErrorDrop); in HandleTmf()
1021 Get<MeshForwarder>().HandleResolved(entry->GetTarget(), kErrorDrop); in HandleTimeTick()
Dmle_router.cpp743 error = kErrorDrop); in HandleLinkRequest()
840 VerifyOrExit(router != nullptr, error = kErrorDrop); in SendLinkAccept()
848 ExitNow(error = kErrorDrop); in SendLinkAccept()
964 VerifyOrExit(GetRloc16() == address16, error = kErrorDrop); in HandleLinkAcceptVariant()
1234 error = kErrorDrop); in HandleAdvertisementOnFtd()
1252 ExitNow(error = kErrorDrop); in HandleAdvertisementOnFtd()
1266 error = kErrorDrop; in HandleAdvertisementOnFtd()
1461 VerifyOrExit(!IsDetached() && !IsAttaching(), error = kErrorDrop); in HandleParentRequest()
1470 VerifyOrExit(mRouterTable.GetLeaderAge() < mNetworkIdTimeout, error = kErrorDrop); in HandleParentRequest()
1473 VerifyOrExit(mRouterTable.GetPathCostToLeader() < kMaxRouteCost, error = kErrorDrop); in HandleParentRequest()
[all …]
Ddiscover_scanner.cpp313 VerifyOrExit(mState == kStateScanning, error = kErrorDrop); in HandleDiscoveryResponse()
Dlink_metrics.cpp150 VerifyOrExit(!hasStatus && !hasReport, error = kErrorDrop); in HandleReport()
156 VerifyOrExit(!hasStatus, error = kErrorDrop); in HandleReport()
Dnetwork_diagnostic.cpp652 VerifyOrExit(aResponse != nullptr && aMessageInfo != nullptr, error = kErrorDrop); in HandleAnswerResponse()
653 VerifyOrExit(aResponse->GetCode() == Coap::kCodeChanged, error = kErrorDrop); in HandleAnswerResponse()
795 VerifyOrExit(aMessage.IsConfirmablePostRequest(), error = kErrorDrop); in HandleTmf()
Dnetwork_data_leader_ftd.cpp129 VerifyOrExit(Get<BackboneRouter::Leader>().HasPrimary(), error = kErrorDrop); in AnycastLookup()
141 error = kErrorDrop; in AnycastLookup()
Ddua_manager.cpp624 VerifyOrExit(Get<BackboneRouter::Leader>().IsDomainUnicast(target), error = kErrorDrop); in ProcessDuaResponse()
Dmle.cpp2593 ExitNow(error = kErrorDrop); in HandleUdpReceive()
2800 VerifyOrExit(aRxInfo.IsNeighborStateValid(), error = kErrorDrop); in HandleDataResponse()
2862 ExitNow(error = kErrorDrop); in HandleLeaderData()
3536 VerifyOrExit(mode == mDeviceMode, error = kErrorDrop); in HandleChildUpdateResponseOnChild()
4123 if (aAction == kMessageReceive && (aError == kErrorDrop || aError == kErrorNoRoute)) in LogError()
/openthread-latest/src/core/common/
Derror.hpp56 constexpr Error kErrorDrop = OT_ERROR_DROP; variable
/openthread-latest/src/core/border_router/
Dinfra_if.cpp96 VerifyOrExit(aIfIndex == mIfIndex, error = kErrorDrop); in HandledReceived()
/openthread-latest/src/core/backbone_router/
Dbbr_manager.cpp369 VerifyOrExit(aMessageInfo.GetPeerAddr().GetIid().IsRoutingLocator(), error = kErrorDrop); in HandleDuaRegistration()
545 VerifyOrExit(aMessageInfo.IsHostInterface(), error = kErrorDrop); in HandleTmf()
577 VerifyOrExit(aMessageInfo.IsHostInterface(), error = kErrorDrop); in HandleTmf()
/openthread-latest/src/core/coap/
Dcoap.cpp1376 error = kErrorDrop; in ProcessReceivedRequest()
1380 error = kErrorDrop; in ProcessReceivedRequest()
1384 error = kErrorDrop; in ProcessReceivedRequest()
1395 error = kErrorDrop; in ProcessReceivedRequest()
/openthread-latest/src/core/meshcop/
Djoiner_router.cpp167 VerifyOrExit(aMessage.IsNonConfirmablePostRequest(), error = kErrorDrop); in HandleTmf()
Ddataset_manager_ftd.cpp233 return (state == StateTlv::kAccept) ? kErrorNone : kErrorDrop; in HandleSetOrReplace()
Dborder_agent.cpp642 VerifyOrExit(aMessage.IsNonConfirmablePostRequest(), error = kErrorDrop); in HandleTmf()
673 …udpEncapHeader.GetSourcePort() > 0 && udpEncapHeader.GetDestinationPort() > 0, error = kErrorDrop); in HandleTmfProxyTx()
Djoiner.cpp511 … VerifyOrExit(mState == kStateEntrust && aMessage.IsConfirmablePostRequest(), error = kErrorDrop); in HandleTmf()

12