Platform SDK: Quality of Service

QOS_OBJECT_DIFFSERV

The QOS_OBJECT_DIFFSERV traffic control object is used to specify filters for the packet scheduler when it operates in Differentiated Services Mode.

typedef struct _QOS_DIFFSERV {
  QOS_OBJECT_HDR  ObjectHdr;
  ULONG           DSFieldCount;
  UCHAR           DiffservRule[1];
} QOS_DIFFSERV, *LPQOS_DIFFSERV;

Members

ObjectHdr
The QOS object QOS_OBJECT_HDR. The object type for this traffic control object should be QOS_OBJECT_DIFFSERV.
DSFieldCount
Number of Diffserv Rules in on this object.
DiffservRule
Array of QOS_DIFFSERV_RULE structures.

Remarks

The QOS_OBJECT_DIFFSERV object is used to specify the set of Diffserv rules that apply to the specified flow, all of which are specified in the DiffservRule member. Each Diffserv rule has an InboundDSField, which signifies the DSCP on the Inbound packet. The Diffserv Rules also have an OutboundDSCP and UserPriority values for conforming and non conforming packets. These indicate the DSCP and 802.1p values that go out on the forwarded packet. Note that the DSCP or UserPriority mapping based on ServiceType or QOS_OBJECT_DS_CLASS or QOS_OBJECT_TRAFFIC_CLASS is -not- used in this mode.

Requirements

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

See Also

QOS_DIFFSERV_RULE, QOS_OBJECT_DS_CLASS, QOS_OBJECT_TRAFFIC_CLASS