Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

QOS_TRAFFIC_TYPE enumeration

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.

Syntax


typedef enum _QOS_TRAFFIC_TYPE { 
  QOSTrafficTypeBestEffort,
  QOSTrafficTypeBackground,
  QOSTrafficTypeExcellentEffort,
  QOSTrafficTypeAudioVideo,
  QOSTrafficTypeVoice,
  QOSTrafficTypeControl
} QOS_TRAFFIC_TYPE, *PQOS_TRAFFIC_TYPE;

Constants

QOSTrafficTypeBestEffort

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.

QOSTrafficTypeBackground

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.

QOSTrafficTypeExcellentEffort

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.

QOSTrafficTypeAudioVideo

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.

QOSTrafficTypeVoice

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.

QOSTrafficTypeControl

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Qos2.h

See also

QOSAddSocketToFlow
QOSSetFlow
Quality Windows Audio/Video Experience (qWAVE)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.