Platform SDK: Quality of Service

QOS_OBJECT_SD_MODE

The QOS object QOS_OBJECT_SD_MODE defines the behavior of the traffic control–packet shaper component.

typedef struct _QOS_SD_MODE {
  QOS_OBJECT_HDR   ObjectHdr;
  ULONG            ShapeDiscardMode;
} QOS_SD_MODE, *LPQOS_SD_MODE;

Members

ObjectHdr
The QOS object QOS_OBJECT_HDR. The object type for this QOS object should be QOS_OBJECT_SD_MODE.
ShapeDiscardMode
Specifies the requested behavior of the packet shaper. Note that there are elements of packet handling within these predefined behaviors that depend on the flow settings specified within FLOWSPEC.
Value Meaning
TC_NONCONF_BORROW Instructs the packet shaper to borrow remaining available resources after all higher priority flows have been serviced. If the TokenRate member of FLOWSPEC is specified for this flow, packets that exceed the value of TokenRate will have their priority demoted to less than SERVICETYPE_BESTEFFORT, as defined in the ServiceType member of the FLOWSPEC structure.
TC_NONCONF_SHAPE Instructs the packet shaper to retain packets until network resources are available to the flow in sufficient quantity to make such packets conforming. (For example, a 100K packet will be retained in the packet shaper until 100K worth of credit is accrued for the flow, allowing the packet to be transmitted as conforming). Note that TokenRate must be specified if using TC_NONCONF_SHAPE.
TC_NONCONF_DISCARD Instructs the packet shaper to discard all nonconforming packets. TC_NONCONF_DISCARD should be used with care.

Requirements

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