QOS_DS_CLASS structure (qosobjs.h)

The traffic control object QOS_DS_CLASS enables application developers to override the default Diffserv code point (DSCP) value for the IP packets associated with a given flow. By default, the DSCP value is derived from the flow's ServiceType.

Syntax

typedef struct _QOS_DS_CLASS {
  QOS_OBJECT_HDR ObjectHdr;
  ULONG          DSField;
} QOS_DS_CLASS, *LPQOS_DS_CLASS;

Members

ObjectHdr

The QOS object QOS_OBJECT_HDR. The object type for this traffic control object should be QOS_OBJECT_DS_CLASS.

DSField

User priority value for the flow. The valid range is 0x00 through 0x3F. The following settings are chosen (by default) when the QOS_DS_CLASS traffic control object is not used.

Value Meaning
0
ServiceTypeBestEffort, ServiceTypeQualitative
0x18
ServiceTypeControlledLoad
0x28
ServiceTypeGuaranteed
0x30
ServiceTypeNetworkControl
0x00
Non-conformant traffic

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header qosobjs.h

See also

QOS_DIFFSERV

QOS_DIFFSERV_RULE

QOS_OBJECT_HDR

QOS_TRAFFIC_CLASS