Platform SDK: Quality of Service

QOS_OBJECT_DS_CLASS

The traffic control object QOS_OBJECT_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.

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_OBJECT_DS_CLASS traffic control object is not used.
Service types Traffic class default value
ServiceTypeBestEffort, ServiceTypeQualitative 0
ServiceTypeControlledLoad 0x18
ServiceTypeGuaranteed 0x28
ServiceTypeNetworkControl 0x30
Non Conformant traffic ox00

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Traffic.h.

See Also

QOS_DIFFSERV_RULE, QOS_OBJECT_DIFFSERV, QOS_OBJECT_TRAFFIC_CLASS