Platform SDK: Quality of Service

TC_GEN_FLOW

The TC_GEN_FLOW structure creates a generic flow for use with the traffic control interface. The flow is customized through the use of the structure's members.

typedef struct _TC_GEN_FLOW {

  FLOWSPEC      SendingFlowspec,
  FLOWSPEC      ReceivingFlowspec,
  ULONG         TcObjectsLength,  // number of optional bytes
  UCHAR         TcObjects[1]

} TC_GEN_FLOW, *PTC_GEN_FLOW;

Members

SendingFlowspec
FLOWSPEC structure for the sending direction of the flow.
ReceivingFlowspec
FLOWSPEC structure for the receiving direction of the flow.
TcObjectsLength
Length of TcObjects.
TcObjects
Buffer that contains an array of traffic control objects specific to the given flow. The TcObjects member can contain objects from the list of currently supported objects. Definitions of these objects can be found in Qos.h and Traffic.h:

QOS_OBJECT_DS_CLASS

QOS_OBJECT_TRAFFIC_CLASS

QOS_OBJECT_DIFFSERV

QOS_OBJECT_SD_MODE

QOS_OBJECT_SHAPING_RATE

QOS_OBJECT_END_OF_LIST

Requirements

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

See Also

FLOWSPEC