Bagikan melalui


802.1Q Support in a Remote NDIS Device (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.

A Remote NDIS device that supports 802.1Q must set the NDIS_MAC_OPTION_8021Q_VLAN and NDIS_MAC_OPTION_8021P_PRIORITY flags in the bitmask of a OID_GEN_MAC_OPTIONSquery through the REMOTE_NDIS_QUERY_MSGcontrol message. This type of Remote NDIS device should also support the configuration of a VLAN identifier using the OID_GEN_RNDIS_CONFIG_PARAMETERcode through the REMOTE_NDIS_SET_MSGcontrol message. This type of Remote NDIS device transmits and receives packets as described in Packet Support for 802.1Q.

A Remote NDIS device that only supports "raw" Ethernet encapsulation does not support 802.1Q. This type of Remote NDIS device passes through marked and unmarked packets without modification.

If a Remote NDIS device supports packet marking, it must fully support 802.1Q, which includes VLAN-identifier marking. A Remote NDIS device should not just support the marking of packets with packet priority information.

 

 

Send comments about this topic to Microsoft