Platform SDK: Quality of Service

QOS_DIFFSERV_RULE

The QOS_DIFFSERV_RULE structure is used in conjunction with the traffic control object QOS_OBJECT_DIFFSERV to provide Diffserv rules for a given flow.

typedef struct _QOS_DIFFSERV_RULE {
  UCHAR InboundDSField;
  UCHAR ConformingOutboundDSField;
  UCHAR NonConformingOutboundDSField;
  UCHAR ConformingUserPriority;
  UCHAR NonConformingUserPriority;
} QOS_DIFFSERV_RULE, *LPQOS_DIFFSERV_RULE;

Members

InboundDSField
Diffserv code point (DSCP) on the inbound packet. InboundDSField must be unique for the interface, otherwise the flow addition will fail.

Valid range is 0x00 - 0x3F.

ConformingOutboundDSField
Diffserv code point (DSCP) marked on all conforming packets on the flow. This member can be used to re-mark the packet before it is forwarded.

Valid range is 0x00 - 0x3F.

NonConformingOutboundDSField
Diffserv code point (DSCP) marked on all nonconforming packets on the flow. This member can be used to remark the packet before it is forwarded.

Valid range is 0x00 - 0x3F.

ConformingUserPriority
UserPriority value marked on all conforming packets on the flow. This member can be used to remark the packet before it is forwarded.

Valid range is 0-7

NonConformingUserPriority
UserPriority value marked on all nonconforming packets on the flow. This member can be used to remark the packet before it is forwarded.

Valid range is 0-7

Requirements

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

See Also

QOS_OBJECT_DIFFSERV