TC_GEN_FLOW structure (traffic.h)

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

Syntax

typedef struct _TC_GEN_FLOW {
  FLOWSPEC       SendingFlowspec;
  FLOWSPEC       ReceivingFlowspec;
  ULONG          TcObjectsLength;
  QOS_OBJECT_HDR 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, in bytes.

TcObjects[1]

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_DS_CLASS

QOS_TRAFFIC_CLASS

QOS_DIFFSERV

QOS_SD_MODE

QOS_SHAPING_RATE

QOS_OBJECT_END_OF_LIST

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header traffic.h

See also

FLOWSPEC

QOS_DIFFSERV

QOS_DS_CLASS

QOS_SD_MODE

QOS_SHAPING_RATE

QOS_TRAFFIC_CLASS