Lines Matching refs:kErrorDrop
535 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()
1091 …xit(!header.GetSource().IsLoopback() && !header.GetDestination().IsLoopback(), error = kErrorDrop); in HandleDatagram()
1201 VerifyOrExit(header.GetHopLimit() > 0, error = kErrorDrop); in HandleDatagram()
1211 error = kErrorDrop; in HandleDatagram()
1238 ExitNow(error = kErrorDrop); in HandleDatagram()