Platform SDK: Quality of Service

QOS_OBJECT_SHAPING_RATE

The QOS object QOS_OBJECT_SHAPING_RATE specifies the type of shaping behavior to be applied to a given flow.

typedef struct _QOS_SHAPING_RATE {
  QOS_OBJECT_HDR   ObjectHdr;
  ULONG            ShapingRate;
} QOS_SHAPING_RATE, *LPQOS_SHAPING_RATE;

Members

ObjectHdr
The QOS object QOS_OBJECT_HDR. The object type for this QOS object should be QOS_OBJECT_SHAPING_RATE.
ShapingRate
Value that corresponds to the required shaping rate, as follows:
TC_NONCONF_BORROW
The flow receives resources that remain after all higher priority flows have been serviced. If a TokenRate is specified, packets may be non-conforming and are demoted to less than best-effort priority.
TC_NONCONF_SHAPE
TokenRate must be specified. Nonconforming packets are retained in the packet shaper until they become conforming.
TC_NONCONF_DISCARD
TokenRate must be specified. Nonconforming packets are discarded.
TC_NONCONF_BORROW_PLUS
Similar to TC_NONCONF_BORROW, but no packets will be marked as non-conforming. Note that the setting ShapingRate to value cannot be accomplished with the QOS API; it must be done through the traffic control API (the TC API).

Requirements

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