Debian Codegraph @

third_party/rust/winapi/src/shared/qos.rs

raw
1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
6 //! QoS definitions for NDIS components.
7 use shared::minwindef::ULONG;
8 pub type SERVICETYPE = ULONG;
9 STRUCT!{struct FLOWSPEC {
10 TokenRate: ULONG,
11 TokenBucketSize: ULONG,
12 PeakBandwidth: ULONG,
13 Latency: ULONG,
14 DelayVariation: ULONG,
15 ServiceType: SERVICETYPE,
16 MaxSduSize: ULONG,
17 MinimumPolicedSize: ULONG,
18 }}
19 pub type PFLOWSPEC = *mut FLOWSPEC;
20 pub type LPFLOWSPEC = *mut FLOWSPEC;