Partager via


Packet Support for 802.1Q (NDIS 5.1)

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

Upper link-layer drivers send packets to underlying miniport drivers. Miniport drivers can also receive packets and can indicate those packets up to link-layer drivers. To support 802.1Q, miniport drivers must be able to access the priority and VLAN identity information that is transferred by the NDIS_PACKETstructure.

The following topics describe how a miniport driver accesses and transfers 802.1Q packet information:

Sending 802.1Q-Marked Packets

Receiving 802.1Q-Marked Packets

Note   Miniport drivers must use the NDIS_PER_PACKET_INFO_FROM_PACKET macro to insert and retrieve packet 802.1Q priority values. Miniport drivers must not use the NdisClass802_3Priority NDIS_CLASS_ID value of the MediaSpecificInformation member of a NDIS_PACKET_OOB_DATA structure to insert and retrieve packet 802.1Q priority values. A NDIS_PACKET_OOB_DATA structure contains out-of-band information that is associated with a packet descriptor.

Support for 802.3 priority (that is, NdisClass802_3Priority) is included in NDIS 4.0 in Windows NT version 4.0, and in Windows 95, Windows 98, and Windows Me. When 802.3 priority support was initially introduced to NDIS, it was used in the context of PACE and 100-VG. Priority support for 802.3 still exists but is not used for 802.1Q priority values.

 

 

 

Send comments about this topic to Microsoft