Bewerken

Delen via


NDIS_MAC_HEADER_FIELD enumeration (ntddndis.h)

The NDIS_MAC_HEADER_FIELD enumeration identifies the type of a field in a media access control (MAC) header to be filtered.

Syntax

typedef enum _NDIS_MAC_HEADER_FIELD {
  NdisMacHeaderFieldUndefined,
  NdisMacHeaderFieldDestinationAddress,
  NdisMacHeaderFieldSourceAddress,
  NdisMacHeaderFieldProtocol,
  NdisMacHeaderFieldVlanId,
  NdisMacHeaderFieldPriority,
  NdisMacHeaderFieldPacketType,
  NdisMacHeaderFieldMaximum
} NDIS_MAC_HEADER_FIELD, *PNDIS_MAC_HEADER_FIELD;

Constants

 
NdisMacHeaderFieldUndefined
An undefined MAC header field.
NdisMacHeaderFieldDestinationAddress
A destination address field.
NdisMacHeaderFieldSourceAddress
A source address field.
NdisMacHeaderFieldProtocol
A protocol field in the DEC/Intel/Xerox (DIX) Ethernet

MAC header.
NdisMacHeaderFieldVlanId
A virtual local area network (VLAN) identifier field.
NdisMacHeaderFieldPriority
A VLAN priority field.
NdisMacHeaderFieldPacketType
A packet type field in the IEEE 802.2 subnetwork access protocol (SNAP) header of an 802.3

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

Remarks

The NDIS_MAC_HEADER_FIELD enumeration is used in the NDIS_RECEIVE_FILTER_FIELD_PARAMETERS structure.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.20 and later.
Header ntddndis.h (include Ndis.h)

See also

NDIS_RECEIVE_FILTER_FIELD_PARAMETERS