Share via


WFP Callout Driver Network Layer Discard Reasons (Compact 7)

3/12/2014

The identifiers for the possible reasons that data is discarded by one of the network layers are constant values in the IP_DISCARD_REASON enumeration that is defined in Fwpstypes.h. These identifiers are defined in the following table:

Discard Reason Identifier Discard Reason Description

IpDiscardBadSourceAddress

The outgoing packet’s source address is a multicast address, a broadcast address, or an IPv6 address that contains an embedded IPv4 loopback or unspecified address.

IpDiscardNotLocallyDestined

The received packet’s destination address does not exist on the system and no appropriate forwarding interface exists.

IpDiscardProtocolUnreachable

There is either no transport protocol handler for the received packet or the transport protocol handler refused to process the packet.

IpDiscardPortUnreachable

No application is receiving packets on the received packet's destination port.

IpDiscardBadLength

A length field specified within the received packet is inconsistent with the packet’s length.

IpDiscardMalformedHeader

The received packet contains a recognized extension header or option whose contents are invalid.

IpDiscardNoRoute

The received packet cannot be forwarded to its destination address because the system's routing table does not contain a route to that destination.

IpDiscardBeyondScope

The received packet cannot be forwarded because the packet's incoming and outgoing network interfaces have different zone indexes for the packet's zone level.

IpDiscardInspectionDrop

Reserved for use by the network stack

IpDiscardHopLimitExceeded

The received packet’s hop limit or time-to-live limit has been exceeded.

IpDiscardAddressUnreachable

The outgoing packet cannot be sent to the packet's destination address either because the destination does not exist, or because packets are not allowed to be sent to that destination.

IpDiscardArbitrationUnhandled

Reserved for use by the network stack

Remarks

IpDiscardReceivePathMax, IpDiscardForwardPathMax, and IpDiscardMax are maximum values that are used for testing.

The PIP_DISCARD_REASON type is defined as a pointer to the IP_DISCARD_REASON enumeration.

See Also

Reference

WFP Callout Driver Discard Reason Identifiers
WFP Callout Driver General Discard Reasons
WFP Callout Driver Transport Layer Discard Reasons
WFP Callout Driver Constants