FWPS_PACKET_INJECTION_STATE enumeration (fwpsk.h)

The FWPS_PACKET_INJECTION_STATE enumeration type specifies the injection state of a network buffer list.

Syntax

typedef enum FWPS_PACKET_INJECTION_STATE_ {
  FWPS_PACKET_NOT_INJECTED,
  FWPS_PACKET_INJECTED_BY_SELF,
  FWPS_PACKET_INJECTED_BY_OTHER,
  FWPS_PACKET_PREVIOUSLY_INJECTED_BY_SELF,
  FWPS_PACKET_INJECTION_STATE_MAX
} FWPS_PACKET_INJECTION_STATE;

Constants

 
FWPS_PACKET_NOT_INJECTED
The packet was not injected by any of the
packet injection functions. A
packet that originated from the TCP/IP stack will be at this state.
FWPS_PACKET_INJECTED_BY_SELF
The packet was injected using an injection handle passed by a call to one of the
packet injection functions.
FWPS_PACKET_INJECTED_BY_OTHER
The packet was injected using an injection handle other than one passed by a call
to one of the
packet injection functions.
FWPS_PACKET_PREVIOUSLY_INJECTED_BY_SELF
The packet was injected by using an injection handle passed by a call to one of the

packet injection functions, but
the packet was later cloned and reinjected by an additional call to a packet injection function,
possibly using a different injection handle.
FWPS_PACKET_INJECTION_STATE_MAX
The maximum value for this enumeration. This value might change in future versions of the NDIS
header files and binaries.

Requirements

Requirement Value
Minimum supported client Supported starting with Windows Vista.
Header fwpsk.h (include Fwpsk.h)