ReactOS  0.4.13-dev-698-g77671f0
qos.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 typedef ULONG SERVICETYPE;
8 
9 #define SERVICETYPE_NOTRAFFIC 0x00000000
10 #define SERVICETYPE_BESTEFFORT 0x00000001
11 #define SERVICETYPE_CONTROLLEDLOAD 0x00000002
12 #define SERVICETYPE_GUARANTEED 0x00000003
13 #define SERVICETYPE_NETWORK_UNAVAILABLE 0x00000004
14 #define SERVICETYPE_GENERAL_INFORMATION 0x00000005
15 #define SERVICETYPE_NOCHANGE 0x00000006
16 #define SERVICETYPE_NONCONFORMING 0x00000009
17 #define SERVICETYPE_NETWORK_CONTROL 0x0000000A
18 #define SERVICETYPE_QUALITATIVE 0x0000000D
19 
20 #define SERVICE_BESTEFFORT 0x80010000
21 #define SERVICE_CONTROLLEDLOAD 0x80020000
22 #define SERVICE_GUARANTEED 0x80040000
23 #define SERVICE_QUALITATIVE 0x80200000
24 
25 #define SERVICE_NO_TRAFFIC_CONTROL 0x81000000
26 
27 #define SERVICE_NO_QOS_SIGNALING 0x40000000
28 
29 #define QOS_NOT_SPECIFIED 0xFFFFFFFF
30 
31 #define POSITIVE_INFINITY_RATE 0xFFFFFFFE
32 
33 #define QOS_GENERAL_ID_BASE 2000
34 
35 #define QOS_OBJECT_END_OF_LIST (0x00000001 + QOS_GENERAL_ID_BASE)
36 #define QOS_OBJECT_SD_MODE (0x00000002 + QOS_GENERAL_ID_BASE)
37 #define QOS_OBJECT_SHAPING_RATE (0x00000003 + QOS_GENERAL_ID_BASE)
38 #define QOS_OBJECT_DESTADDR (0x00000004 + QOS_GENERAL_ID_BASE)
39 
40 #define TC_NONCONF_BORROW 0
41 #define TC_NONCONF_SHAPE 1
42 #define TC_NONCONF_DISCARD 2
43 #define TC_NONCONF_BORROW_PLUS 3
44 
45 typedef struct _flowspec {
55 
56 typedef struct _QOS_OBJECT_HDR {
60 
61 typedef struct _QOS_SD_MODE {
65 
66 typedef struct _QOS_SHAPING_RATE {
70 
71 #ifdef __cplusplus
72 }
73 #endif
ULONG ObjectType
Definition: qos.h:57
struct _flowspec * LPFLOWSPEC
struct _QOS_SD_MODE * LPQOS_SD_MODE
ULONG TokenRate
Definition: qos.h:46
struct _flowspec * PFLOWSPEC
ULONG MinimumPolicedSize
Definition: qos.h:53
ULONG TokenBucketSize
Definition: qos.h:47
ULONG ShapingRate
Definition: qos.h:68
ULONG SERVICETYPE
Definition: qos.h:7
ULONG Latency
Definition: qos.h:49
struct _QOS_OBJECT_HDR * LPQOS_OBJECT_HDR
ULONG ObjectLength
Definition: qos.h:58
Definition: qos.h:45
struct _QOS_SD_MODE QOS_SD_MODE
ULONG PeakBandwidth
Definition: qos.h:48
struct _QOS_OBJECT_HDR QOS_OBJECT_HDR
struct _flowspec FLOWSPEC
QOS_OBJECT_HDR ObjectHdr
Definition: qos.h:62
ULONG ShapeDiscardMode
Definition: qos.h:63
ULONG MaxSduSize
Definition: qos.h:52
ULONG DelayVariation
Definition: qos.h:50
unsigned int ULONG
Definition: retypes.h:1
struct _QOS_SHAPING_RATE * LPQOS_SHAPING_RATE
SERVICETYPE ServiceType
Definition: qos.h:51
QOS_OBJECT_HDR ObjectHdr
Definition: qos.h:67
struct _QOS_SHAPING_RATE QOS_SHAPING_RATE