// fwpsk.h
typedef enum {
InetDiscardSourceUnspecified = 0,
InetDiscardDestinationMulticast = 1,
InetDiscardHeaderInvalid = 2,
InetDiscardChecksumInvalid = 3,
InetDiscardEndpointNotFound = 4,
InetDiscardConnectedPath = 5,
InetDiscardSessionState = 6,
InetDiscardReceiveInspection = 7,
InetDiscardAckInvalid = 8,
InetDiscardExpectedSyn = 9,
InetDiscardRst = 10,
InetDiscardSynRcvdSyn = 11,
InetDiscardSimultaneousConnect = 12,
InetDiscardPawsFailed = 13,
InetDiscardLandAttack = 14,
InetDiscardMissedReset = 15,
InetDiscardOutsideWindow = 16,
InetDiscardDuplicateSegment = 17,
InetDiscardClosedWindow = 18,
InetDiscardTcbRemoved = 19,
InetDiscardFinWait2 = 20,
InetDiscardReassemblyConflict = 21,
InetDiscardFinReceived = 22,
InetDiscardListenerInvalidFlags = 23,
InetDiscardUrgentDeliveryAllocationFailure = 24,
InetDiscardTcbNotInTcbTable = 25,
InetDiscardTimeWaitTcbReceivedRstOutsideWindow = 26,
InetDiscardTimeWaitTcbSynAndOtherFlags = 27,
InetDiscardTimeWaitTcb = 28,
InetDiscardSynAckWithFastopenCookieRequest = 29,
InetDiscardPauseAccept = 30,
InetDiscardSynAttack = 31,
InetDiscardAcceptInspection = 32,
InetDiscardAcceptRedirection = 33,
InetDiscardReasonMaxEnumValue
} INET_DISCARD_REASON, *PINET_DISCARD_REASON;
View the official Windows Driver Kit DDI referenceNo description available.
The INET_DISCARD_REASON enum defines the possible reasons that data is discarded by one of the transport layers.
InetDiscardSourceUnspecified:0The outgoing packet's source address is unspecified.
InetDiscardDestinationMulticast:1The outgoing packet's destination address is an unspecified address, and the transport does not support multicast addresses.
InetDiscardHeaderInvalid:2The packet has an invalid header.
InetDiscardChecksumInvalid:3The packet's checksum did not match.
InetDiscardEndpointNotFound:4The intended endpoint for the packet could not be found.
InetDiscardConnectedPath:5The packet remote address does not match the remote address of a connected endpoint.
InetDiscardSessionState:6The packet cannot be delivered based on network layer information.
InetDiscardReceiveInspection:7The connection was closed due to a receive inspection failure.
InetDiscardAckInvalid:8The packet is an invalid ACK segment.
InetDiscardExpectedSyn:9A SYN packet was expected but not received.
InetDiscardRst:10The packet is an invalid RST segment.
InetDiscardSynRcvdSyn:11A TCP connection in SYN_RCVD state received another SYN segment.
InetDiscardSimultaneousConnect:12A TCP connection has encountered the simultaneous-connect condition.
InetDiscardPawsFailed:13A TCP PAWS check failed.
InetDiscardLandAttack:14The packet was detected as part of a LAND (Local Area Network Denial) attack,
InetDiscardMissedReset:15An SYN segment outside the receive window was received on a SYN_RCVD connection. An RST may have been missed.
InetDiscardOutsideWindow:16A TCP segment was outside the receive window.
InetDiscardDuplicateSegment:17A duplicate TCP segment was received.
InetDiscardClosedWindow:18The TCP receive window was closed.
InetDiscardTcbRemoved:19The TCP connection was closed.
InetDiscardFinWait2:20The TCP connection is closing.
InetDiscardReassemblyConflict:21A TCP data reassembly conflict was encountered on reception of a FIN segment.
InetDiscardFinReceived:22A FIN was already received on a TCP connection; no more data can be received.
InetDiscardListenerInvalidFlags:23A segment with invalid flags was received by a listening TCP socket.
InetDiscardUrgentDeliveryAllocationFailure:24There is insufficient memory for URG delivery on a TCP connection.
InetDiscardTcbNotInTcbTable:25A TCP connection was closed due to urgent delivery.
InetDiscardTimeWaitTcbReceivedRstOutsideWindow:26A TIME_WAIT state TCP connection received a RST segment outside the window.
InetDiscardTimeWaitTcbSynAndOtherFlags:27A TIME_WAIT state TCP connection received a segment with SYN and one or more incompatible flags.
InetDiscardTimeWaitTcb:28A TIME_WAIT state TCP connection received an invalid segment.
InetDiscardSynAckWithFastopenCookieRequest:29The packet, a SYN-ACK containing a request for a Fast Open cookie, was discarded.
InetDiscardPauseAccept:30This indicates the packet was discarded due to a pause in acceptance.
InetDiscardSynAttack:31The packet was discarded as part of mitigating a SYN flood attack.
InetDiscardAcceptInspection:32The packet was discarded during the acceptance inspection process.
InetDiscardAcceptRedirection:33The packet was discarded because it was subject to acceptance redirection.
InetDiscardReasonMaxEnumValueThe maximum value for enumeration.