QOS_DIFFSERV structure (qosobjs.h)

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

Syntax

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 this object.

DiffservRule[1]

Array of QOS_DIFFSERV_RULE structures.

Remarks

The QOS_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 value, which signifies the DSCP on the Inbound packet. The Diffserv Rules also have OutboundDSCP and UserPriority values for conforming and nonconforming 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_DS_CLASS or QOS_TRAFFIC_CLASS is not used in this mode.

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_RULE

QOS_DS_CLASS

QOS_OBJECT_HDR

QOS_TRAFFIC_CLASS