Skip to content

Latest commit

 

History

History
117 lines (84 loc) · 5.21 KB

ne-qos2-qos_traffic_type.md

File metadata and controls

117 lines (84 loc) · 5.21 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:qos2._QOS_TRAFFIC_TYPE
QOS_TRAFFIC_TYPE (qos2.h)
The QOS_TRAFFIC_TYPE enumeration defines the various traffic types. Each flow has a single traffic type. This allows the QOS subsystem to apply user-specified policies to each type.
*PQOS_TRAFFIC_TYPE
PQOS_TRAFFIC_TYPE
PQOS_TRAFFIC_TYPE enumeration pointer [QOS]
QOSTrafficTypeAudioVideo
QOSTrafficTypeBackground
QOSTrafficTypeBestEffort
QOSTrafficTypeControl
QOSTrafficTypeExcellentEffort
QOSTrafficTypeVoice
QOS_TRAFFIC_TYPE
QOS_TRAFFIC_TYPE enumeration [QOS]
qos.qos_traffic_type
qos2/PQOS_TRAFFIC_TYPE
qos2/QOSTrafficTypeAudioVideo
qos2/QOSTrafficTypeBackground
qos2/QOSTrafficTypeBestEffort
qos2/QOSTrafficTypeControl
qos2/QOSTrafficTypeExcellentEffort
qos2/QOSTrafficTypeVoice
qos2/QOS_TRAFFIC_TYPE
qos\qos_traffic_type.htm
QOS
89145c7f-0b67-4eff-b462-049b047e6602
12/05/2018
*PQOS_TRAFFIC_TYPE, PQOS_TRAFFIC_TYPE, PQOS_TRAFFIC_TYPE enumeration pointer [QOS], QOSTrafficTypeAudioVideo, QOSTrafficTypeBackground, QOSTrafficTypeBestEffort, QOSTrafficTypeControl, QOSTrafficTypeExcellentEffort, QOSTrafficTypeVoice, QOS_TRAFFIC_TYPE, QOS_TRAFFIC_TYPE enumeration [QOS], qos.qos_traffic_type, qos2/PQOS_TRAFFIC_TYPE, qos2/QOSTrafficTypeAudioVideo, qos2/QOSTrafficTypeBackground, qos2/QOSTrafficTypeBestEffort, qos2/QOSTrafficTypeControl, qos2/QOSTrafficTypeExcellentEffort, qos2/QOSTrafficTypeVoice, qos2/QOS_TRAFFIC_TYPE
qos2.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
QOS_TRAFFIC_TYPE, *PQOS_TRAFFIC_TYPE
19H1
_QOS_TRAFFIC_TYPE
qos2/_QOS_TRAFFIC_TYPE
PQOS_TRAFFIC_TYPE
qos2/PQOS_TRAFFIC_TYPE
QOS_TRAFFIC_TYPE
qos2/QOS_TRAFFIC_TYPE
c++
APIRef
kbSyntax
HeaderDef
Qos2.h
QOS_TRAFFIC_TYPE

QOS_TRAFFIC_TYPE enumeration

-description

The QOS_TRAFFIC_TYPE enumeration defines the various traffic types. Each flow has a single traffic type. This allows the QOS subsystem to apply user-specified policies to each type.

-enum-fields

-field QOSTrafficTypeBestEffort:0

Flow traffic has the same network priority as regular traffic not associated with QOS.

This traffic type is the same as not specifying priority, and as a result, the DSCP mark and 802.1p tag are not added to sent traffic.

-field QOSTrafficTypeBackground:1

Flow traffic has a network priority lower than that of QOSTrafficTypeBestEffort. This traffic type could be used for traffic of an application doing data backup.

Sent traffic will contain a DSCP mark with a value of 0x08 and an 802.1p tag with a value of 2.

-field QOSTrafficTypeExcellentEffort:2

Flow traffic has a network priority higher than QOSTrafficTypeBestEffort, yet lower than QOSTrafficTypeAudioVideo. This traffic type should be used for data traffic that is more important than normal end-user scenarios, such as email.

Sent traffic will contain a DSCP mark with value of 0x28 and 802.1p tag with a value of 5.

-field QOSTrafficTypeAudioVideo:3

Flow traffic has a network priority higher than QOSTrafficTypeExcellentEffort, yet lower than QOSTrafficTypeVoice. This traffic type should be used for A/V streaming scenarios such as MPEG2 streaming.

Sent traffic will contain a DSCP mark with a value of 0x28 and an 802.1p tag with a value of 5.

-field QOSTrafficTypeVoice:4

Flow traffic has a network priority higher than QOSTrafficTypeAudioVideo, yet lower than QOSTrafficTypeControl. This traffic type should be used for realtime voice streams such as VOIP.

Sent traffic will contain a DSCP mark with a value of 0x38 and an 802.1p tag with a value of 7.

-field QOSTrafficTypeControl:5

Flow traffic has the highest network priority. This traffic type should only be used for the most critical of data. For example, it may be used for data carrying user inputs.

Sent traffic will contain a DSCP mark with a value of 0x38 and an 802.1p tag with a value of 7.

-remarks

802.1p tags are added to sent traffic only when the following conditions are met:

  • QOSAddSocketToFlow is called without the QOS_NON_ADAPTIVE_FLOW flag
  • The destination host is on the local link and not across a router
  • The qWAVE subsystem has determined that 802.1p tagged packets are not discarded by a network element on the end-to-end path

-see-also

QOSAddSocketToFlow

QOSSetFlow

Quality Windows Audio/Video Experience (qWAVE)