]>
Commit | Line | Data |
---|---|---|
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. | |
8 | use shared::minwindef::ULONG; | |
9 | pub type SERVICETYPE = ULONG; | |
10 | STRUCT!{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 | }} | |
20 | pub type PFLOWSPEC = *mut FLOWSPEC; | |
21 | pub type LPFLOWSPEC = *mut FLOWSPEC; |