Export (0) Print
Expand All
Expand Minimize

FWPS_FIELDS_DATAGRAM_DATA_V4 enumeration

The FWPS_FIELDS_DATAGRAM_DATA_V4 enumeration type specifies the data field identifiers for the FWPS_LAYER_DATAGRAM_DATA_V4 and FWPS_LAYER_DATAGRAM_DATA_V4_DISCARD run-time filtering layers.

Syntax


typedef enum FWPS_FIELDS_DATAGRAM_DATA_V4_ { 
  FWPS_FIELD_DATAGRAM_DATA_V4_IP_PROTOCOL,
  FWPS_FIELD_DATAGRAM_DATA_V4_IP_LOCAL_ADDRESS,
  FWPS_FIELD_DATAGRAM_DATA_V4_IP_REMOTE_ADDRESS,
  FWPS_FIELD_DATAGRAM_DATA_V4_IP_LOCAL_ADDRESS_TYPE,
  FWPS_FIELD_DATAGRAM_DATA_V4_IP_LOCAL_PORT,
  FWPS_FIELD_DATAGRAM_DATA_V4_IP_REMOTE_PORT,
  FWPS_FIELD_DATAGRAM_DATA_V4_IP_LOCAL_INTERFACE,
  FWPS_FIELD_DATAGRAM_DATA_V4_INTERFACE_INDEX,
  FWPS_FIELD_DATAGRAM_DATA_V4_SUB_INTERFACE_INDEX,
  FWPS_FIELD_DATAGRAM_DATA_V4_DIRECTION,
  FWPS_FIELD_DATAGRAM_DATA_V4_FLAGS,
  FWPS_FIELD_DATAGRAM_DATA_V4_INTERFACE_TYPE,
  FWPS_FIELD_DATAGRAM_DATA_V4_TUNNEL_TYPE,
  FWPS_FIELD_DATAGRAM_DATA_V4_MAX
} FWPS_FIELDS_DATAGRAM_DATA_V4;

Constants

FWPS_FIELD_DATAGRAM_DATA_V4_IP_PROTOCOL

The IP protocol number, as specified in RFC 1700.

FWPS_FIELD_DATAGRAM_DATA_V4_IP_LOCAL_ADDRESS

The local IP address.

FWPS_FIELD_DATAGRAM_DATA_V4_IP_REMOTE_ADDRESS

The remote IP address.

FWPS_FIELD_DATAGRAM_DATA_V4_IP_LOCAL_ADDRESS_TYPE

The local IP address type. The possible values are defined by the NL_ADDRESS_TYPE enumeration.

FWPS_FIELD_DATAGRAM_DATA_V4_IP_LOCAL_PORT

The local transport protocol port number.

FWPS_FIELD_DATAGRAM_DATA_V4_IP_REMOTE_PORT

The remote transport protocol port number.

FWPS_FIELD_DATAGRAM_DATA_V4_IP_LOCAL_INTERFACE

The locally unique identifier (LUID) for the network interface associated with the local IP address.

FWPS_FIELD_DATAGRAM_DATA_V4_INTERFACE_INDEX

The index of the network interface, as enumerated by the network stack.

FWPS_FIELD_DATAGRAM_DATA_V4_SUB_INTERFACE_INDEX

The index of the logical network interface, as enumerated by the network stack.

FWPS_FIELD_DATAGRAM_DATA_V4_DIRECTION
The direction of the datagram traffic. The possible values are:
FWP_DIRECTION_INBOUND
FWP_DIRECTION_OUTBOUND
FWPS_FIELD_DATAGRAM_DATA_V4_FLAGS

A bitwise OR of a combination of filtering condition flags. For information about the possible flags, see Filtering Condition Flags.

FWPS_FIELD_DATAGRAM_DATA_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_DATAGRAM_DATA_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_DATAGRAM_DATA_V4_MAX

The maximum value for this enumeration. This value might change in future versions of the NDIS header files and binaries.

Remarks

The following macros in Fwpsk.h are defined with FWPS_FIELDS_DATAGRAM_DATA_V4 enumeration values:



#define FWPS_FIELD_DATAGRAM_DATA_V4_ICMP_TYPE \
        FWPS_FIELD_DATAGRAM_DATA_V4_IP_LOCAL_PORT

#define FWPS_FIELD_DATAGRAM_DATA_V4_ICMP_CODE \
        FWPS_FIELD_DATAGRAM_DATA_V4_IP_REMOTE_PORT


These macros are used to access the following IPV4 data fields:

FWPS_FIELD_DATAGRAM_DATA_V4_ICMP_TYPE

The ICMP type field, as specified in RFC 792.

FWPS_FIELD_DATAGRAM_DATA_V4_ICMP_CODE

The ICMP code field, as specified in RFC 792.

Requirements

Version

Supported starting with Windows Vista.

Header

Fwpsk.h (include Fwpsk.h)

See also

LUID
NL_ADDRESS_TYPE

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft