@@ -4870,6 +4870,52 @@ pub type QUIC_SET_CALLBACK_HANDLER_FN = ::std::option::Option<
4870
4870
> ;
4871
4871
#[ repr( C ) ]
4872
4872
#[ derive( Debug , Copy , Clone ) ]
4873
+ pub struct NETWORK_STATISTICS {
4874
+ pub BytesInFlight : u32 ,
4875
+ pub PostedBytes : u64 ,
4876
+ pub IdealBytes : u64 ,
4877
+ pub SmoothedRTT : u64 ,
4878
+ pub CongestionWindow : u32 ,
4879
+ pub Bandwidth : u64 ,
4880
+ }
4881
+ #[ allow( clippy:: unnecessary_operation, clippy:: identity_op) ]
4882
+ const _: ( ) = {
4883
+ [ "Size of NETWORK_STATISTICS" ]
4884
+ [ :: std:: mem:: size_of :: < NETWORK_STATISTICS > ( ) - 48usize ] ;
4885
+ [ "Alignment of NETWORK_STATISTICS" ]
4886
+ [ :: std:: mem:: align_of :: < NETWORK_STATISTICS > ( ) - 8usize ] ;
4887
+ [ "Offset of field: NETWORK_STATISTICS::BytesInFlight" ] [ :: std:: mem:: offset_of!(
4888
+ NETWORK_STATISTICS ,
4889
+ BytesInFlight
4890
+ )
4891
+ - 0usize ] ;
4892
+ [ "Offset of field: NETWORK_STATISTICS::PostedBytes" ] [ :: std:: mem:: offset_of!(
4893
+ NETWORK_STATISTICS ,
4894
+ PostedBytes
4895
+ )
4896
+ - 8usize ] ;
4897
+ [ "Offset of field: NETWORK_STATISTICS::IdealBytes" ] [ :: std:: mem:: offset_of!(
4898
+ NETWORK_STATISTICS ,
4899
+ IdealBytes
4900
+ )
4901
+ - 16usize ] ;
4902
+ [ "Offset of field: NETWORK_STATISTICS::SmoothedRTT" ] [ :: std:: mem:: offset_of!(
4903
+ NETWORK_STATISTICS ,
4904
+ SmoothedRTT
4905
+ )
4906
+ - 24usize ] ;
4907
+ [ "Offset of field: NETWORK_STATISTICS::CongestionWindow" ] [ :: std:: mem:: offset_of!(
4908
+ NETWORK_STATISTICS ,
4909
+ CongestionWindow
4910
+ )
4911
+ - 32usize ] ;
4912
+ [ "Offset of field: NETWORK_STATISTICS::Bandwidth" ] [ :: std:: mem:: offset_of!(
4913
+ NETWORK_STATISTICS ,
4914
+ Bandwidth
4915
+ ) - 40usize ] ;
4916
+ } ;
4917
+ #[ repr( C ) ]
4918
+ #[ derive( Debug , Copy , Clone ) ]
4873
4919
pub struct QUIC_SCHANNEL_CREDENTIAL_ATTRIBUTE_W {
4874
4920
pub Attribute : :: std:: os:: raw:: c_ulong ,
4875
4921
pub BufferLength : :: std:: os:: raw:: c_ulong ,
@@ -5280,7 +5326,7 @@ pub union QUIC_CONNECTION_EVENT__bindgen_ty_1 {
5280
5326
pub PEER_CERTIFICATE_RECEIVED : QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_16 ,
5281
5327
pub RELIABLE_RESET_NEGOTIATED : QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_17 ,
5282
5328
pub ONE_WAY_DELAY_NEGOTIATED : QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_18 ,
5283
- pub NETWORK_STATISTICS : QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19 ,
5329
+ pub NETWORK_STATISTICS : NETWORK_STATISTICS ,
5284
5330
}
5285
5331
#[ repr( C ) ]
5286
5332
#[ derive( Debug , Copy , Clone ) ]
@@ -5776,52 +5822,7 @@ const _: () = {
5776
5822
)
5777
5823
- 1usize ] ;
5778
5824
} ;
5779
- #[ repr( C ) ]
5780
- #[ derive( Debug , Copy , Clone ) ]
5781
- pub struct QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19 {
5782
- pub BytesInFlight : u32 ,
5783
- pub PostedBytes : u64 ,
5784
- pub IdealBytes : u64 ,
5785
- pub SmoothedRTT : u64 ,
5786
- pub CongestionWindow : u32 ,
5787
- pub Bandwidth : u64 ,
5788
- }
5789
- #[ allow( clippy:: unnecessary_operation, clippy:: identity_op) ]
5790
- const _: ( ) = {
5791
- [ "Size of QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19" ]
5792
- [ :: std:: mem:: size_of :: < QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19 > ( ) - 48usize ] ;
5793
- [ "Alignment of QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19" ]
5794
- [ :: std:: mem:: align_of :: < QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19 > ( ) - 8usize ] ;
5795
- [ "Offset of field: QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19::BytesInFlight" ] [ :: std:: mem:: offset_of!(
5796
- QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19 ,
5797
- BytesInFlight
5798
- )
5799
- - 0usize ] ;
5800
- [ "Offset of field: QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19::PostedBytes" ] [ :: std:: mem:: offset_of!(
5801
- QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19 ,
5802
- PostedBytes
5803
- )
5804
- - 8usize ] ;
5805
- [ "Offset of field: QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19::IdealBytes" ] [ :: std:: mem:: offset_of!(
5806
- QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19 ,
5807
- IdealBytes
5808
- )
5809
- - 16usize ] ;
5810
- [ "Offset of field: QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19::SmoothedRTT" ] [ :: std:: mem:: offset_of!(
5811
- QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19 ,
5812
- SmoothedRTT
5813
- )
5814
- - 24usize ] ;
5815
- [ "Offset of field: QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19::CongestionWindow" ] [ :: std:: mem:: offset_of!(
5816
- QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19 ,
5817
- CongestionWindow
5818
- )
5819
- - 32usize ] ;
5820
- [ "Offset of field: QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19::Bandwidth" ] [ :: std:: mem:: offset_of!(
5821
- QUIC_CONNECTION_EVENT__bindgen_ty_1__bindgen_ty_19 ,
5822
- Bandwidth
5823
- ) - 40usize ] ;
5824
- } ;
5825
+
5825
5826
#[ allow( clippy:: unnecessary_operation, clippy:: identity_op) ]
5826
5827
const _: ( ) = {
5827
5828
[ "Size of QUIC_CONNECTION_EVENT__bindgen_ty_1" ]
0 commit comments