INET_DISCARD_REASON enumeration (fwpsk.h)

The INET_DISCARD_REASON enum defines the possible reasons that data is discarded by one of the transport layers.

Syntax

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;

Constants

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

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header fwpsk.h