FWPS_FIELDS_STREAM_PACKET_V4 enumeration (fwpsk.h)

The FWPS_FIELDS_STREAM_PACKET_V4 enumeration type specifies the data field identifiers for the FWPS_LAYER_STREAM_PACKET_V4 run-time filtering layer.

Syntax

typedef enum FWPS_FIELDS_STREAM_PACKET_V4_ {
  FWPS_FIELD_STREAM_PACKET_V4_IP_LOCAL_ADDRESS,
  FWPS_FIELD_STREAM_PACKET_V4_IP_REMOTE_ADDRESS,
  FWPS_FIELD_STREAM_PACKET_V4_IP_LOCAL_PORT,
  FWPS_FIELD_STREAM_PACKET_V4_IP_REMOTE_PORT,
  FWPS_FIELD_STREAM_PACKET_V4_IP_LOCAL_INTERFACE,
  FWPS_FIELD_STREAM_PACKET_V4_INTERFACE_INDEX,
  FWPS_FIELD_STREAM_PACKET_V4_SUB_INTERFACE_INDEX,
  FWPS_FIELD_STREAM_PACKET_V4_DIRECTION,
  FWPS_FIELD_STREAM_PACKET_V4_FLAGS,
  FWPS_FIELD_STREAM_PACKET_V4_INTERFACE_TYPE,
  FWPS_FIELD_STREAM_PACKET_V4_TUNNEL_TYPE,
  FWPS_FIELD_STREAM_PACKET_V4_COMPARTMENT_ID,
  FWPS_FIELD_STREAM_PACKET_V4_MAX
} FWPS_FIELDS_STREAM_PACKET_V4;

Constants

 
FWPS_FIELD_STREAM_PACKET_V4_IP_LOCAL_ADDRESS
The local IP address.
FWPS_FIELD_STREAM_PACKET_V4_IP_REMOTE_ADDRESS
The remote IP address.
FWPS_FIELD_STREAM_PACKET_V4_IP_LOCAL_PORT
The local transport protocol port number.
FWPS_FIELD_STREAM_PACKET_V4_IP_REMOTE_PORT
The remote transport protocol port number.
FWPS_FIELD_STREAM_PACKET_V4_IP_LOCAL_INTERFACE
The locally unique identifier (LUID) for the network interface associated with the
local IP address.
FWPS_FIELD_STREAM_PACKET_V4_INTERFACE_INDEX
The index of the network interface, as enumerated by the network stack.
FWPS_FIELD_STREAM_PACKET_V4_SUB_INTERFACE_INDEX
The index of the logical network interface, as enumerated by the network stack.
FWPS_FIELD_STREAM_PACKET_V4_DIRECTION
The possible values are:

  • FWP_DIRECTION_INBOUND
  • FWP_DIRECTION_OUTBOUND
FWPS_FIELD_STREAM_PACKET_V4_FLAGS
A bitwise OR of a combination of filtering condition flags. For information about the possible
flags, see
Filtering Condition Flags.
FWPS_FIELD_STREAM_PACKET_V4_INTERFACE_TYPE
The type of the local network interface, as defined by the Internet Assigned Numbers Authority
(IANA). For more information, see
IANAifType-MIB Definitions.
FWPS_FIELD_STREAM_PACKET_V4_TUNNEL_TYPE
The encapsulation method used by a tunnel if the
IfType member of the IP_ADAPTER_ADDRESSES structure is IF_TYPE_TUNNEL. The tunnel type is defined
by IANA. For more information, see
IANAifType-MIB Definitions and the
Windows SDK.
FWPS_FIELD_STREAM_PACKET_V4_COMPARTMENT_ID
The compartment that the network interface belongs to.

Note  Supported starting with Windows 10, version 1703.

 
FWPS_FIELD_STREAM_PACKET_V4_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 7.
Header fwpsk.h (include Fwpsk.h)

See also

LUID