Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9e84dfcf
Commit
9e84dfcf
authored
Nov 21, 2018
by
Gijs Vermeulen
Committed by
Alexandre Julliard
Nov 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add qos2.h.
Signed-off-by:
Gijs Vermeulen
<
gijsvrm@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2d6a23be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
101 additions
and
0 deletions
+101
-0
Makefile.in
include/Makefile.in
+1
-0
qos2.h
include/qos2.h
+100
-0
No files found.
include/Makefile.in
View file @
9e84dfcf
...
...
@@ -527,6 +527,7 @@ SOURCES = \
pshpack8.h
\
pstore.idl
\
qedit.idl
\
qos2.h
\
ras.h
\
rasdlg.h
\
raserror.h
\
...
...
include/qos2.h
0 → 100644
View file @
9e84dfcf
/*
* Copyright 2018 Gijs Vermeulen
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_QOS2_H__
#define __WINE_QOS2_H__
#ifdef __cplusplus
extern
"C"
{
#endif
typedef
UINT32
QOS_FLOWID
;
typedef
enum
_QOS_SHAPING
{
QOSShapeOnly
,
QOSShapeAndMark
,
QOSUseNonConformantMarkings
}
QOS_SHAPING
,
*
PQOS_SHAPING
;
typedef
enum
_QOS_FLOWRATE_REASON
{
QOSFlowRateNotApplicable
,
QOSFlowRateContentChange
,
QOSFlowRateCongestion
,
QOSFlowRateHigherContentEncoding
,
QOSFlowRateUserCaused
}
QOS_FLOWRATE_REASON
,
PQOS_FLOWRATE_REASON
;
typedef
enum
_QOS_NOTIFY_FLOW
{
QOSNotifyCongested
,
QOSNotifyUncongested
,
QOSNotifyAvailable
}
QOS_NOTIFY_FLOW
,
*
PQOS_NOTIFY_FLOW
;
typedef
enum
_QOS_QUERY_FLOW
{
QOSQueryFlowFundamentals
,
QOSQueryPacketPriority
,
QOSQueryOutgoingRate
}
QOS_QUERY_FLOW
;
typedef
enum
_QOS_SET_FLOW
{
QOSSetTrafficType
,
QOSSetOutgoingRate
,
QOSSetOutgoingDSCPValue
}
QOS_SET_FLOW
,
*
PQOS_SET_FLOW
;
typedef
enum
_QOS_TRAFFIC_TYPE
{
QOSTrafficTypeBestEffort
,
QOSTrafficTypeBackground
,
QOSTrafficTypeExcellentEffort
,
QOSTrafficTypeAudioVideo
,
QOSTrafficTypeVoice
,
QOSTrafficTypeControl
}
QOS_TRAFFIC_TYPE
,
*
PQOS_TRAFFIC_TYPE
;
typedef
struct
_QOS_FLOW_FUNDAMENTALS
{
BOOL
BottleneckBandwidthSet
;
UINT64
BottleneckBandwidth
;
BOOL
AvailableBandwidthSet
;
UINT64
AvailableBandwidth
;
BOOL
RTTSet
;
UINT32
RTT
;
}
QOS_FLOW_FUNDAMENTALS
,
*
PQOS_FLOW_FUNDAMENTALS
;
typedef
struct
_QOS_FLOWRATE_OUTGOING
{
UINT64
Bandwidth
;
QOS_SHAPING
ShapingBehavior
;
QOS_FLOWRATE_REASON
Reason
;
}
QOS_FLOWRATE_OUTGOING
,
*
PQOS_FLOWRATE_OUTGOING
;
typedef
struct
_QOS_PACKET_PRIORITY
{
ULONG
ConformantDSCPValue
;
ULONG
NonConformantDSCPValue
;
ULONG
ConformantL2Value
;
ULONG
NonConformantL2Value
;
}
QOS_PACKET_PRIORITY
,
*
PQOS_PACKET_PRIORITY
;
typedef
struct
_QOS_VERSION
{
USHORT
MajorVersion
;
USHORT
MinorVersion
;
}
QOS_VERSION
,
*
PQOS_VERSION
;
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_QOS2_H__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment