Bewerken

Delen via


FWPS_FIELDS_INBOUND_TRANSPORT_V4 enumeration (fwpsk.h)

The FWPS_FIELDS_INBOUND_TRANSPORT_V4 enumeration type specifies the data field identifiers for the FWPS_LAYER_INBOUND_TRANSPORT_V4 and FWPS_LAYER_INBOUND_TRANSPORT_V4_DISCARD run-time filtering layers.

Syntax

typedef enum FWPS_FIELDS_INBOUND_TRANSPORT_V4_ {
  FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_PROTOCOL,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_LOCAL_ADDRESS,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_REMOTE_ADDRESS,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_LOCAL_ADDRESS_TYPE,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_LOCAL_PORT,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_REMOTE_PORT,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_LOCAL_INTERFACE,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_INTERFACE_INDEX,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_SUB_INTERFACE_INDEX,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_FLAGS,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_INTERFACE_TYPE,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_TUNNEL_TYPE,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_PROFILE_ID,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_IPSEC_SECURITY_REALM_ID,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_COMPARTMENT_ID,
  FWPS_FIELD_INBOUND_TRANSPORT_V4_MAX
} FWPS_FIELDS_INBOUND_TRANSPORT_V4;

Constants

 
FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_PROTOCOL
The IP protocol number, as specified in RFC 1700.
FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_LOCAL_ADDRESS
The local IP address.
FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_REMOTE_ADDRESS
The remote IP address.
FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_LOCAL_ADDRESS_TYPE
The local IP address type. The possible values are defined by the
NL_ADDRESS_TYPE enumeration.
FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_LOCAL_PORT
The local transport protocol port number.
FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_REMOTE_PORT
The remote transport protocol port number.
FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_LOCAL_INTERFACE
The locally unique identifier (LUID) for the network interface associated with the
local IP address.
FWPS_FIELD_INBOUND_TRANSPORT_V4_INTERFACE_INDEX
The index of the network interface, as enumerated by the network stack.
FWPS_FIELD_INBOUND_TRANSPORT_V4_SUB_INTERFACE_INDEX
The index of the logical network interface, as enumerated by the network stack.
FWPS_FIELD_INBOUND_TRANSPORT_V4_FLAGS
A bitwise OR of a combination of filtering condition flags. For information about the possible
flags, see
Filtering Condition Flags.
FWPS_FIELD_INBOUND_TRANSPORT_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_INBOUND_TRANSPORT_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_INBOUND_TRANSPORT_V4_PROFILE_ID
The profile identifier (network category) of the network interface. The possible network category
values are: public (1), private (2), or domain (3).


Note  Supported starting with Windows 7.

 
FWPS_FIELD_INBOUND_TRANSPORT_V4_IPSEC_SECURITY_REALM_ID
The IPsec security realm identifier.
FWPS_FIELD_INBOUND_TRANSPORT_V4_COMPARTMENT_ID
The compartment that the network interface belongs to.

Note  Supported starting with Windows 10, version 1703.

 
FWPS_FIELD_INBOUND_TRANSPORT_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_INBOUND_TRANSPORT_V4 enumeration values:


#define FWPS_FIELD_INBOUND_TRANSPORT_V4_ICMP_TYPE \
        FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_LOCAL_PORT

#define FWPS_FIELD_INBOUND_TRANSPORT_V4_ICMP_CODE \
        FWPS_FIELD_INBOUND_TRANSPORT_V4_IP_REMOTE_PORT

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

FWPS_FIELD_INBOUND_TRANSPORT_V4_ICMP_TYPE
The ICMP type field, as specified in RFC 792.

FWPS_FIELD_INBOUND_TRANSPORT_V4_ICMP_CODE
The ICMP code field, as specified in RFC 792.

Requirements

Requirement Value
Minimum supported client Unless otherwise noted, supported starting with Windows Vista.
Header fwpsk.h (include Fwpsk.h)

See also

LUID

NL_ADDRESS_TYPE