JOB_OBJECT_NET_RATE_CONTROL_FLAGS enumeration (winnt.h)

Specifies types of scheduling policies for network rate control.

Syntax

typedef enum JOB_OBJECT_NET_RATE_CONTROL_FLAGS {
  JOB_OBJECT_NET_RATE_CONTROL_ENABLE = 0x1,
  JOB_OBJECT_NET_RATE_CONTROL_MAX_BANDWIDTH = 0x2,
  JOB_OBJECT_NET_RATE_CONTROL_DSCP_TAG = 0x4,
  JOB_OBJECT_NET_RATE_CONTROL_VALID_FLAGS = =
} ;

Constants

 
JOB_OBJECT_NET_RATE_CONTROL_ENABLE
Value: 0x1
Turns on the control of the network traffic. You must set this value if you also set either JOB_OBJECT_NET_RATE_CONTROL_MAX_BANDWIDTH or JOB_OBJECT_NET_RATE_CONTROL_DSCP_TAG.
JOB_OBJECT_NET_RATE_CONTROL_MAX_BANDWIDTH
Value: 0x2
JOB_OBJECT_NET_RATE_CONTROL_DSCP_TAG
Value: 0x4
Sets the DSCP field in the packet header to the value of the DscpTag member of the JOBOBJECT_NET_RATE_CONTROL_INFORMATION structure. For information about DSCP, see Differentiated Services.
JOB_OBJECT_NET_RATE_CONTROL_VALID_FLAGS
Value: =
The combination of all of the valid flags for the JOB_OBJECT_NET_RATE_CONTROL_FLAGS enumeration.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header winnt.h

See also

JOBOBJECT_NET_RATE_CONTROL_INFORMATION