Share via


FWPS_PACKET_INJECTION_STATE (Compact 7)

3/12/2014

This enumeration type specifies the injection state of a net 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;

Values

  • FWPS_PACKET_NOT_INJECTED
    Indicates that the packet was not injected by any of the packet injection functions. A packet that originated from the TCP/IP stack is in this state.
  • FWPS_PACKET_INJECTED_BY_SELF
    Indicates that the packet was injected by using an injection handle passed by a call to a packet injection function.
  • FWPS_PACKET_INJECTED_BY_OTHER
    Indicates that the packet was injected by by using an injection handle other than one passed by a call to a packet injection function.
  • FWPS_PACKET_PREVIOUSLY_INJECTED_BY_SELF
    Indicates that the packet was injected by by using an injection handle passed by a call to a packet injection function, 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
    A maximum value for testing

Remarks

None

Requirements

Header

fwpsk.h

See Also

Reference

WFP Callout Driver Enumerations
WFP Callout Driver Structures
WFP Callout Driver Reference