IP_DISCARD_REASON, *PIP_DISCARD_REASON enumeration [Filtering]

Enumerates the possible reasons that data is discarded by one of the network layers.

typedef enum 
{
  IpDiscardBadSourceAddress,
  IpDiscardNotLocallyDestined,
  IpDiscardProtocolUnreachable,
  IpDiscardPortUnreachable,
  IpDiscardBadLength,
  IpDiscardMalformedHeader,
  IpDiscardHopLimitExceeded,
  IpDiscardAddressUnreachable,
  IpDiscardNoRoute,
  IpDiscardBeyondScope
}IP_DISCARD_REASON, *PIP_DISCARD_REASON;

Constants

  • 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
    There is no application that 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.
  • 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 packets are not allowed to be sent to that destination.
  • 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.

Requirements

Client Requires Windows Vista.
Server Requires Windows Server "Longhorn".
Header

Declared in Fwpsu.h.