]> git.proxmox.com Git - rustc.git/blame - src/vendor/winapi/src/shared/qos.rs
New upstream version 1.31.0+dfsg1
[rustc.git] / src / vendor / winapi / src / shared / qos.rs
CommitLineData
ff7c6d11
XL
1// Copyright © 2015-2017 winapi-rs developers
2// Licensed under the Apache License, Version 2.0
3// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
4// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
5// All files in the project carrying such notice may not be copied, modified, or distributed
6// except according to those terms.
7//! QoS definitions for NDIS components.
8use shared::minwindef::ULONG;
9pub type SERVICETYPE = ULONG;
10STRUCT!{struct FLOWSPEC {
11 TokenRate: ULONG,
12 TokenBucketSize: ULONG,
13 PeakBandwidth: ULONG,
14 Latency: ULONG,
15 DelayVariation: ULONG,
16 ServiceType: SERVICETYPE,
17 MaxSduSize: ULONG,
18 MinimumPolicedSize: ULONG,
19}}
20pub type PFLOWSPEC = *mut FLOWSPEC;
21pub type LPFLOWSPEC = *mut FLOWSPEC;