Platform SDK: Quality of Service |
The traffic control object QOS_OBJECT_TRAFFIC_CLASS is used to override the default UserPriority value ascribed to packets that classify to (are associated with) a given flow. By default, the UserPriority value of a flow is derived from the ServiceType; the capability to override the default UserPriority is necessary because packets can be tagged in their Layer 2 headers (such as an 802.1p header) to specify their priority to Layer-2 devices. Using QOS_OBJECT_TRAFFIC_CLASS enables application developers to override the default UserPriority setting.
typedef struct _QOS_TRAFFIC_CLASS { QOS_OBJECT_HDR ObjectHdr; ULONG TrafficClass; } QOS_TRAFFIC_CLASS, *LPQOS_TRAFFIC_CLASS;
Service Types | Traffic Class Default Value |
---|---|
ServiceTypeBestEffort, ServiceTypeQualitative | 0 |
ServiceTypeControlledLoad | 4 |
ServiceTypeGuaranteed | 5 |
ServiceTypeNetworkControl | 7 |
Non Conformant traffic | 1 |
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Traffic.h.