1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)] 2 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3 #[repr(C)] 4 pub struct BSSID_INFO { 5 pub BSSID: [u8; 6], 6 pub PMKID: [u8; 16], 7 } 8 impl BSSID_INFO {} 9 impl ::std::default::Default for BSSID_INFO { default() -> Self10 fn default() -> Self { 11 unsafe { ::std::mem::zeroed() } 12 } 13 } 14 impl ::std::fmt::Debug for BSSID_INFO { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result15 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 16 fmt.debug_struct("BSSID_INFO").field("BSSID", &self.BSSID).field("PMKID", &self.PMKID).finish() 17 } 18 } 19 impl ::std::cmp::PartialEq for BSSID_INFO { eq(&self, other: &Self) -> bool20 fn eq(&self, other: &Self) -> bool { 21 self.BSSID == other.BSSID && self.PMKID == other.PMKID 22 } 23 } 24 impl ::std::cmp::Eq for BSSID_INFO {} 25 unsafe impl ::windows::runtime::Abi for BSSID_INFO { 26 type Abi = Self; 27 type DefaultType = Self; 28 } 29 pub const CLOCK_NETWORK_DERIVED: u32 = 2u32; 30 pub const CLOCK_PRECISION: u32 = 4u32; 31 #[cfg(feature = "Win32_Foundation")] 32 pub type DOT11EXTIHV_ADAPTER_RESET = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE) -> u32; 33 #[cfg(feature = "Win32_Foundation")] 34 pub type DOT11EXTIHV_CONTROL = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, dwinbuffersize: u32, pinbuffer: *const u8, dwoutbuffersize: u32, poutbuffer: *mut u8, pdwbytesreturned: *mut u32) -> u32; 35 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 36 pub type DOT11EXTIHV_CREATE_DISCOVERY_PROFILES = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, binsecure: super::super::Foundation::BOOL, pihvprofileparams: *const DOT11EXT_IHV_PROFILE_PARAMS, pconnectablebssid: *const DOT11_BSS_LIST, pihvdiscoveryprofilelist: *mut DOT11EXT_IHV_DISCOVERY_PROFILE_LIST, pdwreasoncode: *mut u32) -> u32; 37 #[cfg(feature = "Win32_Foundation")] 38 pub type DOT11EXTIHV_DEINIT_ADAPTER = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE); 39 pub type DOT11EXTIHV_DEINIT_SERVICE = unsafe extern "system" fn(); 40 pub type DOT11EXTIHV_GET_VERSION_INFO = unsafe extern "system" fn(pdot11ihvversioninfo: *mut DOT11_IHV_VERSION_INFO) -> u32; 41 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 42 pub type DOT11EXTIHV_INIT_ADAPTER = unsafe extern "system" fn(pdot11adapter: *const DOT11_ADAPTER, hdot11svchandle: super::super::Foundation::HANDLE, phihvextadapter: *mut super::super::Foundation::HANDLE) -> u32; 43 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] 44 pub type DOT11EXTIHV_INIT_SERVICE = unsafe extern "system" fn(dwvernumused: u32, pdot11extapi: *const ::std::mem::ManuallyDrop<DOT11EXT_APIS>, pvreserved: *mut ::std::ffi::c_void, pdot11ihvhandlers: *mut ::std::mem::ManuallyDrop<DOT11EXT_IHV_HANDLERS>) -> u32; 45 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 46 pub type DOT11EXTIHV_INIT_VIRTUAL_STATION = unsafe extern "system" fn(pdot11extvsapi: *const ::std::mem::ManuallyDrop<DOT11EXT_VIRTUAL_STATION_APIS>, pvreserved: *mut ::std::ffi::c_void) -> u32; 47 #[cfg(feature = "Win32_Foundation")] 48 pub type DOT11EXTIHV_IS_UI_REQUEST_PENDING = unsafe extern "system" fn(guiduirequest: ::windows::runtime::GUID, pbisrequestpending: *mut super::super::Foundation::BOOL) -> u32; 49 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 50 pub type DOT11EXTIHV_ONEX_INDICATE_RESULT = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, msonexresult: DOT11_MSONEX_RESULT, pdot11msonexresultparams: *const DOT11_MSONEX_RESULT_PARAMS) -> u32; 51 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 52 pub type DOT11EXTIHV_PERFORM_CAPABILITY_MATCH = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, pihvprofileparams: *const DOT11EXT_IHV_PROFILE_PARAMS, pihvconnprofile: *const DOT11EXT_IHV_CONNECTIVITY_PROFILE, pihvsecprofile: *const DOT11EXT_IHV_SECURITY_PROFILE, pconnectablebssid: *const DOT11_BSS_LIST, pdwreasoncode: *mut u32) -> u32; 53 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 54 pub type DOT11EXTIHV_PERFORM_POST_ASSOCIATE = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, hsecuritysessionid: super::super::Foundation::HANDLE, pportstate: *const DOT11_PORT_STATE, udot11assocparamsbytes: u32, pdot11assocparams: *const super::WiFi::DOT11_ASSOCIATION_COMPLETION_PARAMETERS) -> u32; 55 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 56 pub type DOT11EXTIHV_PERFORM_PRE_ASSOCIATE = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, pihvprofileparams: *const DOT11EXT_IHV_PROFILE_PARAMS, pihvconnprofile: *const DOT11EXT_IHV_CONNECTIVITY_PROFILE, pihvsecprofile: *const DOT11EXT_IHV_SECURITY_PROFILE, pconnectablebssid: *const DOT11_BSS_LIST, pdwreasoncode: *mut u32) -> u32; 57 #[cfg(feature = "Win32_System_RemoteDesktop")] 58 pub type DOT11EXTIHV_PROCESS_SESSION_CHANGE = unsafe extern "system" fn(ueventtype: u32, psessionnotification: *const super::super::System::RemoteDesktop::WTSSESSION_NOTIFICATION) -> u32; 59 pub type DOT11EXTIHV_PROCESS_UI_RESPONSE = unsafe extern "system" fn(guiduirequest: ::windows::runtime::GUID, dwbytecount: u32, pvresponsebuffer: *const ::std::ffi::c_void) -> u32; 60 #[cfg(feature = "Win32_Foundation")] 61 pub type DOT11EXTIHV_QUERY_UI_REQUEST = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, connectionphase: DOT11EXT_IHV_CONNECTION_PHASE, ppihvuirequest: *mut *mut DOT11EXT_IHV_UI_REQUEST) -> u32; 62 #[cfg(feature = "Win32_Foundation")] 63 pub type DOT11EXTIHV_RECEIVE_INDICATION = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, indicationtype: DOT11EXT_IHV_INDICATION_TYPE, ubufferlength: u32, pvbuffer: *const ::std::ffi::c_void) -> u32; 64 #[cfg(feature = "Win32_Foundation")] 65 pub type DOT11EXTIHV_RECEIVE_PACKET = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, dwinbuffersize: u32, pvinbuffer: *const ::std::ffi::c_void) -> u32; 66 #[cfg(feature = "Win32_Foundation")] 67 pub type DOT11EXTIHV_SEND_PACKET_COMPLETION = unsafe extern "system" fn(hsendcompletion: super::super::Foundation::HANDLE) -> u32; 68 #[cfg(feature = "Win32_Foundation")] 69 pub type DOT11EXTIHV_STOP_POST_ASSOCIATE = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, ppeer: *const *const u8, dot11assocstatus: u32) -> u32; 70 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 71 pub type DOT11EXTIHV_VALIDATE_PROFILE = unsafe extern "system" fn(hihvextadapter: super::super::Foundation::HANDLE, pihvprofileparams: *const DOT11EXT_IHV_PROFILE_PARAMS, pihvconnprofile: *const DOT11EXT_IHV_CONNECTIVITY_PROFILE, pihvsecprofile: *const DOT11EXT_IHV_SECURITY_PROFILE, pdwreasoncode: *mut u32) -> u32; 72 pub type DOT11EXT_ALLOCATE_BUFFER = unsafe extern "system" fn(dwbytecount: u32, ppvbuffer: *mut *mut ::std::ffi::c_void) -> u32; 73 #[derive(:: std :: clone :: Clone)] 74 #[repr(C)] 75 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 76 pub struct DOT11EXT_APIS { 77 pub Dot11ExtAllocateBuffer: ::std::option::Option<DOT11EXT_ALLOCATE_BUFFER>, 78 pub Dot11ExtFreeBuffer: ::std::option::Option<DOT11EXT_FREE_BUFFER>, 79 pub Dot11ExtSetProfileCustomUserData: ::std::option::Option<DOT11EXT_SET_PROFILE_CUSTOM_USER_DATA>, 80 pub Dot11ExtGetProfileCustomUserData: ::std::option::Option<DOT11EXT_GET_PROFILE_CUSTOM_USER_DATA>, 81 pub Dot11ExtSetCurrentProfile: ::std::option::Option<DOT11EXT_SET_CURRENT_PROFILE>, 82 pub Dot11ExtSendUIRequest: ::std::option::Option<DOT11EXT_SEND_UI_REQUEST>, 83 pub Dot11ExtPreAssociateCompletion: ::std::option::Option<DOT11EXT_PRE_ASSOCIATE_COMPLETION>, 84 pub Dot11ExtPostAssociateCompletion: ::std::option::Option<DOT11EXT_POST_ASSOCIATE_COMPLETION>, 85 pub Dot11ExtSendNotification: ::std::option::Option<DOT11EXT_SEND_NOTIFICATION>, 86 pub Dot11ExtSendPacket: ::std::option::Option<DOT11EXT_SEND_PACKET>, 87 pub Dot11ExtSetEtherTypeHandling: ::std::option::Option<DOT11EXT_SET_ETHERTYPE_HANDLING>, 88 pub Dot11ExtSetAuthAlgorithm: ::std::option::Option<DOT11EXT_SET_AUTH_ALGORITHM>, 89 pub Dot11ExtSetUnicastCipherAlgorithm: ::std::option::Option<DOT11EXT_SET_UNICAST_CIPHER_ALGORITHM>, 90 pub Dot11ExtSetMulticastCipherAlgorithm: ::std::option::Option<DOT11EXT_SET_MULTICAST_CIPHER_ALGORITHM>, 91 pub Dot11ExtSetDefaultKey: ::std::option::Option<DOT11EXT_SET_DEFAULT_KEY>, 92 pub Dot11ExtSetKeyMappingKey: ::std::option::Option<DOT11EXT_SET_KEY_MAPPING_KEY>, 93 pub Dot11ExtSetDefaultKeyId: ::std::option::Option<DOT11EXT_SET_DEFAULT_KEY_ID>, 94 pub Dot11ExtNicSpecificExtension: ::std::option::Option<DOT11EXT_NIC_SPECIFIC_EXTENSION>, 95 pub Dot11ExtSetExcludeUnencrypted: ::std::option::Option<DOT11EXT_SET_EXCLUDE_UNENCRYPTED>, 96 pub Dot11ExtStartOneX: ::std::option::Option<DOT11EXT_ONEX_START>, 97 pub Dot11ExtStopOneX: ::std::option::Option<DOT11EXT_ONEX_STOP>, 98 pub Dot11ExtProcessSecurityPacket: ::std::option::Option<DOT11EXT_PROCESS_ONEX_PACKET>, 99 } 100 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 101 impl DOT11EXT_APIS {} 102 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 103 impl ::std::default::Default for DOT11EXT_APIS { default() -> Self104 fn default() -> Self { 105 unsafe { ::std::mem::zeroed() } 106 } 107 } 108 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 109 impl ::std::fmt::Debug for DOT11EXT_APIS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result110 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 111 fmt.debug_struct("DOT11EXT_APIS").finish() 112 } 113 } 114 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 115 impl ::std::cmp::PartialEq for DOT11EXT_APIS { eq(&self, other: &Self) -> bool116 fn eq(&self, other: &Self) -> bool { 117 self.Dot11ExtAllocateBuffer.map(|f| f as usize) == other.Dot11ExtAllocateBuffer.map(|f| f as usize) 118 && self.Dot11ExtFreeBuffer.map(|f| f as usize) == other.Dot11ExtFreeBuffer.map(|f| f as usize) 119 && self.Dot11ExtSetProfileCustomUserData.map(|f| f as usize) == other.Dot11ExtSetProfileCustomUserData.map(|f| f as usize) 120 && self.Dot11ExtGetProfileCustomUserData.map(|f| f as usize) == other.Dot11ExtGetProfileCustomUserData.map(|f| f as usize) 121 && self.Dot11ExtSetCurrentProfile.map(|f| f as usize) == other.Dot11ExtSetCurrentProfile.map(|f| f as usize) 122 && self.Dot11ExtSendUIRequest.map(|f| f as usize) == other.Dot11ExtSendUIRequest.map(|f| f as usize) 123 && self.Dot11ExtPreAssociateCompletion.map(|f| f as usize) == other.Dot11ExtPreAssociateCompletion.map(|f| f as usize) 124 && self.Dot11ExtPostAssociateCompletion.map(|f| f as usize) == other.Dot11ExtPostAssociateCompletion.map(|f| f as usize) 125 && self.Dot11ExtSendNotification.map(|f| f as usize) == other.Dot11ExtSendNotification.map(|f| f as usize) 126 && self.Dot11ExtSendPacket.map(|f| f as usize) == other.Dot11ExtSendPacket.map(|f| f as usize) 127 && self.Dot11ExtSetEtherTypeHandling.map(|f| f as usize) == other.Dot11ExtSetEtherTypeHandling.map(|f| f as usize) 128 && self.Dot11ExtSetAuthAlgorithm.map(|f| f as usize) == other.Dot11ExtSetAuthAlgorithm.map(|f| f as usize) 129 && self.Dot11ExtSetUnicastCipherAlgorithm.map(|f| f as usize) == other.Dot11ExtSetUnicastCipherAlgorithm.map(|f| f as usize) 130 && self.Dot11ExtSetMulticastCipherAlgorithm.map(|f| f as usize) == other.Dot11ExtSetMulticastCipherAlgorithm.map(|f| f as usize) 131 && self.Dot11ExtSetDefaultKey.map(|f| f as usize) == other.Dot11ExtSetDefaultKey.map(|f| f as usize) 132 && self.Dot11ExtSetKeyMappingKey.map(|f| f as usize) == other.Dot11ExtSetKeyMappingKey.map(|f| f as usize) 133 && self.Dot11ExtSetDefaultKeyId.map(|f| f as usize) == other.Dot11ExtSetDefaultKeyId.map(|f| f as usize) 134 && self.Dot11ExtNicSpecificExtension.map(|f| f as usize) == other.Dot11ExtNicSpecificExtension.map(|f| f as usize) 135 && self.Dot11ExtSetExcludeUnencrypted.map(|f| f as usize) == other.Dot11ExtSetExcludeUnencrypted.map(|f| f as usize) 136 && self.Dot11ExtStartOneX.map(|f| f as usize) == other.Dot11ExtStartOneX.map(|f| f as usize) 137 && self.Dot11ExtStopOneX.map(|f| f as usize) == other.Dot11ExtStopOneX.map(|f| f as usize) 138 && self.Dot11ExtProcessSecurityPacket.map(|f| f as usize) == other.Dot11ExtProcessSecurityPacket.map(|f| f as usize) 139 } 140 } 141 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 142 impl ::std::cmp::Eq for DOT11EXT_APIS {} 143 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 144 unsafe impl ::windows::runtime::Abi for DOT11EXT_APIS { 145 type Abi = ::std::mem::ManuallyDrop<Self>; 146 type DefaultType = Self; 147 } 148 pub type DOT11EXT_FREE_BUFFER = unsafe extern "system" fn(pvmemory: *const ::std::ffi::c_void); 149 #[cfg(feature = "Win32_Foundation")] 150 pub type DOT11EXT_GET_PROFILE_CUSTOM_USER_DATA = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, dwsessionid: u32, pdwdatasize: *mut u32, ppvdata: *mut *mut ::std::ffi::c_void) -> u32; 151 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 152 #[repr(transparent)] 153 pub struct DOT11EXT_IHV_CONNECTION_PHASE(pub i32); 154 pub const connection_phase_any: DOT11EXT_IHV_CONNECTION_PHASE = DOT11EXT_IHV_CONNECTION_PHASE(0i32); 155 pub const connection_phase_initial_connection: DOT11EXT_IHV_CONNECTION_PHASE = DOT11EXT_IHV_CONNECTION_PHASE(1i32); 156 pub const connection_phase_post_l3_connection: DOT11EXT_IHV_CONNECTION_PHASE = DOT11EXT_IHV_CONNECTION_PHASE(2i32); 157 impl ::std::convert::From<i32> for DOT11EXT_IHV_CONNECTION_PHASE { from(value: i32) -> Self158 fn from(value: i32) -> Self { 159 Self(value) 160 } 161 } 162 unsafe impl ::windows::runtime::Abi for DOT11EXT_IHV_CONNECTION_PHASE { 163 type Abi = Self; 164 type DefaultType = Self; 165 } 166 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 167 #[repr(C)] 168 #[cfg(feature = "Win32_Foundation")] 169 pub struct DOT11EXT_IHV_CONNECTIVITY_PROFILE { 170 pub pszXmlFragmentIhvConnectivity: super::super::Foundation::PWSTR, 171 } 172 #[cfg(feature = "Win32_Foundation")] 173 impl DOT11EXT_IHV_CONNECTIVITY_PROFILE {} 174 #[cfg(feature = "Win32_Foundation")] 175 impl ::std::default::Default for DOT11EXT_IHV_CONNECTIVITY_PROFILE { default() -> Self176 fn default() -> Self { 177 unsafe { ::std::mem::zeroed() } 178 } 179 } 180 #[cfg(feature = "Win32_Foundation")] 181 impl ::std::fmt::Debug for DOT11EXT_IHV_CONNECTIVITY_PROFILE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result182 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 183 fmt.debug_struct("DOT11EXT_IHV_CONNECTIVITY_PROFILE").field("pszXmlFragmentIhvConnectivity", &self.pszXmlFragmentIhvConnectivity).finish() 184 } 185 } 186 #[cfg(feature = "Win32_Foundation")] 187 impl ::std::cmp::PartialEq for DOT11EXT_IHV_CONNECTIVITY_PROFILE { eq(&self, other: &Self) -> bool188 fn eq(&self, other: &Self) -> bool { 189 self.pszXmlFragmentIhvConnectivity == other.pszXmlFragmentIhvConnectivity 190 } 191 } 192 #[cfg(feature = "Win32_Foundation")] 193 impl ::std::cmp::Eq for DOT11EXT_IHV_CONNECTIVITY_PROFILE {} 194 #[cfg(feature = "Win32_Foundation")] 195 unsafe impl ::windows::runtime::Abi for DOT11EXT_IHV_CONNECTIVITY_PROFILE { 196 type Abi = Self; 197 type DefaultType = Self; 198 } 199 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 200 #[repr(C)] 201 #[cfg(feature = "Win32_Foundation")] 202 pub struct DOT11EXT_IHV_DISCOVERY_PROFILE { 203 pub IhvConnectivityProfile: DOT11EXT_IHV_CONNECTIVITY_PROFILE, 204 pub IhvSecurityProfile: DOT11EXT_IHV_SECURITY_PROFILE, 205 } 206 #[cfg(feature = "Win32_Foundation")] 207 impl DOT11EXT_IHV_DISCOVERY_PROFILE {} 208 #[cfg(feature = "Win32_Foundation")] 209 impl ::std::default::Default for DOT11EXT_IHV_DISCOVERY_PROFILE { default() -> Self210 fn default() -> Self { 211 unsafe { ::std::mem::zeroed() } 212 } 213 } 214 #[cfg(feature = "Win32_Foundation")] 215 impl ::std::fmt::Debug for DOT11EXT_IHV_DISCOVERY_PROFILE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result216 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 217 fmt.debug_struct("DOT11EXT_IHV_DISCOVERY_PROFILE").field("IhvConnectivityProfile", &self.IhvConnectivityProfile).field("IhvSecurityProfile", &self.IhvSecurityProfile).finish() 218 } 219 } 220 #[cfg(feature = "Win32_Foundation")] 221 impl ::std::cmp::PartialEq for DOT11EXT_IHV_DISCOVERY_PROFILE { eq(&self, other: &Self) -> bool222 fn eq(&self, other: &Self) -> bool { 223 self.IhvConnectivityProfile == other.IhvConnectivityProfile && self.IhvSecurityProfile == other.IhvSecurityProfile 224 } 225 } 226 #[cfg(feature = "Win32_Foundation")] 227 impl ::std::cmp::Eq for DOT11EXT_IHV_DISCOVERY_PROFILE {} 228 #[cfg(feature = "Win32_Foundation")] 229 unsafe impl ::windows::runtime::Abi for DOT11EXT_IHV_DISCOVERY_PROFILE { 230 type Abi = Self; 231 type DefaultType = Self; 232 } 233 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 234 #[repr(C)] 235 #[cfg(feature = "Win32_Foundation")] 236 pub struct DOT11EXT_IHV_DISCOVERY_PROFILE_LIST { 237 pub dwCount: u32, 238 pub pIhvDiscoveryProfiles: *mut DOT11EXT_IHV_DISCOVERY_PROFILE, 239 } 240 #[cfg(feature = "Win32_Foundation")] 241 impl DOT11EXT_IHV_DISCOVERY_PROFILE_LIST {} 242 #[cfg(feature = "Win32_Foundation")] 243 impl ::std::default::Default for DOT11EXT_IHV_DISCOVERY_PROFILE_LIST { default() -> Self244 fn default() -> Self { 245 unsafe { ::std::mem::zeroed() } 246 } 247 } 248 #[cfg(feature = "Win32_Foundation")] 249 impl ::std::fmt::Debug for DOT11EXT_IHV_DISCOVERY_PROFILE_LIST { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result250 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 251 fmt.debug_struct("DOT11EXT_IHV_DISCOVERY_PROFILE_LIST").field("dwCount", &self.dwCount).field("pIhvDiscoveryProfiles", &self.pIhvDiscoveryProfiles).finish() 252 } 253 } 254 #[cfg(feature = "Win32_Foundation")] 255 impl ::std::cmp::PartialEq for DOT11EXT_IHV_DISCOVERY_PROFILE_LIST { eq(&self, other: &Self) -> bool256 fn eq(&self, other: &Self) -> bool { 257 self.dwCount == other.dwCount && self.pIhvDiscoveryProfiles == other.pIhvDiscoveryProfiles 258 } 259 } 260 #[cfg(feature = "Win32_Foundation")] 261 impl ::std::cmp::Eq for DOT11EXT_IHV_DISCOVERY_PROFILE_LIST {} 262 #[cfg(feature = "Win32_Foundation")] 263 unsafe impl ::windows::runtime::Abi for DOT11EXT_IHV_DISCOVERY_PROFILE_LIST { 264 type Abi = Self; 265 type DefaultType = Self; 266 } 267 #[derive(:: std :: clone :: Clone)] 268 #[repr(C)] 269 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] 270 pub struct DOT11EXT_IHV_HANDLERS { 271 pub Dot11ExtIhvDeinitService: ::std::option::Option<DOT11EXTIHV_DEINIT_SERVICE>, 272 pub Dot11ExtIhvInitAdapter: ::std::option::Option<DOT11EXTIHV_INIT_ADAPTER>, 273 pub Dot11ExtIhvDeinitAdapter: ::std::option::Option<DOT11EXTIHV_DEINIT_ADAPTER>, 274 pub Dot11ExtIhvPerformPreAssociate: ::std::option::Option<DOT11EXTIHV_PERFORM_PRE_ASSOCIATE>, 275 pub Dot11ExtIhvAdapterReset: ::std::option::Option<DOT11EXTIHV_ADAPTER_RESET>, 276 pub Dot11ExtIhvPerformPostAssociate: ::std::option::Option<DOT11EXTIHV_PERFORM_POST_ASSOCIATE>, 277 pub Dot11ExtIhvStopPostAssociate: ::std::option::Option<DOT11EXTIHV_STOP_POST_ASSOCIATE>, 278 pub Dot11ExtIhvValidateProfile: ::std::option::Option<DOT11EXTIHV_VALIDATE_PROFILE>, 279 pub Dot11ExtIhvPerformCapabilityMatch: ::std::option::Option<DOT11EXTIHV_PERFORM_CAPABILITY_MATCH>, 280 pub Dot11ExtIhvCreateDiscoveryProfiles: ::std::option::Option<DOT11EXTIHV_CREATE_DISCOVERY_PROFILES>, 281 pub Dot11ExtIhvProcessSessionChange: ::std::option::Option<DOT11EXTIHV_PROCESS_SESSION_CHANGE>, 282 pub Dot11ExtIhvReceiveIndication: ::std::option::Option<DOT11EXTIHV_RECEIVE_INDICATION>, 283 pub Dot11ExtIhvReceivePacket: ::std::option::Option<DOT11EXTIHV_RECEIVE_PACKET>, 284 pub Dot11ExtIhvSendPacketCompletion: ::std::option::Option<DOT11EXTIHV_SEND_PACKET_COMPLETION>, 285 pub Dot11ExtIhvIsUIRequestPending: ::std::option::Option<DOT11EXTIHV_IS_UI_REQUEST_PENDING>, 286 pub Dot11ExtIhvProcessUIResponse: ::std::option::Option<DOT11EXTIHV_PROCESS_UI_RESPONSE>, 287 pub Dot11ExtIhvQueryUIRequest: ::std::option::Option<DOT11EXTIHV_QUERY_UI_REQUEST>, 288 pub Dot11ExtIhvOnexIndicateResult: ::std::option::Option<DOT11EXTIHV_ONEX_INDICATE_RESULT>, 289 pub Dot11ExtIhvControl: ::std::option::Option<DOT11EXTIHV_CONTROL>, 290 } 291 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] 292 impl DOT11EXT_IHV_HANDLERS {} 293 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] 294 impl ::std::default::Default for DOT11EXT_IHV_HANDLERS { default() -> Self295 fn default() -> Self { 296 unsafe { ::std::mem::zeroed() } 297 } 298 } 299 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] 300 impl ::std::fmt::Debug for DOT11EXT_IHV_HANDLERS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result301 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 302 fmt.debug_struct("DOT11EXT_IHV_HANDLERS").finish() 303 } 304 } 305 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] 306 impl ::std::cmp::PartialEq for DOT11EXT_IHV_HANDLERS { eq(&self, other: &Self) -> bool307 fn eq(&self, other: &Self) -> bool { 308 self.Dot11ExtIhvDeinitService.map(|f| f as usize) == other.Dot11ExtIhvDeinitService.map(|f| f as usize) 309 && self.Dot11ExtIhvInitAdapter.map(|f| f as usize) == other.Dot11ExtIhvInitAdapter.map(|f| f as usize) 310 && self.Dot11ExtIhvDeinitAdapter.map(|f| f as usize) == other.Dot11ExtIhvDeinitAdapter.map(|f| f as usize) 311 && self.Dot11ExtIhvPerformPreAssociate.map(|f| f as usize) == other.Dot11ExtIhvPerformPreAssociate.map(|f| f as usize) 312 && self.Dot11ExtIhvAdapterReset.map(|f| f as usize) == other.Dot11ExtIhvAdapterReset.map(|f| f as usize) 313 && self.Dot11ExtIhvPerformPostAssociate.map(|f| f as usize) == other.Dot11ExtIhvPerformPostAssociate.map(|f| f as usize) 314 && self.Dot11ExtIhvStopPostAssociate.map(|f| f as usize) == other.Dot11ExtIhvStopPostAssociate.map(|f| f as usize) 315 && self.Dot11ExtIhvValidateProfile.map(|f| f as usize) == other.Dot11ExtIhvValidateProfile.map(|f| f as usize) 316 && self.Dot11ExtIhvPerformCapabilityMatch.map(|f| f as usize) == other.Dot11ExtIhvPerformCapabilityMatch.map(|f| f as usize) 317 && self.Dot11ExtIhvCreateDiscoveryProfiles.map(|f| f as usize) == other.Dot11ExtIhvCreateDiscoveryProfiles.map(|f| f as usize) 318 && self.Dot11ExtIhvProcessSessionChange.map(|f| f as usize) == other.Dot11ExtIhvProcessSessionChange.map(|f| f as usize) 319 && self.Dot11ExtIhvReceiveIndication.map(|f| f as usize) == other.Dot11ExtIhvReceiveIndication.map(|f| f as usize) 320 && self.Dot11ExtIhvReceivePacket.map(|f| f as usize) == other.Dot11ExtIhvReceivePacket.map(|f| f as usize) 321 && self.Dot11ExtIhvSendPacketCompletion.map(|f| f as usize) == other.Dot11ExtIhvSendPacketCompletion.map(|f| f as usize) 322 && self.Dot11ExtIhvIsUIRequestPending.map(|f| f as usize) == other.Dot11ExtIhvIsUIRequestPending.map(|f| f as usize) 323 && self.Dot11ExtIhvProcessUIResponse.map(|f| f as usize) == other.Dot11ExtIhvProcessUIResponse.map(|f| f as usize) 324 && self.Dot11ExtIhvQueryUIRequest.map(|f| f as usize) == other.Dot11ExtIhvQueryUIRequest.map(|f| f as usize) 325 && self.Dot11ExtIhvOnexIndicateResult.map(|f| f as usize) == other.Dot11ExtIhvOnexIndicateResult.map(|f| f as usize) 326 && self.Dot11ExtIhvControl.map(|f| f as usize) == other.Dot11ExtIhvControl.map(|f| f as usize) 327 } 328 } 329 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] 330 impl ::std::cmp::Eq for DOT11EXT_IHV_HANDLERS {} 331 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] 332 unsafe impl ::windows::runtime::Abi for DOT11EXT_IHV_HANDLERS { 333 type Abi = ::std::mem::ManuallyDrop<Self>; 334 type DefaultType = Self; 335 } 336 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 337 #[repr(transparent)] 338 pub struct DOT11EXT_IHV_INDICATION_TYPE(pub i32); 339 pub const IndicationTypeNicSpecificNotification: DOT11EXT_IHV_INDICATION_TYPE = DOT11EXT_IHV_INDICATION_TYPE(0i32); 340 pub const IndicationTypePmkidCandidateList: DOT11EXT_IHV_INDICATION_TYPE = DOT11EXT_IHV_INDICATION_TYPE(1i32); 341 pub const IndicationTypeTkipMicFailure: DOT11EXT_IHV_INDICATION_TYPE = DOT11EXT_IHV_INDICATION_TYPE(2i32); 342 pub const IndicationTypePhyStateChange: DOT11EXT_IHV_INDICATION_TYPE = DOT11EXT_IHV_INDICATION_TYPE(3i32); 343 pub const IndicationTypeLinkQuality: DOT11EXT_IHV_INDICATION_TYPE = DOT11EXT_IHV_INDICATION_TYPE(4i32); 344 impl ::std::convert::From<i32> for DOT11EXT_IHV_INDICATION_TYPE { from(value: i32) -> Self345 fn from(value: i32) -> Self { 346 Self(value) 347 } 348 } 349 unsafe impl ::windows::runtime::Abi for DOT11EXT_IHV_INDICATION_TYPE { 350 type Abi = Self; 351 type DefaultType = Self; 352 } 353 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 354 #[repr(C)] 355 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 356 pub struct DOT11EXT_IHV_PARAMS { 357 pub dot11ExtIhvProfileParams: DOT11EXT_IHV_PROFILE_PARAMS, 358 pub wstrProfileName: [u16; 256], 359 pub dwProfileTypeFlags: u32, 360 pub interfaceGuid: ::windows::runtime::GUID, 361 } 362 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 363 impl DOT11EXT_IHV_PARAMS {} 364 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 365 impl ::std::default::Default for DOT11EXT_IHV_PARAMS { default() -> Self366 fn default() -> Self { 367 unsafe { ::std::mem::zeroed() } 368 } 369 } 370 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 371 impl ::std::fmt::Debug for DOT11EXT_IHV_PARAMS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result372 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 373 fmt.debug_struct("DOT11EXT_IHV_PARAMS").field("dot11ExtIhvProfileParams", &self.dot11ExtIhvProfileParams).field("wstrProfileName", &self.wstrProfileName).field("dwProfileTypeFlags", &self.dwProfileTypeFlags).field("interfaceGuid", &self.interfaceGuid).finish() 374 } 375 } 376 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 377 impl ::std::cmp::PartialEq for DOT11EXT_IHV_PARAMS { eq(&self, other: &Self) -> bool378 fn eq(&self, other: &Self) -> bool { 379 self.dot11ExtIhvProfileParams == other.dot11ExtIhvProfileParams && self.wstrProfileName == other.wstrProfileName && self.dwProfileTypeFlags == other.dwProfileTypeFlags && self.interfaceGuid == other.interfaceGuid 380 } 381 } 382 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 383 impl ::std::cmp::Eq for DOT11EXT_IHV_PARAMS {} 384 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 385 unsafe impl ::windows::runtime::Abi for DOT11EXT_IHV_PARAMS { 386 type Abi = Self; 387 type DefaultType = Self; 388 } 389 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 390 #[repr(C)] 391 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 392 pub struct DOT11EXT_IHV_PROFILE_PARAMS { 393 pub pSsidList: *mut DOT11EXT_IHV_SSID_LIST, 394 pub BssType: super::WiFi::DOT11_BSS_TYPE, 395 pub pMSSecuritySettings: *mut DOT11_MSSECURITY_SETTINGS, 396 } 397 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 398 impl DOT11EXT_IHV_PROFILE_PARAMS {} 399 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 400 impl ::std::default::Default for DOT11EXT_IHV_PROFILE_PARAMS { default() -> Self401 fn default() -> Self { 402 unsafe { ::std::mem::zeroed() } 403 } 404 } 405 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 406 impl ::std::fmt::Debug for DOT11EXT_IHV_PROFILE_PARAMS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result407 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 408 fmt.debug_struct("DOT11EXT_IHV_PROFILE_PARAMS").field("pSsidList", &self.pSsidList).field("BssType", &self.BssType).field("pMSSecuritySettings", &self.pMSSecuritySettings).finish() 409 } 410 } 411 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 412 impl ::std::cmp::PartialEq for DOT11EXT_IHV_PROFILE_PARAMS { eq(&self, other: &Self) -> bool413 fn eq(&self, other: &Self) -> bool { 414 self.pSsidList == other.pSsidList && self.BssType == other.BssType && self.pMSSecuritySettings == other.pMSSecuritySettings 415 } 416 } 417 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 418 impl ::std::cmp::Eq for DOT11EXT_IHV_PROFILE_PARAMS {} 419 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 420 unsafe impl ::windows::runtime::Abi for DOT11EXT_IHV_PROFILE_PARAMS { 421 type Abi = Self; 422 type DefaultType = Self; 423 } 424 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 425 #[repr(C)] 426 #[cfg(feature = "Win32_Foundation")] 427 pub struct DOT11EXT_IHV_SECURITY_PROFILE { 428 pub pszXmlFragmentIhvSecurity: super::super::Foundation::PWSTR, 429 pub bUseMSOnex: super::super::Foundation::BOOL, 430 } 431 #[cfg(feature = "Win32_Foundation")] 432 impl DOT11EXT_IHV_SECURITY_PROFILE {} 433 #[cfg(feature = "Win32_Foundation")] 434 impl ::std::default::Default for DOT11EXT_IHV_SECURITY_PROFILE { default() -> Self435 fn default() -> Self { 436 unsafe { ::std::mem::zeroed() } 437 } 438 } 439 #[cfg(feature = "Win32_Foundation")] 440 impl ::std::fmt::Debug for DOT11EXT_IHV_SECURITY_PROFILE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result441 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 442 fmt.debug_struct("DOT11EXT_IHV_SECURITY_PROFILE").field("pszXmlFragmentIhvSecurity", &self.pszXmlFragmentIhvSecurity).field("bUseMSOnex", &self.bUseMSOnex).finish() 443 } 444 } 445 #[cfg(feature = "Win32_Foundation")] 446 impl ::std::cmp::PartialEq for DOT11EXT_IHV_SECURITY_PROFILE { eq(&self, other: &Self) -> bool447 fn eq(&self, other: &Self) -> bool { 448 self.pszXmlFragmentIhvSecurity == other.pszXmlFragmentIhvSecurity && self.bUseMSOnex == other.bUseMSOnex 449 } 450 } 451 #[cfg(feature = "Win32_Foundation")] 452 impl ::std::cmp::Eq for DOT11EXT_IHV_SECURITY_PROFILE {} 453 #[cfg(feature = "Win32_Foundation")] 454 unsafe impl ::windows::runtime::Abi for DOT11EXT_IHV_SECURITY_PROFILE { 455 type Abi = Self; 456 type DefaultType = Self; 457 } 458 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 459 #[repr(C)] 460 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 461 pub struct DOT11EXT_IHV_SSID_LIST { 462 pub ulCount: u32, 463 pub SSIDs: [super::WiFi::DOT11_SSID; 1], 464 } 465 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 466 impl DOT11EXT_IHV_SSID_LIST {} 467 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 468 impl ::std::default::Default for DOT11EXT_IHV_SSID_LIST { default() -> Self469 fn default() -> Self { 470 unsafe { ::std::mem::zeroed() } 471 } 472 } 473 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 474 impl ::std::fmt::Debug for DOT11EXT_IHV_SSID_LIST { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result475 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 476 fmt.debug_struct("DOT11EXT_IHV_SSID_LIST").field("ulCount", &self.ulCount).field("SSIDs", &self.SSIDs).finish() 477 } 478 } 479 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 480 impl ::std::cmp::PartialEq for DOT11EXT_IHV_SSID_LIST { eq(&self, other: &Self) -> bool481 fn eq(&self, other: &Self) -> bool { 482 self.ulCount == other.ulCount && self.SSIDs == other.SSIDs 483 } 484 } 485 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 486 impl ::std::cmp::Eq for DOT11EXT_IHV_SSID_LIST {} 487 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 488 unsafe impl ::windows::runtime::Abi for DOT11EXT_IHV_SSID_LIST { 489 type Abi = Self; 490 type DefaultType = Self; 491 } 492 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 493 #[repr(C)] 494 pub struct DOT11EXT_IHV_UI_REQUEST { 495 pub dwSessionId: u32, 496 pub guidUIRequest: ::windows::runtime::GUID, 497 pub UIPageClsid: ::windows::runtime::GUID, 498 pub dwByteCount: u32, 499 pub pvUIRequest: *mut u8, 500 } 501 impl DOT11EXT_IHV_UI_REQUEST {} 502 impl ::std::default::Default for DOT11EXT_IHV_UI_REQUEST { default() -> Self503 fn default() -> Self { 504 unsafe { ::std::mem::zeroed() } 505 } 506 } 507 impl ::std::fmt::Debug for DOT11EXT_IHV_UI_REQUEST { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result508 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 509 fmt.debug_struct("DOT11EXT_IHV_UI_REQUEST").field("dwSessionId", &self.dwSessionId).field("guidUIRequest", &self.guidUIRequest).field("UIPageClsid", &self.UIPageClsid).field("dwByteCount", &self.dwByteCount).field("pvUIRequest", &self.pvUIRequest).finish() 510 } 511 } 512 impl ::std::cmp::PartialEq for DOT11EXT_IHV_UI_REQUEST { eq(&self, other: &Self) -> bool513 fn eq(&self, other: &Self) -> bool { 514 self.dwSessionId == other.dwSessionId && self.guidUIRequest == other.guidUIRequest && self.UIPageClsid == other.UIPageClsid && self.dwByteCount == other.dwByteCount && self.pvUIRequest == other.pvUIRequest 515 } 516 } 517 impl ::std::cmp::Eq for DOT11EXT_IHV_UI_REQUEST {} 518 unsafe impl ::windows::runtime::Abi for DOT11EXT_IHV_UI_REQUEST { 519 type Abi = Self; 520 type DefaultType = Self; 521 } 522 #[cfg(feature = "Win32_Foundation")] 523 pub type DOT11EXT_NIC_SPECIFIC_EXTENSION = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, dwinbuffersize: u32, pvinbuffer: *const ::std::ffi::c_void, pdwoutbuffersize: *mut u32, pvoutbuffer: *mut ::std::ffi::c_void) -> u32; 524 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 525 pub type DOT11EXT_ONEX_START = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, peapattributes: *const super::super::Security::ExtensibleAuthenticationProtocol::EAP_ATTRIBUTES) -> u32; 526 #[cfg(feature = "Win32_Foundation")] 527 pub type DOT11EXT_ONEX_STOP = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE) -> u32; 528 #[cfg(feature = "Win32_Foundation")] 529 pub type DOT11EXT_POST_ASSOCIATE_COMPLETION = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hsecuritysessionid: super::super::Foundation::HANDLE, ppeer: *const *const u8, dwreasoncode: u32, dwwin32error: u32) -> u32; 530 #[cfg(feature = "Win32_Foundation")] 531 pub type DOT11EXT_PRE_ASSOCIATE_COMPLETION = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, dwreasoncode: u32, dwwin32error: u32) -> u32; 532 #[cfg(feature = "Win32_Foundation")] 533 pub type DOT11EXT_PROCESS_ONEX_PACKET = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, dwinpacketsize: u32, pvinpacket: *const ::std::ffi::c_void) -> u32; 534 pub const DOT11EXT_PSK_MAX_LENGTH: u32 = 64u32; 535 #[cfg(feature = "Win32_Foundation")] 536 pub type DOT11EXT_QUERY_VIRTUAL_STATION_PROPERTIES = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, pbisvirtualstation: *mut super::super::Foundation::BOOL, pgprimary: *mut ::windows::runtime::GUID, pvreserved: *mut ::std::ffi::c_void) -> u32; 537 #[cfg(feature = "Win32_Foundation")] 538 pub type DOT11EXT_RELEASE_VIRTUAL_STATION = unsafe extern "system" fn(hdot11primaryhandle: super::super::Foundation::HANDLE, pvreserved: *mut ::std::ffi::c_void) -> u32; 539 #[cfg(feature = "Win32_Foundation")] 540 pub type DOT11EXT_REQUEST_VIRTUAL_STATION = unsafe extern "system" fn(hdot11primaryhandle: super::super::Foundation::HANDLE, pvreserved: *mut ::std::ffi::c_void) -> u32; 541 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 542 pub type DOT11EXT_SEND_NOTIFICATION = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, pnotificationdata: *const super::WiFi::L2_NOTIFICATION_DATA) -> u32; 543 #[cfg(feature = "Win32_Foundation")] 544 pub type DOT11EXT_SEND_PACKET = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, upacketlen: u32, pvpacket: *const ::std::ffi::c_void, hsendcompletion: super::super::Foundation::HANDLE) -> u32; 545 #[cfg(feature = "Win32_Foundation")] 546 pub type DOT11EXT_SEND_UI_REQUEST = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, pihvuirequest: *const DOT11EXT_IHV_UI_REQUEST) -> u32; 547 #[cfg(feature = "Win32_Foundation")] 548 pub type DOT11EXT_SET_AUTH_ALGORITHM = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, dwauthalgo: u32) -> u32; 549 #[cfg(feature = "Win32_Foundation")] 550 pub type DOT11EXT_SET_CURRENT_PROFILE = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, pihvconnprofile: *const DOT11EXT_IHV_CONNECTIVITY_PROFILE, pihvsecprofile: *const DOT11EXT_IHV_SECURITY_PROFILE) -> u32; 551 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 552 pub type DOT11EXT_SET_DEFAULT_KEY = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, pkey: *const super::WiFi::DOT11_CIPHER_DEFAULT_KEY_VALUE, dot11direction: super::WiFi::DOT11_DIRECTION) -> u32; 553 #[cfg(feature = "Win32_Foundation")] 554 pub type DOT11EXT_SET_DEFAULT_KEY_ID = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, udefaultkeyid: u32) -> u32; 555 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 556 pub type DOT11EXT_SET_ETHERTYPE_HANDLING = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, umaxbacklog: u32, unumofexemption: u32, pexemption: *const super::WiFi::DOT11_PRIVACY_EXEMPTION, unumofregistration: u32, pusregistration: *const u16) -> u32; 557 #[cfg(feature = "Win32_Foundation")] 558 pub type DOT11EXT_SET_EXCLUDE_UNENCRYPTED = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, bexcludeunencrypted: super::super::Foundation::BOOL) -> u32; 559 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 560 pub type DOT11EXT_SET_KEY_MAPPING_KEY = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, pkey: *const super::WiFi::DOT11_CIPHER_KEY_MAPPING_KEY_VALUE) -> u32; 561 #[cfg(feature = "Win32_Foundation")] 562 pub type DOT11EXT_SET_MULTICAST_CIPHER_ALGORITHM = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, dwmulticastcipheralgo: u32) -> u32; 563 #[cfg(feature = "Win32_Foundation")] 564 pub type DOT11EXT_SET_PROFILE_CUSTOM_USER_DATA = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, dwsessionid: u32, dwdatasize: u32, pvdata: *const ::std::ffi::c_void) -> u32; 565 #[cfg(feature = "Win32_Foundation")] 566 pub type DOT11EXT_SET_UNICAST_CIPHER_ALGORITHM = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, dwunicastcipheralgo: u32) -> u32; 567 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 568 pub type DOT11EXT_SET_VIRTUAL_STATION_AP_PROPERTIES = unsafe extern "system" fn(hdot11svchandle: super::super::Foundation::HANDLE, hconnectsession: super::super::Foundation::HANDLE, dwnumproperties: u32, pproperties: *const DOT11EXT_VIRTUAL_STATION_AP_PROPERTY, pvreserved: *mut ::std::ffi::c_void) -> u32; 569 #[derive(:: std :: clone :: Clone)] 570 #[repr(C)] 571 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 572 pub struct DOT11EXT_VIRTUAL_STATION_APIS { 573 pub Dot11ExtRequestVirtualStation: ::std::option::Option<DOT11EXT_REQUEST_VIRTUAL_STATION>, 574 pub Dot11ExtReleaseVirtualStation: ::std::option::Option<DOT11EXT_RELEASE_VIRTUAL_STATION>, 575 pub Dot11ExtQueryVirtualStationProperties: ::std::option::Option<DOT11EXT_QUERY_VIRTUAL_STATION_PROPERTIES>, 576 pub Dot11ExtSetVirtualStationAPProperties: ::std::option::Option<DOT11EXT_SET_VIRTUAL_STATION_AP_PROPERTIES>, 577 } 578 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 579 impl DOT11EXT_VIRTUAL_STATION_APIS {} 580 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 581 impl ::std::default::Default for DOT11EXT_VIRTUAL_STATION_APIS { default() -> Self582 fn default() -> Self { 583 unsafe { ::std::mem::zeroed() } 584 } 585 } 586 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 587 impl ::std::fmt::Debug for DOT11EXT_VIRTUAL_STATION_APIS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result588 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 589 fmt.debug_struct("DOT11EXT_VIRTUAL_STATION_APIS").finish() 590 } 591 } 592 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 593 impl ::std::cmp::PartialEq for DOT11EXT_VIRTUAL_STATION_APIS { eq(&self, other: &Self) -> bool594 fn eq(&self, other: &Self) -> bool { 595 self.Dot11ExtRequestVirtualStation.map(|f| f as usize) == other.Dot11ExtRequestVirtualStation.map(|f| f as usize) 596 && self.Dot11ExtReleaseVirtualStation.map(|f| f as usize) == other.Dot11ExtReleaseVirtualStation.map(|f| f as usize) 597 && self.Dot11ExtQueryVirtualStationProperties.map(|f| f as usize) == other.Dot11ExtQueryVirtualStationProperties.map(|f| f as usize) 598 && self.Dot11ExtSetVirtualStationAPProperties.map(|f| f as usize) == other.Dot11ExtSetVirtualStationAPProperties.map(|f| f as usize) 599 } 600 } 601 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 602 impl ::std::cmp::Eq for DOT11EXT_VIRTUAL_STATION_APIS {} 603 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 604 unsafe impl ::windows::runtime::Abi for DOT11EXT_VIRTUAL_STATION_APIS { 605 type Abi = ::std::mem::ManuallyDrop<Self>; 606 type DefaultType = Self; 607 } 608 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 609 #[repr(C)] 610 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 611 pub struct DOT11EXT_VIRTUAL_STATION_AP_PROPERTY { 612 pub dot11SSID: super::WiFi::DOT11_SSID, 613 pub dot11AuthAlgo: super::WiFi::DOT11_AUTH_ALGORITHM, 614 pub dot11CipherAlgo: super::WiFi::DOT11_CIPHER_ALGORITHM, 615 pub bIsPassPhrase: super::super::Foundation::BOOL, 616 pub dwKeyLength: u32, 617 pub ucKeyData: [u8; 64], 618 } 619 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 620 impl DOT11EXT_VIRTUAL_STATION_AP_PROPERTY {} 621 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 622 impl ::std::default::Default for DOT11EXT_VIRTUAL_STATION_AP_PROPERTY { default() -> Self623 fn default() -> Self { 624 unsafe { ::std::mem::zeroed() } 625 } 626 } 627 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 628 impl ::std::fmt::Debug for DOT11EXT_VIRTUAL_STATION_AP_PROPERTY { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result629 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 630 fmt.debug_struct("DOT11EXT_VIRTUAL_STATION_AP_PROPERTY") 631 .field("dot11SSID", &self.dot11SSID) 632 .field("dot11AuthAlgo", &self.dot11AuthAlgo) 633 .field("dot11CipherAlgo", &self.dot11CipherAlgo) 634 .field("bIsPassPhrase", &self.bIsPassPhrase) 635 .field("dwKeyLength", &self.dwKeyLength) 636 .field("ucKeyData", &self.ucKeyData) 637 .finish() 638 } 639 } 640 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 641 impl ::std::cmp::PartialEq for DOT11EXT_VIRTUAL_STATION_AP_PROPERTY { eq(&self, other: &Self) -> bool642 fn eq(&self, other: &Self) -> bool { 643 self.dot11SSID == other.dot11SSID && self.dot11AuthAlgo == other.dot11AuthAlgo && self.dot11CipherAlgo == other.dot11CipherAlgo && self.bIsPassPhrase == other.bIsPassPhrase && self.dwKeyLength == other.dwKeyLength && self.ucKeyData == other.ucKeyData 644 } 645 } 646 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 647 impl ::std::cmp::Eq for DOT11EXT_VIRTUAL_STATION_AP_PROPERTY {} 648 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 649 unsafe impl ::windows::runtime::Abi for DOT11EXT_VIRTUAL_STATION_AP_PROPERTY { 650 type Abi = Self; 651 type DefaultType = Self; 652 } 653 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 654 #[repr(C)] 655 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 656 pub struct DOT11_ADAPTER { 657 pub gAdapterId: ::windows::runtime::GUID, 658 pub pszDescription: super::super::Foundation::PWSTR, 659 pub Dot11CurrentOpMode: super::WiFi::DOT11_CURRENT_OPERATION_MODE, 660 } 661 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 662 impl DOT11_ADAPTER {} 663 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 664 impl ::std::default::Default for DOT11_ADAPTER { default() -> Self665 fn default() -> Self { 666 unsafe { ::std::mem::zeroed() } 667 } 668 } 669 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 670 impl ::std::fmt::Debug for DOT11_ADAPTER { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result671 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 672 fmt.debug_struct("DOT11_ADAPTER").field("gAdapterId", &self.gAdapterId).field("pszDescription", &self.pszDescription).field("Dot11CurrentOpMode", &self.Dot11CurrentOpMode).finish() 673 } 674 } 675 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 676 impl ::std::cmp::PartialEq for DOT11_ADAPTER { eq(&self, other: &Self) -> bool677 fn eq(&self, other: &Self) -> bool { 678 self.gAdapterId == other.gAdapterId && self.pszDescription == other.pszDescription && self.Dot11CurrentOpMode == other.Dot11CurrentOpMode 679 } 680 } 681 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 682 impl ::std::cmp::Eq for DOT11_ADAPTER {} 683 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi"))] 684 unsafe impl ::windows::runtime::Abi for DOT11_ADAPTER { 685 type Abi = Self; 686 type DefaultType = Self; 687 } 688 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 689 #[repr(C)] 690 pub struct DOT11_BSS_LIST { 691 pub uNumOfBytes: u32, 692 pub pucBuffer: *mut u8, 693 } 694 impl DOT11_BSS_LIST {} 695 impl ::std::default::Default for DOT11_BSS_LIST { default() -> Self696 fn default() -> Self { 697 unsafe { ::std::mem::zeroed() } 698 } 699 } 700 impl ::std::fmt::Debug for DOT11_BSS_LIST { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result701 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 702 fmt.debug_struct("DOT11_BSS_LIST").field("uNumOfBytes", &self.uNumOfBytes).field("pucBuffer", &self.pucBuffer).finish() 703 } 704 } 705 impl ::std::cmp::PartialEq for DOT11_BSS_LIST { eq(&self, other: &Self) -> bool706 fn eq(&self, other: &Self) -> bool { 707 self.uNumOfBytes == other.uNumOfBytes && self.pucBuffer == other.pucBuffer 708 } 709 } 710 impl ::std::cmp::Eq for DOT11_BSS_LIST {} 711 unsafe impl ::windows::runtime::Abi for DOT11_BSS_LIST { 712 type Abi = Self; 713 type DefaultType = Self; 714 } 715 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 716 #[repr(C)] 717 #[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] 718 pub struct DOT11_EAP_RESULT { 719 pub dwFailureReasonCode: u32, 720 pub pAttribArray: *mut super::super::Security::ExtensibleAuthenticationProtocol::EAP_ATTRIBUTES, 721 } 722 #[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] 723 impl DOT11_EAP_RESULT {} 724 #[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] 725 impl ::std::default::Default for DOT11_EAP_RESULT { default() -> Self726 fn default() -> Self { 727 unsafe { ::std::mem::zeroed() } 728 } 729 } 730 #[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] 731 impl ::std::fmt::Debug for DOT11_EAP_RESULT { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result732 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 733 fmt.debug_struct("DOT11_EAP_RESULT").field("dwFailureReasonCode", &self.dwFailureReasonCode).field("pAttribArray", &self.pAttribArray).finish() 734 } 735 } 736 #[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] 737 impl ::std::cmp::PartialEq for DOT11_EAP_RESULT { eq(&self, other: &Self) -> bool738 fn eq(&self, other: &Self) -> bool { 739 self.dwFailureReasonCode == other.dwFailureReasonCode && self.pAttribArray == other.pAttribArray 740 } 741 } 742 #[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] 743 impl ::std::cmp::Eq for DOT11_EAP_RESULT {} 744 #[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] 745 unsafe impl ::windows::runtime::Abi for DOT11_EAP_RESULT { 746 type Abi = Self; 747 type DefaultType = Self; 748 } 749 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 750 #[repr(C)] 751 pub struct DOT11_IHV_VERSION_INFO { 752 pub dwVerMin: u32, 753 pub dwVerMax: u32, 754 } 755 impl DOT11_IHV_VERSION_INFO {} 756 impl ::std::default::Default for DOT11_IHV_VERSION_INFO { default() -> Self757 fn default() -> Self { 758 unsafe { ::std::mem::zeroed() } 759 } 760 } 761 impl ::std::fmt::Debug for DOT11_IHV_VERSION_INFO { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result762 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 763 fmt.debug_struct("DOT11_IHV_VERSION_INFO").field("dwVerMin", &self.dwVerMin).field("dwVerMax", &self.dwVerMax).finish() 764 } 765 } 766 impl ::std::cmp::PartialEq for DOT11_IHV_VERSION_INFO { eq(&self, other: &Self) -> bool767 fn eq(&self, other: &Self) -> bool { 768 self.dwVerMin == other.dwVerMin && self.dwVerMax == other.dwVerMax 769 } 770 } 771 impl ::std::cmp::Eq for DOT11_IHV_VERSION_INFO {} 772 unsafe impl ::windows::runtime::Abi for DOT11_IHV_VERSION_INFO { 773 type Abi = Self; 774 type DefaultType = Self; 775 } 776 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 777 #[repr(transparent)] 778 pub struct DOT11_MSONEX_RESULT(pub i32); 779 pub const DOT11_MSONEX_SUCCESS: DOT11_MSONEX_RESULT = DOT11_MSONEX_RESULT(0i32); 780 pub const DOT11_MSONEX_FAILURE: DOT11_MSONEX_RESULT = DOT11_MSONEX_RESULT(1i32); 781 pub const DOT11_MSONEX_IN_PROGRESS: DOT11_MSONEX_RESULT = DOT11_MSONEX_RESULT(2i32); 782 impl ::std::convert::From<i32> for DOT11_MSONEX_RESULT { from(value: i32) -> Self783 fn from(value: i32) -> Self { 784 Self(value) 785 } 786 } 787 unsafe impl ::windows::runtime::Abi for DOT11_MSONEX_RESULT { 788 type Abi = Self; 789 type DefaultType = Self; 790 } 791 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 792 #[repr(C)] 793 #[cfg(all(feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 794 pub struct DOT11_MSONEX_RESULT_PARAMS { 795 pub Dot11OnexAuthStatus: super::WiFi::ONEX_AUTH_STATUS, 796 pub Dot11OneXReasonCode: super::WiFi::ONEX_REASON_CODE, 797 pub pbMPPESendKey: *mut u8, 798 pub dwMPPESendKeyLen: u32, 799 pub pbMPPERecvKey: *mut u8, 800 pub dwMPPERecvKeyLen: u32, 801 pub pDot11EapResult: *mut DOT11_EAP_RESULT, 802 } 803 #[cfg(all(feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 804 impl DOT11_MSONEX_RESULT_PARAMS {} 805 #[cfg(all(feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 806 impl ::std::default::Default for DOT11_MSONEX_RESULT_PARAMS { default() -> Self807 fn default() -> Self { 808 unsafe { ::std::mem::zeroed() } 809 } 810 } 811 #[cfg(all(feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 812 impl ::std::fmt::Debug for DOT11_MSONEX_RESULT_PARAMS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result813 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 814 fmt.debug_struct("DOT11_MSONEX_RESULT_PARAMS") 815 .field("Dot11OnexAuthStatus", &self.Dot11OnexAuthStatus) 816 .field("Dot11OneXReasonCode", &self.Dot11OneXReasonCode) 817 .field("pbMPPESendKey", &self.pbMPPESendKey) 818 .field("dwMPPESendKeyLen", &self.dwMPPESendKeyLen) 819 .field("pbMPPERecvKey", &self.pbMPPERecvKey) 820 .field("dwMPPERecvKeyLen", &self.dwMPPERecvKeyLen) 821 .field("pDot11EapResult", &self.pDot11EapResult) 822 .finish() 823 } 824 } 825 #[cfg(all(feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 826 impl ::std::cmp::PartialEq for DOT11_MSONEX_RESULT_PARAMS { eq(&self, other: &Self) -> bool827 fn eq(&self, other: &Self) -> bool { 828 self.Dot11OnexAuthStatus == other.Dot11OnexAuthStatus && self.Dot11OneXReasonCode == other.Dot11OneXReasonCode && self.pbMPPESendKey == other.pbMPPESendKey && self.dwMPPESendKeyLen == other.dwMPPESendKeyLen && self.pbMPPERecvKey == other.pbMPPERecvKey && self.dwMPPERecvKeyLen == other.dwMPPERecvKeyLen && self.pDot11EapResult == other.pDot11EapResult 829 } 830 } 831 #[cfg(all(feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 832 impl ::std::cmp::Eq for DOT11_MSONEX_RESULT_PARAMS {} 833 #[cfg(all(feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 834 unsafe impl ::windows::runtime::Abi for DOT11_MSONEX_RESULT_PARAMS { 835 type Abi = Self; 836 type DefaultType = Self; 837 } 838 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 839 #[repr(C)] 840 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 841 pub struct DOT11_MSSECURITY_SETTINGS { 842 pub dot11AuthAlgorithm: super::WiFi::DOT11_AUTH_ALGORITHM, 843 pub dot11CipherAlgorithm: super::WiFi::DOT11_CIPHER_ALGORITHM, 844 pub fOneXEnabled: super::super::Foundation::BOOL, 845 pub eapMethodType: super::super::Security::ExtensibleAuthenticationProtocol::EAP_METHOD_TYPE, 846 pub dwEapConnectionDataLen: u32, 847 pub pEapConnectionData: *mut u8, 848 } 849 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 850 impl DOT11_MSSECURITY_SETTINGS {} 851 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 852 impl ::std::default::Default for DOT11_MSSECURITY_SETTINGS { default() -> Self853 fn default() -> Self { 854 unsafe { ::std::mem::zeroed() } 855 } 856 } 857 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 858 impl ::std::fmt::Debug for DOT11_MSSECURITY_SETTINGS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result859 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 860 fmt.debug_struct("DOT11_MSSECURITY_SETTINGS") 861 .field("dot11AuthAlgorithm", &self.dot11AuthAlgorithm) 862 .field("dot11CipherAlgorithm", &self.dot11CipherAlgorithm) 863 .field("fOneXEnabled", &self.fOneXEnabled) 864 .field("eapMethodType", &self.eapMethodType) 865 .field("dwEapConnectionDataLen", &self.dwEapConnectionDataLen) 866 .field("pEapConnectionData", &self.pEapConnectionData) 867 .finish() 868 } 869 } 870 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 871 impl ::std::cmp::PartialEq for DOT11_MSSECURITY_SETTINGS { eq(&self, other: &Self) -> bool872 fn eq(&self, other: &Self) -> bool { 873 self.dot11AuthAlgorithm == other.dot11AuthAlgorithm && self.dot11CipherAlgorithm == other.dot11CipherAlgorithm && self.fOneXEnabled == other.fOneXEnabled && self.eapMethodType == other.eapMethodType && self.dwEapConnectionDataLen == other.dwEapConnectionDataLen && self.pEapConnectionData == other.pEapConnectionData 874 } 875 } 876 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 877 impl ::std::cmp::Eq for DOT11_MSSECURITY_SETTINGS {} 878 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WiFi", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] 879 unsafe impl ::windows::runtime::Abi for DOT11_MSSECURITY_SETTINGS { 880 type Abi = Self; 881 type DefaultType = Self; 882 } 883 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 884 #[repr(C)] 885 #[cfg(feature = "Win32_Foundation")] 886 pub struct DOT11_PORT_STATE { 887 pub PeerMacAddress: [u8; 6], 888 pub uSessionId: u32, 889 pub bPortControlled: super::super::Foundation::BOOL, 890 pub bPortAuthorized: super::super::Foundation::BOOL, 891 } 892 #[cfg(feature = "Win32_Foundation")] 893 impl DOT11_PORT_STATE {} 894 #[cfg(feature = "Win32_Foundation")] 895 impl ::std::default::Default for DOT11_PORT_STATE { default() -> Self896 fn default() -> Self { 897 unsafe { ::std::mem::zeroed() } 898 } 899 } 900 #[cfg(feature = "Win32_Foundation")] 901 impl ::std::fmt::Debug for DOT11_PORT_STATE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result902 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 903 fmt.debug_struct("DOT11_PORT_STATE").field("PeerMacAddress", &self.PeerMacAddress).field("uSessionId", &self.uSessionId).field("bPortControlled", &self.bPortControlled).field("bPortAuthorized", &self.bPortAuthorized).finish() 904 } 905 } 906 #[cfg(feature = "Win32_Foundation")] 907 impl ::std::cmp::PartialEq for DOT11_PORT_STATE { eq(&self, other: &Self) -> bool908 fn eq(&self, other: &Self) -> bool { 909 self.PeerMacAddress == other.PeerMacAddress && self.uSessionId == other.uSessionId && self.bPortControlled == other.bPortControlled && self.bPortAuthorized == other.bPortAuthorized 910 } 911 } 912 #[cfg(feature = "Win32_Foundation")] 913 impl ::std::cmp::Eq for DOT11_PORT_STATE {} 914 #[cfg(feature = "Win32_Foundation")] 915 unsafe impl ::windows::runtime::Abi for DOT11_PORT_STATE { 916 type Abi = Self; 917 type DefaultType = Self; 918 } 919 pub const DOT11_RSN_KCK_LENGTH: u32 = 16u32; 920 pub const DOT11_RSN_KEK_LENGTH: u32 = 16u32; 921 pub const DOT11_RSN_MAX_CIPHER_KEY_LENGTH: u32 = 32u32; 922 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 923 #[repr(C, packed(1))] 924 pub struct DOT11_SECURITY_PACKET_HEADER { 925 pub PeerMac: [u8; 6], 926 pub usEtherType: u16, 927 pub Data: [u8; 1], 928 } 929 impl DOT11_SECURITY_PACKET_HEADER {} 930 impl ::std::default::Default for DOT11_SECURITY_PACKET_HEADER { default() -> Self931 fn default() -> Self { 932 unsafe { ::std::mem::zeroed() } 933 } 934 } 935 impl ::std::cmp::PartialEq for DOT11_SECURITY_PACKET_HEADER { eq(&self, _other: &Self) -> bool936 fn eq(&self, _other: &Self) -> bool { 937 unimplemented!() 938 } 939 } 940 impl ::std::cmp::Eq for DOT11_SECURITY_PACKET_HEADER {} 941 unsafe impl ::windows::runtime::Abi for DOT11_SECURITY_PACKET_HEADER { 942 type Abi = Self; 943 type DefaultType = Self; 944 } 945 pub const EAPOL_REQUEST_ID_WOL_FLAG_MUST_ENCRYPT: u32 = 1u32; 946 pub const ETHERNET_LENGTH_OF_ADDRESS: u32 = 6u32; 947 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 948 #[repr(C)] 949 pub struct GEN_GET_NETCARD_TIME { 950 pub ReadTime: u64, 951 } 952 impl GEN_GET_NETCARD_TIME {} 953 impl ::std::default::Default for GEN_GET_NETCARD_TIME { default() -> Self954 fn default() -> Self { 955 unsafe { ::std::mem::zeroed() } 956 } 957 } 958 impl ::std::fmt::Debug for GEN_GET_NETCARD_TIME { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result959 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 960 fmt.debug_struct("GEN_GET_NETCARD_TIME").field("ReadTime", &self.ReadTime).finish() 961 } 962 } 963 impl ::std::cmp::PartialEq for GEN_GET_NETCARD_TIME { eq(&self, other: &Self) -> bool964 fn eq(&self, other: &Self) -> bool { 965 self.ReadTime == other.ReadTime 966 } 967 } 968 impl ::std::cmp::Eq for GEN_GET_NETCARD_TIME {} 969 unsafe impl ::windows::runtime::Abi for GEN_GET_NETCARD_TIME { 970 type Abi = Self; 971 type DefaultType = Self; 972 } 973 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 974 #[repr(C)] 975 pub struct GEN_GET_TIME_CAPS { 976 pub Flags: u32, 977 pub ClockPrecision: u32, 978 } 979 impl GEN_GET_TIME_CAPS {} 980 impl ::std::default::Default for GEN_GET_TIME_CAPS { default() -> Self981 fn default() -> Self { 982 unsafe { ::std::mem::zeroed() } 983 } 984 } 985 impl ::std::fmt::Debug for GEN_GET_TIME_CAPS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result986 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 987 fmt.debug_struct("GEN_GET_TIME_CAPS").field("Flags", &self.Flags).field("ClockPrecision", &self.ClockPrecision).finish() 988 } 989 } 990 impl ::std::cmp::PartialEq for GEN_GET_TIME_CAPS { eq(&self, other: &Self) -> bool991 fn eq(&self, other: &Self) -> bool { 992 self.Flags == other.Flags && self.ClockPrecision == other.ClockPrecision 993 } 994 } 995 impl ::std::cmp::Eq for GEN_GET_TIME_CAPS {} 996 unsafe impl ::windows::runtime::Abi for GEN_GET_TIME_CAPS { 997 type Abi = Self; 998 type DefaultType = Self; 999 } 1000 pub const GUID_DEVINTERFACE_NET: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3402138756, 29973, 19459, [130, 230, 113, 168, 122, 186, 195, 97]); 1001 pub const GUID_DEVINTERFACE_NETUIO: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(137588576, 1657, 19564, [133, 210, 174, 124, 237, 101, 255, 247]); 1002 pub const GUID_NDIS_802_11_ADD_KEY: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2878036578, 7505, 18904, [186, 92, 250, 152, 11, 224, 58, 29]); 1003 pub const GUID_NDIS_802_11_ADD_WEP: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1124581360, 8489, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1004 pub const GUID_NDIS_802_11_ASSOCIATION_INFORMATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2693615056, 38414, 16573, [140, 246, 197, 56, 175, 152, 242, 227]); 1005 pub const GUID_NDIS_802_11_AUTHENTICATION_MODE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1133644324, 8489, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1006 pub const GUID_NDIS_802_11_BSSID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(621065922, 8101, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1007 pub const GUID_NDIS_802_11_BSSID_LIST: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1767010202, 8290, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1008 pub const GUID_NDIS_802_11_BSSID_LIST_SCAN: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(228458977, 47728, 4564, [182, 117, 0, 32, 72, 87, 3, 55]); 1009 pub const GUID_NDIS_802_11_CONFIGURATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1246624130, 8296, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1010 pub const GUID_NDIS_802_11_DESIRED_RATES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1160700046, 9526, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1011 pub const GUID_NDIS_802_11_DISASSOCIATE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1130831680, 8489, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1012 pub const GUID_NDIS_802_11_FRAGMENTATION_THRESHOLD: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1772791748, 8290, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1013 pub const GUID_NDIS_802_11_INFRASTRUCTURE_MODE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1769822846, 8290, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1014 pub const GUID_NDIS_802_11_MEDIA_STREAM_MODE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(173453158, 55371, 18923, [162, 141, 82, 130, 203, 182, 208, 205]); 1015 pub const GUID_NDIS_802_11_NETWORK_TYPES_SUPPORTED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2234636006, 8257, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1016 pub const GUID_NDIS_802_11_NETWORK_TYPE_IN_USE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2239636262, 8257, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1017 pub const GUID_NDIS_802_11_NUMBER_OF_ANTENNAS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(24613686, 8292, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1018 pub const GUID_NDIS_802_11_POWER_MODE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2243855228, 8257, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1019 pub const GUID_NDIS_802_11_PRIVACY_FILTER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1731445993, 18322, 4564, [151, 241, 0, 192, 79, 121, 196, 3]); 1020 pub const GUID_NDIS_802_11_RELOAD_DEFAULTS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1955271912, 13038, 17445, [185, 27, 201, 132, 140, 88, 181, 90]); 1021 pub const GUID_NDIS_802_11_REMOVE_KEY: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1942694121, 12680, 17109, [181, 83, 178, 18, 55, 230, 8, 140]); 1022 pub const GUID_NDIS_802_11_REMOVE_WEP: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1128019036, 8489, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1023 pub const GUID_NDIS_802_11_RSSI: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(352836374, 8275, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1024 pub const GUID_NDIS_802_11_RSSI_TRIGGER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(357992888, 8275, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1025 pub const GUID_NDIS_802_11_RTS_THRESHOLD: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(20238462, 8292, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1026 pub const GUID_NDIS_802_11_RX_ANTENNA_SELECTED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(28051362, 8292, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1027 pub const GUID_NDIS_802_11_SSID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2099941610, 8257, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1028 pub const GUID_NDIS_802_11_STATISTICS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1119581104, 8489, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1029 pub const GUID_NDIS_802_11_SUPPORTED_RATES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1239123746, 8296, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1030 pub const GUID_NDIS_802_11_TEST: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1268556138, 27232, 20125, [146, 12, 99, 53, 149, 63, 160, 181]); 1031 pub const GUID_NDIS_802_11_TX_ANTENNA_SELECTED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(31176522, 8292, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1032 pub const GUID_NDIS_802_11_TX_POWER_LEVEL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(300333686, 8275, 4564, [151, 235, 0, 192, 79, 121, 196, 3]); 1033 pub const GUID_NDIS_802_11_WEP_STATUS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2955387423, 15610, 16677, [128, 11, 63, 122, 24, 253, 220, 220]); 1034 pub const GUID_NDIS_802_3_CURRENT_ADDRESS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802816, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1035 pub const GUID_NDIS_802_3_MAC_OPTIONS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802819, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1036 pub const GUID_NDIS_802_3_MAXIMUM_LIST_SIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802818, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1037 pub const GUID_NDIS_802_3_MULTICAST_LIST: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802817, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1038 pub const GUID_NDIS_802_3_PERMANENT_ADDRESS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802815, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1039 pub const GUID_NDIS_802_3_RCV_ERROR_ALIGNMENT: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802820, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1040 pub const GUID_NDIS_802_3_XMIT_MORE_COLLISIONS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802822, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1041 pub const GUID_NDIS_802_3_XMIT_ONE_COLLISION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802821, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1042 pub const GUID_NDIS_802_5_CURRENT_ADDRESS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802824, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1043 pub const GUID_NDIS_802_5_CURRENT_FUNCTIONAL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802825, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1044 pub const GUID_NDIS_802_5_CURRENT_GROUP: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802826, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1045 pub const GUID_NDIS_802_5_CURRENT_RING_STATE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2901491762, 42524, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1046 pub const GUID_NDIS_802_5_CURRENT_RING_STATUS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2299148012, 42524, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1047 pub const GUID_NDIS_802_5_LAST_OPEN_STATUS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802827, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1048 pub const GUID_NDIS_802_5_LINE_ERRORS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2901491763, 42524, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1049 pub const GUID_NDIS_802_5_LOST_FRAMES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2901491764, 42524, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1050 pub const GUID_NDIS_802_5_PERMANENT_ADDRESS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802823, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1051 pub const GUID_NDIS_ENUMERATE_ADAPTER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2552180095, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1052 pub const GUID_NDIS_ENUMERATE_ADAPTERS_EX: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(376531223, 17158, 19428, [155, 90, 56, 9, 174, 68, 177, 37]); 1053 pub const GUID_NDIS_ENUMERATE_VC: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2552180098, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1054 pub const GUID_NDIS_GEN_CO_DRIVER_VERSION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031800728, 58204, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1055 pub const GUID_NDIS_GEN_CO_HARDWARE_STATUS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031800722, 58204, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1056 pub const GUID_NDIS_GEN_CO_LINK_SPEED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031800725, 58204, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1057 pub const GUID_NDIS_GEN_CO_MAC_OPTIONS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031800730, 58204, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1058 pub const GUID_NDIS_GEN_CO_MEDIA_CONNECT_STATUS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031800731, 58204, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1059 pub const GUID_NDIS_GEN_CO_MEDIA_IN_USE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031800724, 58204, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1060 pub const GUID_NDIS_GEN_CO_MEDIA_SUPPORTED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031800723, 58204, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1061 pub const GUID_NDIS_GEN_CO_MINIMUM_LINK_SPEED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031800733, 58204, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1062 pub const GUID_NDIS_GEN_CO_RCV_PDUS_ERROR: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(169953288, 58207, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1063 pub const GUID_NDIS_GEN_CO_RCV_PDUS_NO_BUFFER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(169953289, 58207, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1064 pub const GUID_NDIS_GEN_CO_RCV_PDUS_OK: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(169953286, 58207, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1065 pub const GUID_NDIS_GEN_CO_VENDOR_DESCRIPTION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031800727, 58204, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1066 pub const GUID_NDIS_GEN_CO_VENDOR_DRIVER_VERSION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031800732, 58204, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1067 pub const GUID_NDIS_GEN_CO_VENDOR_ID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031800726, 58204, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1068 pub const GUID_NDIS_GEN_CO_XMIT_PDUS_ERROR: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(169953287, 58207, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1069 pub const GUID_NDIS_GEN_CO_XMIT_PDUS_OK: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(169953285, 58207, 4560, [150, 146, 0, 192, 79, 195, 53, 140]); 1070 pub const GUID_NDIS_GEN_CURRENT_LOOKAHEAD: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707617, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1071 pub const GUID_NDIS_GEN_CURRENT_PACKET_FILTER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707616, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1072 pub const GUID_NDIS_GEN_DRIVER_VERSION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707618, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1073 pub const GUID_NDIS_GEN_ENUMERATE_PORTS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4057377768, 5604, 17415, [129, 183, 107, 131, 12, 119, 124, 217]); 1074 pub const GUID_NDIS_GEN_HARDWARE_STATUS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707604, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1075 pub const GUID_NDIS_GEN_INTERRUPT_MODERATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3653824165, 61806, 18044, [132, 213, 99, 69, 162, 44, 226, 19]); 1076 pub const GUID_NDIS_GEN_INTERRUPT_MODERATION_PARAMETERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3616124410, 40022, 17211, [173, 1, 117, 116, 243, 206, 219, 233]); 1077 pub const GUID_NDIS_GEN_LINK_PARAMETERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2357015929, 9515, 17940, [130, 197, 166, 80, 218, 161, 80, 73]); 1078 pub const GUID_NDIS_GEN_LINK_SPEED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707609, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1079 pub const GUID_NDIS_GEN_LINK_STATE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3122613268, 43333, 18274, [185, 22, 11, 85, 21, 182, 244, 58]); 1080 pub const GUID_NDIS_GEN_MAC_OPTIONS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707621, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1081 pub const GUID_NDIS_GEN_MAXIMUM_FRAME_SIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707608, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1082 pub const GUID_NDIS_GEN_MAXIMUM_LOOKAHEAD: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707607, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1083 pub const GUID_NDIS_GEN_MAXIMUM_SEND_PACKETS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707623, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1084 pub const GUID_NDIS_GEN_MAXIMUM_TOTAL_SIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707619, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1085 pub const GUID_NDIS_GEN_MEDIA_CONNECT_STATUS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707622, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1086 pub const GUID_NDIS_GEN_MEDIA_IN_USE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707606, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1087 pub const GUID_NDIS_GEN_MEDIA_SUPPORTED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707605, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1088 pub const GUID_NDIS_GEN_PCI_DEVICE_CUSTOM_PROPERTIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2855925163, 57952, 19713, [130, 176, 183, 55, 200, 128, 234, 5]); 1089 pub const GUID_NDIS_GEN_PHYSICAL_MEDIUM: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1099735405, 14647, 16904, [148, 10, 236, 97, 150, 39, 128, 133]); 1090 pub const GUID_NDIS_GEN_PHYSICAL_MEDIUM_EX: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2308863874, 859, 17401, [139, 182, 43, 88, 151, 22, 18, 229]); 1091 pub const GUID_NDIS_GEN_PORT_AUTHENTICATION_PARAMETERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2864098353, 34555, 18683, [139, 72, 99, 219, 35, 90, 206, 22]); 1092 pub const GUID_NDIS_GEN_PORT_STATE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1874799199, 35727, 18720, [129, 67, 230, 196, 96, 245, 37, 36]); 1093 pub const GUID_NDIS_GEN_RCV_ERROR: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802813, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1094 pub const GUID_NDIS_GEN_RCV_NO_BUFFER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802814, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1095 pub const GUID_NDIS_GEN_RCV_OK: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802811, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1096 pub const GUID_NDIS_GEN_RECEIVE_BLOCK_SIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707613, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1097 pub const GUID_NDIS_GEN_RECEIVE_BUFFER_SPACE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707611, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1098 pub const GUID_NDIS_GEN_STATISTICS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(915162549, 49449, 17345, [147, 158, 126, 220, 45, 127, 230, 33]); 1099 pub const GUID_NDIS_GEN_TRANSMIT_BLOCK_SIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707612, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1100 pub const GUID_NDIS_GEN_TRANSMIT_BUFFER_SPACE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707610, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1101 pub const GUID_NDIS_GEN_VENDOR_DESCRIPTION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707615, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1102 pub const GUID_NDIS_GEN_VENDOR_DRIVER_VERSION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802809, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1103 pub const GUID_NDIS_GEN_VENDOR_ID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1589707614, 42522, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1104 pub const GUID_NDIS_GEN_VLAN_ID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1985857282, 50664, 19303, [132, 59, 63, 90, 79, 242, 100, 139]); 1105 pub const GUID_NDIS_GEN_XMIT_ERROR: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802812, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1106 pub const GUID_NDIS_GEN_XMIT_OK: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1148802810, 42523, 4560, [141, 212, 0, 192, 79, 195, 53, 140]); 1107 pub const GUID_NDIS_HD_SPLIT_CURRENT_CONFIG: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2177970236, 43776, 20041, [128, 177, 94, 110, 11, 249, 190, 83]); 1108 pub const GUID_NDIS_HD_SPLIT_PARAMETERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2349108202, 10515, 17496, [182, 142, 23, 246, 193, 229, 198, 14]); 1109 pub const GUID_NDIS_LAN_CLASS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2907277636, 30255, 4560, [141, 203, 0, 192, 79, 195, 53, 140]); 1110 pub const GUID_NDIS_NDK_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2036972109, 56704, 19399, [179, 230, 104, 4, 57, 151, 229, 25]); 1111 pub const GUID_NDIS_NDK_STATE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1393322441, 12113, 18910, [161, 175, 8, 141, 84, 255, 164, 116]); 1112 pub const GUID_NDIS_NOTIFY_ADAPTER_ARRIVAL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2552180097, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1113 pub const GUID_NDIS_NOTIFY_ADAPTER_REMOVAL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2552180096, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1114 pub const GUID_NDIS_NOTIFY_BIND: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1410552604, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1115 pub const GUID_NDIS_NOTIFY_DEVICE_POWER_OFF: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2176614793, 45094, 18091, [185, 100, 241, 130, 227, 66, 147, 78]); 1116 pub const GUID_NDIS_NOTIFY_DEVICE_POWER_OFF_EX: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1096365372, 23767, 17102, [143, 228, 164, 90, 35, 128, 204, 79]); 1117 pub const GUID_NDIS_NOTIFY_DEVICE_POWER_ON: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1602342864, 61510, 17218, [175, 97, 137, 90, 206, 218, 239, 217]); 1118 pub const GUID_NDIS_NOTIFY_DEVICE_POWER_ON_EX: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(725877128, 37548, 20320, [155, 45, 32, 163, 12, 187, 107, 190]); 1119 pub const GUID_NDIS_NOTIFY_FILTER_ARRIVAL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(191708297, 22807, 17354, [181, 120, 208, 26, 121, 103, 196, 28]); 1120 pub const GUID_NDIS_NOTIFY_FILTER_REMOVAL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(521632985, 22869, 18209, [159, 106, 120, 235, 223, 174, 248, 137]); 1121 pub const GUID_NDIS_NOTIFY_UNBIND: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1849483756, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1122 pub const GUID_NDIS_NOTIFY_VC_ARRIVAL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(405773836, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1123 pub const GUID_NDIS_NOTIFY_VC_REMOVAL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2552180089, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1124 pub const GUID_NDIS_PM_ACTIVE_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2999940835, 45998, 17300, [160, 31, 51, 140, 152, 112, 233, 57]); 1125 pub const GUID_NDIS_PM_ADMIN_CONFIG: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(354996497, 28810, 19620, [146, 21, 192, 87, 113, 22, 28, 218]); 1126 pub const GUID_NDIS_RECEIVE_FILTER_ENUM_FILTERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1059853341, 33724, 4573, [148, 184, 0, 29, 9, 22, 43, 195]); 1127 pub const GUID_NDIS_RECEIVE_FILTER_ENUM_QUEUES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1059853339, 33724, 4573, [148, 184, 0, 29, 9, 22, 43, 195]); 1128 pub const GUID_NDIS_RECEIVE_FILTER_GLOBAL_PARAMETERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1059853338, 33724, 4573, [148, 184, 0, 29, 9, 22, 43, 195]); 1129 pub const GUID_NDIS_RECEIVE_FILTER_HARDWARE_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1059853337, 33724, 4573, [148, 184, 0, 29, 9, 22, 43, 195]); 1130 pub const GUID_NDIS_RECEIVE_FILTER_PARAMETERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1059853342, 33724, 4573, [148, 184, 0, 29, 9, 22, 43, 195]); 1131 pub const GUID_NDIS_RECEIVE_FILTER_QUEUE_PARAMETERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1059853340, 33724, 4573, [148, 184, 0, 29, 9, 22, 43, 195]); 1132 pub const GUID_NDIS_RECEIVE_SCALE_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(650282868, 16978, 18686, [166, 16, 165, 138, 57, 140, 14, 177]); 1133 pub const GUID_NDIS_RSS_ENABLED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2506476885, 13314, 20018, [165, 182, 47, 20, 63, 47, 44, 48]); 1134 pub const GUID_NDIS_STATUS_DOT11_ASSOCIATION_COMPLETION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1166786215, 17828, 19170, [177, 118, 229, 31, 150, 252, 5, 104]); 1135 pub const GUID_NDIS_STATUS_DOT11_ASSOCIATION_START: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(958891067, 27008, 19272, [177, 91, 77, 229, 9, 119, 172, 64]); 1136 pub const GUID_NDIS_STATUS_DOT11_CONNECTION_COMPLETION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2532301257, 32539, 19081, [188, 4, 62, 158, 39, 23, 101, 241]); 1137 pub const GUID_NDIS_STATUS_DOT11_CONNECTION_START: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2071210397, 39311, 17492, [173, 8, 197, 175, 40, 87, 109, 27]); 1138 pub const GUID_NDIS_STATUS_DOT11_DISASSOCIATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1069463292, 4066, 17405, [178, 173, 189, 153, 181, 249, 62, 19]); 1139 pub const GUID_NDIS_STATUS_DOT11_LINK_QUALITY: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2737328516, 60057, 18669, [130, 94, 164, 38, 177, 28, 39, 84]); 1140 pub const GUID_NDIS_STATUS_DOT11_MPDU_MAX_LENGTH_CHANGED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(493183212, 36424, 19006, [159, 213, 160, 27, 105, 141, 182, 197]); 1141 pub const GUID_NDIS_STATUS_DOT11_PHY_STATE_CHANGED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3736359702, 29109, 18230, [189, 239, 10, 158, 159, 78, 98, 220]); 1142 pub const GUID_NDIS_STATUS_DOT11_PMKID_CANDIDATE_LIST: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(651737334, 56194, 18923, [139, 243, 76, 19, 14, 240, 105, 80]); 1143 pub const GUID_NDIS_STATUS_DOT11_ROAMING_COMPLETION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3718072273, 10283, 16868, [185, 36, 102, 54, 136, 23, 252, 211]); 1144 pub const GUID_NDIS_STATUS_DOT11_ROAMING_START: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2990615821, 9928, 20302, [147, 223, 247, 183, 5, 160, 180, 51]); 1145 pub const GUID_NDIS_STATUS_DOT11_SCAN_CONFIRM: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2231392542, 41159, 20219, [147, 66, 182, 116, 176, 2, 203, 230]); 1146 pub const GUID_NDIS_STATUS_DOT11_TKIPMIC_FAILURE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1143745252, 39877, 19344, [168, 137, 69, 94, 242, 32, 244, 238]); 1147 pub const GUID_NDIS_STATUS_EXTERNAL_CONNECTIVITY_CHANGE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4247808372, 50208, 17459, [176, 254, 76, 246, 166, 19, 245, 159]); 1148 pub const GUID_NDIS_STATUS_HD_SPLIT_CURRENT_CONFIG: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1819560718, 61084, 16901, [144, 162, 1, 95, 109, 101, 244, 3]); 1149 pub const GUID_NDIS_STATUS_LINK_SPEED_CHANGE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2552180101, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1150 pub const GUID_NDIS_STATUS_LINK_STATE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1690761111, 34700, 17169, [146, 70, 101, 219, 168, 156, 58, 97]); 1151 pub const GUID_NDIS_STATUS_MEDIA_CONNECT: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2552180093, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1152 pub const GUID_NDIS_STATUS_MEDIA_DISCONNECT: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2552180094, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1153 pub const GUID_NDIS_STATUS_MEDIA_SPECIFIC_INDICATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2552180100, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1154 pub const GUID_NDIS_STATUS_NETWORK_CHANGE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3398063865, 52865, 16614, [167, 15, 160, 103, 164, 118, 233, 233]); 1155 pub const GUID_NDIS_STATUS_OPER_STATUS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4179080803, 33886, 19773, [182, 212, 21, 235, 39, 175, 129, 197]); 1156 pub const GUID_NDIS_STATUS_PACKET_FILTER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3564917767, 11893, 18141, [129, 70, 29, 126, 210, 214, 171, 29]); 1157 pub const GUID_NDIS_STATUS_PM_OFFLOAD_REJECTED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2916209793, 28958, 19738, [146, 202, 166, 45, 185, 50, 151, 18]); 1158 pub const GUID_NDIS_STATUS_PM_WAKE_REASON: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(154402136, 51810, 17295, [131, 218, 223, 193, 204, 203, 129, 69]); 1159 pub const GUID_NDIS_STATUS_PM_WOL_PATTERN_REJECTED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4146919054, 6356, 19811, [154, 25, 230, 155, 19, 145, 107, 26]); 1160 pub const GUID_NDIS_STATUS_PORT_STATE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(497815038, 17381, 17591, [183, 89, 123, 244, 109, 227, 46, 129]); 1161 pub const GUID_NDIS_STATUS_RESET_END: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2552180087, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1162 pub const GUID_NDIS_STATUS_RESET_START: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2552180086, 45555, 4560, [141, 215, 0, 192, 79, 195, 53, 140]); 1163 pub const GUID_NDIS_STATUS_TASK_OFFLOAD_CURRENT_CONFIG: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1157930950, 21720, 16584, [156, 61, 176, 17, 196, 231, 21, 188]); 1164 pub const GUID_NDIS_STATUS_TASK_OFFLOAD_HARDWARE_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3065517451, 8572, 19242, [190, 134, 106, 4, 190, 234, 101, 184]); 1165 pub const GUID_NDIS_STATUS_TCP_CONNECTION_OFFLOAD_CURRENT_CONFIG: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4176326399, 9444, 19174, [164, 19, 11, 39, 247, 107, 36, 61]); 1166 pub const GUID_NDIS_STATUS_TCP_CONNECTION_OFFLOAD_HARDWARE_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(957966774, 16428, 17343, [137, 34, 57, 234, 224, 218, 27, 181]); 1167 pub const GUID_NDIS_SWITCH_MICROSOFT_VENDOR_ID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(539314174, 7324, 16569, [187, 161, 8, 173, 161, 249, 139, 60]); 1168 pub const GUID_NDIS_SWITCH_PORT_PROPERTY_PROFILE_ID_DEFAULT_EXTERNAL_NIC: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(187988038, 2572, 18186, [155, 122, 13, 150, 88, 80, 105, 143]); 1169 pub const GUID_NDIS_TCP_CONNECTION_OFFLOAD_CURRENT_CONFIG: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(786870001, 2129, 17803, [191, 13, 121, 35, 67, 209, 205, 225]); 1170 pub const GUID_NDIS_TCP_CONNECTION_OFFLOAD_HARDWARE_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2363957036, 54842, 17296, [164, 135, 24, 250, 71, 38, 44, 235]); 1171 pub const GUID_NDIS_TCP_OFFLOAD_CURRENT_CONFIG: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1750347757, 23668, 17950, [137, 52, 145, 198, 249, 198, 9, 96]); 1172 pub const GUID_NDIS_TCP_OFFLOAD_HARDWARE_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3445559554, 22799, 19162, [171, 101, 91, 49, 177, 220, 1, 114]); 1173 pub const GUID_NDIS_TCP_OFFLOAD_PARAMETERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2393741858, 32617, 19398, [148, 154, 200, 24, 123, 7, 78, 97]); 1174 pub const GUID_NDIS_TCP_RSC_STATISTICS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2198881349, 39773, 20198, [162, 165, 43, 211, 251, 60, 54, 175]); 1175 pub const GUID_NDIS_WAKE_ON_MAGIC_PACKET_ONLY: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2706316439, 34873, 20362, [153, 150, 162, 137, 150, 235, 191, 29]); 1176 pub const GUID_NIC_SWITCH_CURRENT_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3882867443, 3047, 19861, [135, 233, 90, 234, 212, 181, 144, 233]); 1177 pub const GUID_NIC_SWITCH_HARDWARE_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(936031244, 53736, 17153, [140, 29, 88, 70, 94, 12, 76, 15]); 1178 pub const GUID_PM_ADD_PROTOCOL_OFFLOAD: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(201769234, 3475, 17307, [158, 109, 38, 190, 19, 12, 151, 132]); 1179 pub const GUID_PM_ADD_WOL_PATTERN: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1875393447, 21180, 20394, [172, 81, 125, 47, 254, 99, 186, 144]); 1180 pub const GUID_PM_CURRENT_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(985513236, 54346, 19007, [154, 99, 160, 164, 42, 81, 177, 49]); 1181 pub const GUID_PM_GET_PROTOCOL_OFFLOAD: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2789432537, 5279, 18830, [149, 27, 45, 148, 190, 163, 227, 163]); 1182 pub const GUID_PM_HARDWARE_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3974444557, 12945, 19054, [128, 68, 0, 81, 31, 237, 39, 238]); 1183 pub const GUID_PM_PARAMETERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1442989522, 57937, 16540, [162, 128, 49, 25, 53, 190, 59, 40]); 1184 pub const GUID_PM_PROTOCOL_OFFLOAD_LIST: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1936639403, 51855, 16451, [187, 88, 218, 64, 42, 72, 217, 204]); 1185 pub const GUID_PM_REMOVE_PROTOCOL_OFFLOAD: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3738008546, 42672, 17354, [174, 69, 208, 0, 210, 14, 82, 101]); 1186 pub const GUID_PM_REMOVE_WOL_PATTERN: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2688002325, 50890, 17186, [179, 227, 239, 117, 78, 196, 152, 220]); 1187 pub const GUID_PM_WOL_PATTERN_LIST: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1076018743, 32482, 18366, [165, 165, 5, 15, 199, 154, 252, 117]); 1188 pub const GUID_RECEIVE_FILTER_CURRENT_CAPABILITIES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1079306255, 11201, 19660, [176, 51, 74, 188, 12, 74, 30, 140]); 1189 pub const GUID_STATUS_MEDIA_SPECIFIC_INDICATION_EX: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2863463591, 38218, 17970, [161, 110, 168, 166, 55, 147, 169, 229]); 1190 pub const IOCTL_NDIS_RESERVED5: u32 = 1507380u32; 1191 pub const IOCTL_NDIS_RESERVED6: u32 = 1540152u32; 1192 pub const IPSEC_OFFLOAD_V2_AND_TCP_CHECKSUM_COEXISTENCE: u32 = 2u32; 1193 pub const IPSEC_OFFLOAD_V2_AND_UDP_CHECKSUM_COEXISTENCE: u32 = 4u32; 1194 pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_128: u32 = 8u32; 1195 pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_192: u32 = 16u32; 1196 pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_256: u32 = 32u32; 1197 pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_MD5: u32 = 1u32; 1198 pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_SHA_1: u32 = 2u32; 1199 pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_SHA_256: u32 = 4u32; 1200 pub const IPSEC_OFFLOAD_V2_ENCRYPTION_3_DES_CBC: u32 = 4u32; 1201 pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_128: u32 = 64u32; 1202 pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_192: u32 = 128u32; 1203 pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_256: u32 = 256u32; 1204 pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_128: u32 = 8u32; 1205 pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_192: u32 = 16u32; 1206 pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_256: u32 = 32u32; 1207 pub const IPSEC_OFFLOAD_V2_ENCRYPTION_DES_CBC: u32 = 2u32; 1208 pub const IPSEC_OFFLOAD_V2_ENCRYPTION_NONE: u32 = 1u32; 1209 pub const MAXIMUM_IP_OPER_STATUS_ADDRESS_FAMILIES_SUPPORTED: u32 = 32u32; 1210 pub const MS_MAX_PROFILE_NAME_LENGTH: u32 = 256u32; 1211 pub const MS_PROFILE_GROUP_POLICY: u32 = 1u32; 1212 pub const MS_PROFILE_USER: u32 = 2u32; 1213 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1214 #[repr(C)] 1215 pub struct NDIS_802_11_AI_REQFI { 1216 pub Capabilities: u16, 1217 pub ListenInterval: u16, 1218 pub CurrentAPAddress: [u8; 6], 1219 } 1220 impl NDIS_802_11_AI_REQFI {} 1221 impl ::std::default::Default for NDIS_802_11_AI_REQFI { default() -> Self1222 fn default() -> Self { 1223 unsafe { ::std::mem::zeroed() } 1224 } 1225 } 1226 impl ::std::fmt::Debug for NDIS_802_11_AI_REQFI { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1227 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1228 fmt.debug_struct("NDIS_802_11_AI_REQFI").field("Capabilities", &self.Capabilities).field("ListenInterval", &self.ListenInterval).field("CurrentAPAddress", &self.CurrentAPAddress).finish() 1229 } 1230 } 1231 impl ::std::cmp::PartialEq for NDIS_802_11_AI_REQFI { eq(&self, other: &Self) -> bool1232 fn eq(&self, other: &Self) -> bool { 1233 self.Capabilities == other.Capabilities && self.ListenInterval == other.ListenInterval && self.CurrentAPAddress == other.CurrentAPAddress 1234 } 1235 } 1236 impl ::std::cmp::Eq for NDIS_802_11_AI_REQFI {} 1237 unsafe impl ::windows::runtime::Abi for NDIS_802_11_AI_REQFI { 1238 type Abi = Self; 1239 type DefaultType = Self; 1240 } 1241 pub const NDIS_802_11_AI_REQFI_CAPABILITIES: u32 = 1u32; 1242 pub const NDIS_802_11_AI_REQFI_CURRENTAPADDRESS: u32 = 4u32; 1243 pub const NDIS_802_11_AI_REQFI_LISTENINTERVAL: u32 = 2u32; 1244 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1245 #[repr(C)] 1246 pub struct NDIS_802_11_AI_RESFI { 1247 pub Capabilities: u16, 1248 pub StatusCode: u16, 1249 pub AssociationId: u16, 1250 } 1251 impl NDIS_802_11_AI_RESFI {} 1252 impl ::std::default::Default for NDIS_802_11_AI_RESFI { default() -> Self1253 fn default() -> Self { 1254 unsafe { ::std::mem::zeroed() } 1255 } 1256 } 1257 impl ::std::fmt::Debug for NDIS_802_11_AI_RESFI { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1258 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1259 fmt.debug_struct("NDIS_802_11_AI_RESFI").field("Capabilities", &self.Capabilities).field("StatusCode", &self.StatusCode).field("AssociationId", &self.AssociationId).finish() 1260 } 1261 } 1262 impl ::std::cmp::PartialEq for NDIS_802_11_AI_RESFI { eq(&self, other: &Self) -> bool1263 fn eq(&self, other: &Self) -> bool { 1264 self.Capabilities == other.Capabilities && self.StatusCode == other.StatusCode && self.AssociationId == other.AssociationId 1265 } 1266 } 1267 impl ::std::cmp::Eq for NDIS_802_11_AI_RESFI {} 1268 unsafe impl ::windows::runtime::Abi for NDIS_802_11_AI_RESFI { 1269 type Abi = Self; 1270 type DefaultType = Self; 1271 } 1272 pub const NDIS_802_11_AI_RESFI_ASSOCIATIONID: u32 = 4u32; 1273 pub const NDIS_802_11_AI_RESFI_CAPABILITIES: u32 = 1u32; 1274 pub const NDIS_802_11_AI_RESFI_STATUSCODE: u32 = 2u32; 1275 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1276 #[repr(C)] 1277 pub struct NDIS_802_11_ASSOCIATION_INFORMATION { 1278 pub Length: u32, 1279 pub AvailableRequestFixedIEs: u16, 1280 pub RequestFixedIEs: NDIS_802_11_AI_REQFI, 1281 pub RequestIELength: u32, 1282 pub OffsetRequestIEs: u32, 1283 pub AvailableResponseFixedIEs: u16, 1284 pub ResponseFixedIEs: NDIS_802_11_AI_RESFI, 1285 pub ResponseIELength: u32, 1286 pub OffsetResponseIEs: u32, 1287 } 1288 impl NDIS_802_11_ASSOCIATION_INFORMATION {} 1289 impl ::std::default::Default for NDIS_802_11_ASSOCIATION_INFORMATION { default() -> Self1290 fn default() -> Self { 1291 unsafe { ::std::mem::zeroed() } 1292 } 1293 } 1294 impl ::std::fmt::Debug for NDIS_802_11_ASSOCIATION_INFORMATION { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1295 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1296 fmt.debug_struct("NDIS_802_11_ASSOCIATION_INFORMATION") 1297 .field("Length", &self.Length) 1298 .field("AvailableRequestFixedIEs", &self.AvailableRequestFixedIEs) 1299 .field("RequestFixedIEs", &self.RequestFixedIEs) 1300 .field("RequestIELength", &self.RequestIELength) 1301 .field("OffsetRequestIEs", &self.OffsetRequestIEs) 1302 .field("AvailableResponseFixedIEs", &self.AvailableResponseFixedIEs) 1303 .field("ResponseFixedIEs", &self.ResponseFixedIEs) 1304 .field("ResponseIELength", &self.ResponseIELength) 1305 .field("OffsetResponseIEs", &self.OffsetResponseIEs) 1306 .finish() 1307 } 1308 } 1309 impl ::std::cmp::PartialEq for NDIS_802_11_ASSOCIATION_INFORMATION { eq(&self, other: &Self) -> bool1310 fn eq(&self, other: &Self) -> bool { 1311 self.Length == other.Length && self.AvailableRequestFixedIEs == other.AvailableRequestFixedIEs && self.RequestFixedIEs == other.RequestFixedIEs && self.RequestIELength == other.RequestIELength && self.OffsetRequestIEs == other.OffsetRequestIEs && self.AvailableResponseFixedIEs == other.AvailableResponseFixedIEs && self.ResponseFixedIEs == other.ResponseFixedIEs && self.ResponseIELength == other.ResponseIELength && self.OffsetResponseIEs == other.OffsetResponseIEs 1312 } 1313 } 1314 impl ::std::cmp::Eq for NDIS_802_11_ASSOCIATION_INFORMATION {} 1315 unsafe impl ::windows::runtime::Abi for NDIS_802_11_ASSOCIATION_INFORMATION { 1316 type Abi = Self; 1317 type DefaultType = Self; 1318 } 1319 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1320 #[repr(C)] 1321 pub struct NDIS_802_11_AUTHENTICATION_ENCRYPTION { 1322 pub AuthModeSupported: NDIS_802_11_AUTHENTICATION_MODE, 1323 pub EncryptStatusSupported: NDIS_802_11_WEP_STATUS, 1324 } 1325 impl NDIS_802_11_AUTHENTICATION_ENCRYPTION {} 1326 impl ::std::default::Default for NDIS_802_11_AUTHENTICATION_ENCRYPTION { default() -> Self1327 fn default() -> Self { 1328 unsafe { ::std::mem::zeroed() } 1329 } 1330 } 1331 impl ::std::fmt::Debug for NDIS_802_11_AUTHENTICATION_ENCRYPTION { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1332 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1333 fmt.debug_struct("NDIS_802_11_AUTHENTICATION_ENCRYPTION").field("AuthModeSupported", &self.AuthModeSupported).field("EncryptStatusSupported", &self.EncryptStatusSupported).finish() 1334 } 1335 } 1336 impl ::std::cmp::PartialEq for NDIS_802_11_AUTHENTICATION_ENCRYPTION { eq(&self, other: &Self) -> bool1337 fn eq(&self, other: &Self) -> bool { 1338 self.AuthModeSupported == other.AuthModeSupported && self.EncryptStatusSupported == other.EncryptStatusSupported 1339 } 1340 } 1341 impl ::std::cmp::Eq for NDIS_802_11_AUTHENTICATION_ENCRYPTION {} 1342 unsafe impl ::windows::runtime::Abi for NDIS_802_11_AUTHENTICATION_ENCRYPTION { 1343 type Abi = Self; 1344 type DefaultType = Self; 1345 } 1346 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1347 #[repr(C)] 1348 pub struct NDIS_802_11_AUTHENTICATION_EVENT { 1349 pub Status: NDIS_802_11_STATUS_INDICATION, 1350 pub Request: [NDIS_802_11_AUTHENTICATION_REQUEST; 1], 1351 } 1352 impl NDIS_802_11_AUTHENTICATION_EVENT {} 1353 impl ::std::default::Default for NDIS_802_11_AUTHENTICATION_EVENT { default() -> Self1354 fn default() -> Self { 1355 unsafe { ::std::mem::zeroed() } 1356 } 1357 } 1358 impl ::std::fmt::Debug for NDIS_802_11_AUTHENTICATION_EVENT { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1359 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1360 fmt.debug_struct("NDIS_802_11_AUTHENTICATION_EVENT").field("Status", &self.Status).field("Request", &self.Request).finish() 1361 } 1362 } 1363 impl ::std::cmp::PartialEq for NDIS_802_11_AUTHENTICATION_EVENT { eq(&self, other: &Self) -> bool1364 fn eq(&self, other: &Self) -> bool { 1365 self.Status == other.Status && self.Request == other.Request 1366 } 1367 } 1368 impl ::std::cmp::Eq for NDIS_802_11_AUTHENTICATION_EVENT {} 1369 unsafe impl ::windows::runtime::Abi for NDIS_802_11_AUTHENTICATION_EVENT { 1370 type Abi = Self; 1371 type DefaultType = Self; 1372 } 1373 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1374 #[repr(transparent)] 1375 pub struct NDIS_802_11_AUTHENTICATION_MODE(pub i32); 1376 pub const Ndis802_11AuthModeOpen: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(0i32); 1377 pub const Ndis802_11AuthModeShared: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(1i32); 1378 pub const Ndis802_11AuthModeAutoSwitch: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(2i32); 1379 pub const Ndis802_11AuthModeWPA: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(3i32); 1380 pub const Ndis802_11AuthModeWPAPSK: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(4i32); 1381 pub const Ndis802_11AuthModeWPANone: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(5i32); 1382 pub const Ndis802_11AuthModeWPA2: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(6i32); 1383 pub const Ndis802_11AuthModeWPA2PSK: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(7i32); 1384 pub const Ndis802_11AuthModeWPA3: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(8i32); 1385 pub const Ndis802_11AuthModeWPA3Ent192: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(8i32); 1386 pub const Ndis802_11AuthModeWPA3SAE: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(9i32); 1387 pub const Ndis802_11AuthModeWPA3Ent: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(10i32); 1388 pub const Ndis802_11AuthModeMax: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(11i32); 1389 impl ::std::convert::From<i32> for NDIS_802_11_AUTHENTICATION_MODE { from(value: i32) -> Self1390 fn from(value: i32) -> Self { 1391 Self(value) 1392 } 1393 } 1394 unsafe impl ::windows::runtime::Abi for NDIS_802_11_AUTHENTICATION_MODE { 1395 type Abi = Self; 1396 type DefaultType = Self; 1397 } 1398 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1399 #[repr(C)] 1400 pub struct NDIS_802_11_AUTHENTICATION_REQUEST { 1401 pub Length: u32, 1402 pub Bssid: [u8; 6], 1403 pub Flags: u32, 1404 } 1405 impl NDIS_802_11_AUTHENTICATION_REQUEST {} 1406 impl ::std::default::Default for NDIS_802_11_AUTHENTICATION_REQUEST { default() -> Self1407 fn default() -> Self { 1408 unsafe { ::std::mem::zeroed() } 1409 } 1410 } 1411 impl ::std::fmt::Debug for NDIS_802_11_AUTHENTICATION_REQUEST { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1412 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1413 fmt.debug_struct("NDIS_802_11_AUTHENTICATION_REQUEST").field("Length", &self.Length).field("Bssid", &self.Bssid).field("Flags", &self.Flags).finish() 1414 } 1415 } 1416 impl ::std::cmp::PartialEq for NDIS_802_11_AUTHENTICATION_REQUEST { eq(&self, other: &Self) -> bool1417 fn eq(&self, other: &Self) -> bool { 1418 self.Length == other.Length && self.Bssid == other.Bssid && self.Flags == other.Flags 1419 } 1420 } 1421 impl ::std::cmp::Eq for NDIS_802_11_AUTHENTICATION_REQUEST {} 1422 unsafe impl ::windows::runtime::Abi for NDIS_802_11_AUTHENTICATION_REQUEST { 1423 type Abi = Self; 1424 type DefaultType = Self; 1425 } 1426 pub const NDIS_802_11_AUTH_REQUEST_AUTH_FIELDS: u32 = 15u32; 1427 pub const NDIS_802_11_AUTH_REQUEST_GROUP_ERROR: u32 = 14u32; 1428 pub const NDIS_802_11_AUTH_REQUEST_KEYUPDATE: u32 = 2u32; 1429 pub const NDIS_802_11_AUTH_REQUEST_PAIRWISE_ERROR: u32 = 6u32; 1430 pub const NDIS_802_11_AUTH_REQUEST_REAUTH: u32 = 1u32; 1431 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1432 #[repr(C)] 1433 pub struct NDIS_802_11_BSSID_LIST { 1434 pub NumberOfItems: u32, 1435 pub Bssid: [NDIS_WLAN_BSSID; 1], 1436 } 1437 impl NDIS_802_11_BSSID_LIST {} 1438 impl ::std::default::Default for NDIS_802_11_BSSID_LIST { default() -> Self1439 fn default() -> Self { 1440 unsafe { ::std::mem::zeroed() } 1441 } 1442 } 1443 impl ::std::fmt::Debug for NDIS_802_11_BSSID_LIST { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1444 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1445 fmt.debug_struct("NDIS_802_11_BSSID_LIST").field("NumberOfItems", &self.NumberOfItems).field("Bssid", &self.Bssid).finish() 1446 } 1447 } 1448 impl ::std::cmp::PartialEq for NDIS_802_11_BSSID_LIST { eq(&self, other: &Self) -> bool1449 fn eq(&self, other: &Self) -> bool { 1450 self.NumberOfItems == other.NumberOfItems && self.Bssid == other.Bssid 1451 } 1452 } 1453 impl ::std::cmp::Eq for NDIS_802_11_BSSID_LIST {} 1454 unsafe impl ::windows::runtime::Abi for NDIS_802_11_BSSID_LIST { 1455 type Abi = Self; 1456 type DefaultType = Self; 1457 } 1458 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1459 #[repr(C)] 1460 pub struct NDIS_802_11_BSSID_LIST_EX { 1461 pub NumberOfItems: u32, 1462 pub Bssid: [NDIS_WLAN_BSSID_EX; 1], 1463 } 1464 impl NDIS_802_11_BSSID_LIST_EX {} 1465 impl ::std::default::Default for NDIS_802_11_BSSID_LIST_EX { default() -> Self1466 fn default() -> Self { 1467 unsafe { ::std::mem::zeroed() } 1468 } 1469 } 1470 impl ::std::fmt::Debug for NDIS_802_11_BSSID_LIST_EX { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1471 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1472 fmt.debug_struct("NDIS_802_11_BSSID_LIST_EX").field("NumberOfItems", &self.NumberOfItems).field("Bssid", &self.Bssid).finish() 1473 } 1474 } 1475 impl ::std::cmp::PartialEq for NDIS_802_11_BSSID_LIST_EX { eq(&self, other: &Self) -> bool1476 fn eq(&self, other: &Self) -> bool { 1477 self.NumberOfItems == other.NumberOfItems && self.Bssid == other.Bssid 1478 } 1479 } 1480 impl ::std::cmp::Eq for NDIS_802_11_BSSID_LIST_EX {} 1481 unsafe impl ::windows::runtime::Abi for NDIS_802_11_BSSID_LIST_EX { 1482 type Abi = Self; 1483 type DefaultType = Self; 1484 } 1485 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1486 #[repr(C)] 1487 pub struct NDIS_802_11_CAPABILITY { 1488 pub Length: u32, 1489 pub Version: u32, 1490 pub NoOfPMKIDs: u32, 1491 pub NoOfAuthEncryptPairsSupported: u32, 1492 pub AuthenticationEncryptionSupported: [NDIS_802_11_AUTHENTICATION_ENCRYPTION; 1], 1493 } 1494 impl NDIS_802_11_CAPABILITY {} 1495 impl ::std::default::Default for NDIS_802_11_CAPABILITY { default() -> Self1496 fn default() -> Self { 1497 unsafe { ::std::mem::zeroed() } 1498 } 1499 } 1500 impl ::std::fmt::Debug for NDIS_802_11_CAPABILITY { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1501 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1502 fmt.debug_struct("NDIS_802_11_CAPABILITY") 1503 .field("Length", &self.Length) 1504 .field("Version", &self.Version) 1505 .field("NoOfPMKIDs", &self.NoOfPMKIDs) 1506 .field("NoOfAuthEncryptPairsSupported", &self.NoOfAuthEncryptPairsSupported) 1507 .field("AuthenticationEncryptionSupported", &self.AuthenticationEncryptionSupported) 1508 .finish() 1509 } 1510 } 1511 impl ::std::cmp::PartialEq for NDIS_802_11_CAPABILITY { eq(&self, other: &Self) -> bool1512 fn eq(&self, other: &Self) -> bool { 1513 self.Length == other.Length && self.Version == other.Version && self.NoOfPMKIDs == other.NoOfPMKIDs && self.NoOfAuthEncryptPairsSupported == other.NoOfAuthEncryptPairsSupported && self.AuthenticationEncryptionSupported == other.AuthenticationEncryptionSupported 1514 } 1515 } 1516 impl ::std::cmp::Eq for NDIS_802_11_CAPABILITY {} 1517 unsafe impl ::windows::runtime::Abi for NDIS_802_11_CAPABILITY { 1518 type Abi = Self; 1519 type DefaultType = Self; 1520 } 1521 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1522 #[repr(C)] 1523 pub struct NDIS_802_11_CONFIGURATION { 1524 pub Length: u32, 1525 pub BeaconPeriod: u32, 1526 pub ATIMWindow: u32, 1527 pub DSConfig: u32, 1528 pub FHConfig: NDIS_802_11_CONFIGURATION_FH, 1529 } 1530 impl NDIS_802_11_CONFIGURATION {} 1531 impl ::std::default::Default for NDIS_802_11_CONFIGURATION { default() -> Self1532 fn default() -> Self { 1533 unsafe { ::std::mem::zeroed() } 1534 } 1535 } 1536 impl ::std::fmt::Debug for NDIS_802_11_CONFIGURATION { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1537 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1538 fmt.debug_struct("NDIS_802_11_CONFIGURATION").field("Length", &self.Length).field("BeaconPeriod", &self.BeaconPeriod).field("ATIMWindow", &self.ATIMWindow).field("DSConfig", &self.DSConfig).field("FHConfig", &self.FHConfig).finish() 1539 } 1540 } 1541 impl ::std::cmp::PartialEq for NDIS_802_11_CONFIGURATION { eq(&self, other: &Self) -> bool1542 fn eq(&self, other: &Self) -> bool { 1543 self.Length == other.Length && self.BeaconPeriod == other.BeaconPeriod && self.ATIMWindow == other.ATIMWindow && self.DSConfig == other.DSConfig && self.FHConfig == other.FHConfig 1544 } 1545 } 1546 impl ::std::cmp::Eq for NDIS_802_11_CONFIGURATION {} 1547 unsafe impl ::windows::runtime::Abi for NDIS_802_11_CONFIGURATION { 1548 type Abi = Self; 1549 type DefaultType = Self; 1550 } 1551 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1552 #[repr(C)] 1553 pub struct NDIS_802_11_CONFIGURATION_FH { 1554 pub Length: u32, 1555 pub HopPattern: u32, 1556 pub HopSet: u32, 1557 pub DwellTime: u32, 1558 } 1559 impl NDIS_802_11_CONFIGURATION_FH {} 1560 impl ::std::default::Default for NDIS_802_11_CONFIGURATION_FH { default() -> Self1561 fn default() -> Self { 1562 unsafe { ::std::mem::zeroed() } 1563 } 1564 } 1565 impl ::std::fmt::Debug for NDIS_802_11_CONFIGURATION_FH { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1566 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1567 fmt.debug_struct("NDIS_802_11_CONFIGURATION_FH").field("Length", &self.Length).field("HopPattern", &self.HopPattern).field("HopSet", &self.HopSet).field("DwellTime", &self.DwellTime).finish() 1568 } 1569 } 1570 impl ::std::cmp::PartialEq for NDIS_802_11_CONFIGURATION_FH { eq(&self, other: &Self) -> bool1571 fn eq(&self, other: &Self) -> bool { 1572 self.Length == other.Length && self.HopPattern == other.HopPattern && self.HopSet == other.HopSet && self.DwellTime == other.DwellTime 1573 } 1574 } 1575 impl ::std::cmp::Eq for NDIS_802_11_CONFIGURATION_FH {} 1576 unsafe impl ::windows::runtime::Abi for NDIS_802_11_CONFIGURATION_FH { 1577 type Abi = Self; 1578 type DefaultType = Self; 1579 } 1580 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1581 #[repr(C)] 1582 pub struct NDIS_802_11_FIXED_IEs { 1583 pub Timestamp: [u8; 8], 1584 pub BeaconInterval: u16, 1585 pub Capabilities: u16, 1586 } 1587 impl NDIS_802_11_FIXED_IEs {} 1588 impl ::std::default::Default for NDIS_802_11_FIXED_IEs { default() -> Self1589 fn default() -> Self { 1590 unsafe { ::std::mem::zeroed() } 1591 } 1592 } 1593 impl ::std::fmt::Debug for NDIS_802_11_FIXED_IEs { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1594 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1595 fmt.debug_struct("NDIS_802_11_FIXED_IEs").field("Timestamp", &self.Timestamp).field("BeaconInterval", &self.BeaconInterval).field("Capabilities", &self.Capabilities).finish() 1596 } 1597 } 1598 impl ::std::cmp::PartialEq for NDIS_802_11_FIXED_IEs { eq(&self, other: &Self) -> bool1599 fn eq(&self, other: &Self) -> bool { 1600 self.Timestamp == other.Timestamp && self.BeaconInterval == other.BeaconInterval && self.Capabilities == other.Capabilities 1601 } 1602 } 1603 impl ::std::cmp::Eq for NDIS_802_11_FIXED_IEs {} 1604 unsafe impl ::windows::runtime::Abi for NDIS_802_11_FIXED_IEs { 1605 type Abi = Self; 1606 type DefaultType = Self; 1607 } 1608 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1609 #[repr(C)] 1610 pub struct NDIS_802_11_KEY { 1611 pub Length: u32, 1612 pub KeyIndex: u32, 1613 pub KeyLength: u32, 1614 pub BSSID: [u8; 6], 1615 pub KeyRSC: u64, 1616 pub KeyMaterial: [u8; 1], 1617 } 1618 impl NDIS_802_11_KEY {} 1619 impl ::std::default::Default for NDIS_802_11_KEY { default() -> Self1620 fn default() -> Self { 1621 unsafe { ::std::mem::zeroed() } 1622 } 1623 } 1624 impl ::std::fmt::Debug for NDIS_802_11_KEY { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1625 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1626 fmt.debug_struct("NDIS_802_11_KEY").field("Length", &self.Length).field("KeyIndex", &self.KeyIndex).field("KeyLength", &self.KeyLength).field("BSSID", &self.BSSID).field("KeyRSC", &self.KeyRSC).field("KeyMaterial", &self.KeyMaterial).finish() 1627 } 1628 } 1629 impl ::std::cmp::PartialEq for NDIS_802_11_KEY { eq(&self, other: &Self) -> bool1630 fn eq(&self, other: &Self) -> bool { 1631 self.Length == other.Length && self.KeyIndex == other.KeyIndex && self.KeyLength == other.KeyLength && self.BSSID == other.BSSID && self.KeyRSC == other.KeyRSC && self.KeyMaterial == other.KeyMaterial 1632 } 1633 } 1634 impl ::std::cmp::Eq for NDIS_802_11_KEY {} 1635 unsafe impl ::windows::runtime::Abi for NDIS_802_11_KEY { 1636 type Abi = Self; 1637 type DefaultType = Self; 1638 } 1639 pub const NDIS_802_11_LENGTH_RATES: u32 = 8u32; 1640 pub const NDIS_802_11_LENGTH_RATES_EX: u32 = 16u32; 1641 pub const NDIS_802_11_LENGTH_SSID: u32 = 32u32; 1642 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1643 #[repr(transparent)] 1644 pub struct NDIS_802_11_MEDIA_STREAM_MODE(pub i32); 1645 pub const Ndis802_11MediaStreamOff: NDIS_802_11_MEDIA_STREAM_MODE = NDIS_802_11_MEDIA_STREAM_MODE(0i32); 1646 pub const Ndis802_11MediaStreamOn: NDIS_802_11_MEDIA_STREAM_MODE = NDIS_802_11_MEDIA_STREAM_MODE(1i32); 1647 impl ::std::convert::From<i32> for NDIS_802_11_MEDIA_STREAM_MODE { from(value: i32) -> Self1648 fn from(value: i32) -> Self { 1649 Self(value) 1650 } 1651 } 1652 unsafe impl ::windows::runtime::Abi for NDIS_802_11_MEDIA_STREAM_MODE { 1653 type Abi = Self; 1654 type DefaultType = Self; 1655 } 1656 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1657 #[repr(transparent)] 1658 pub struct NDIS_802_11_NETWORK_INFRASTRUCTURE(pub i32); 1659 pub const Ndis802_11IBSS: NDIS_802_11_NETWORK_INFRASTRUCTURE = NDIS_802_11_NETWORK_INFRASTRUCTURE(0i32); 1660 pub const Ndis802_11Infrastructure: NDIS_802_11_NETWORK_INFRASTRUCTURE = NDIS_802_11_NETWORK_INFRASTRUCTURE(1i32); 1661 pub const Ndis802_11AutoUnknown: NDIS_802_11_NETWORK_INFRASTRUCTURE = NDIS_802_11_NETWORK_INFRASTRUCTURE(2i32); 1662 pub const Ndis802_11InfrastructureMax: NDIS_802_11_NETWORK_INFRASTRUCTURE = NDIS_802_11_NETWORK_INFRASTRUCTURE(3i32); 1663 impl ::std::convert::From<i32> for NDIS_802_11_NETWORK_INFRASTRUCTURE { from(value: i32) -> Self1664 fn from(value: i32) -> Self { 1665 Self(value) 1666 } 1667 } 1668 unsafe impl ::windows::runtime::Abi for NDIS_802_11_NETWORK_INFRASTRUCTURE { 1669 type Abi = Self; 1670 type DefaultType = Self; 1671 } 1672 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1673 #[repr(transparent)] 1674 pub struct NDIS_802_11_NETWORK_TYPE(pub i32); 1675 pub const Ndis802_11FH: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(0i32); 1676 pub const Ndis802_11DS: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(1i32); 1677 pub const Ndis802_11OFDM5: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(2i32); 1678 pub const Ndis802_11OFDM24: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(3i32); 1679 pub const Ndis802_11Automode: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(4i32); 1680 pub const Ndis802_11NetworkTypeMax: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(5i32); 1681 impl ::std::convert::From<i32> for NDIS_802_11_NETWORK_TYPE { from(value: i32) -> Self1682 fn from(value: i32) -> Self { 1683 Self(value) 1684 } 1685 } 1686 unsafe impl ::windows::runtime::Abi for NDIS_802_11_NETWORK_TYPE { 1687 type Abi = Self; 1688 type DefaultType = Self; 1689 } 1690 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1691 #[repr(C)] 1692 pub struct NDIS_802_11_NETWORK_TYPE_LIST { 1693 pub NumberOfItems: u32, 1694 pub NetworkType: [NDIS_802_11_NETWORK_TYPE; 1], 1695 } 1696 impl NDIS_802_11_NETWORK_TYPE_LIST {} 1697 impl ::std::default::Default for NDIS_802_11_NETWORK_TYPE_LIST { default() -> Self1698 fn default() -> Self { 1699 unsafe { ::std::mem::zeroed() } 1700 } 1701 } 1702 impl ::std::fmt::Debug for NDIS_802_11_NETWORK_TYPE_LIST { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1703 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1704 fmt.debug_struct("NDIS_802_11_NETWORK_TYPE_LIST").field("NumberOfItems", &self.NumberOfItems).field("NetworkType", &self.NetworkType).finish() 1705 } 1706 } 1707 impl ::std::cmp::PartialEq for NDIS_802_11_NETWORK_TYPE_LIST { eq(&self, other: &Self) -> bool1708 fn eq(&self, other: &Self) -> bool { 1709 self.NumberOfItems == other.NumberOfItems && self.NetworkType == other.NetworkType 1710 } 1711 } 1712 impl ::std::cmp::Eq for NDIS_802_11_NETWORK_TYPE_LIST {} 1713 unsafe impl ::windows::runtime::Abi for NDIS_802_11_NETWORK_TYPE_LIST { 1714 type Abi = Self; 1715 type DefaultType = Self; 1716 } 1717 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1718 #[repr(C)] 1719 pub struct NDIS_802_11_NON_BCAST_SSID_LIST { 1720 pub NumberOfItems: u32, 1721 pub Non_Bcast_Ssid: [NDIS_802_11_SSID; 1], 1722 } 1723 impl NDIS_802_11_NON_BCAST_SSID_LIST {} 1724 impl ::std::default::Default for NDIS_802_11_NON_BCAST_SSID_LIST { default() -> Self1725 fn default() -> Self { 1726 unsafe { ::std::mem::zeroed() } 1727 } 1728 } 1729 impl ::std::fmt::Debug for NDIS_802_11_NON_BCAST_SSID_LIST { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1730 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1731 fmt.debug_struct("NDIS_802_11_NON_BCAST_SSID_LIST").field("NumberOfItems", &self.NumberOfItems).field("Non_Bcast_Ssid", &self.Non_Bcast_Ssid).finish() 1732 } 1733 } 1734 impl ::std::cmp::PartialEq for NDIS_802_11_NON_BCAST_SSID_LIST { eq(&self, other: &Self) -> bool1735 fn eq(&self, other: &Self) -> bool { 1736 self.NumberOfItems == other.NumberOfItems && self.Non_Bcast_Ssid == other.Non_Bcast_Ssid 1737 } 1738 } 1739 impl ::std::cmp::Eq for NDIS_802_11_NON_BCAST_SSID_LIST {} 1740 unsafe impl ::windows::runtime::Abi for NDIS_802_11_NON_BCAST_SSID_LIST { 1741 type Abi = Self; 1742 type DefaultType = Self; 1743 } 1744 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1745 #[repr(C)] 1746 pub struct NDIS_802_11_PMKID { 1747 pub Length: u32, 1748 pub BSSIDInfoCount: u32, 1749 pub BSSIDInfo: [BSSID_INFO; 1], 1750 } 1751 impl NDIS_802_11_PMKID {} 1752 impl ::std::default::Default for NDIS_802_11_PMKID { default() -> Self1753 fn default() -> Self { 1754 unsafe { ::std::mem::zeroed() } 1755 } 1756 } 1757 impl ::std::fmt::Debug for NDIS_802_11_PMKID { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1758 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1759 fmt.debug_struct("NDIS_802_11_PMKID").field("Length", &self.Length).field("BSSIDInfoCount", &self.BSSIDInfoCount).field("BSSIDInfo", &self.BSSIDInfo).finish() 1760 } 1761 } 1762 impl ::std::cmp::PartialEq for NDIS_802_11_PMKID { eq(&self, other: &Self) -> bool1763 fn eq(&self, other: &Self) -> bool { 1764 self.Length == other.Length && self.BSSIDInfoCount == other.BSSIDInfoCount && self.BSSIDInfo == other.BSSIDInfo 1765 } 1766 } 1767 impl ::std::cmp::Eq for NDIS_802_11_PMKID {} 1768 unsafe impl ::windows::runtime::Abi for NDIS_802_11_PMKID { 1769 type Abi = Self; 1770 type DefaultType = Self; 1771 } 1772 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1773 #[repr(C)] 1774 pub struct NDIS_802_11_PMKID_CANDIDATE_LIST { 1775 pub Version: u32, 1776 pub NumCandidates: u32, 1777 pub CandidateList: [PMKID_CANDIDATE; 1], 1778 } 1779 impl NDIS_802_11_PMKID_CANDIDATE_LIST {} 1780 impl ::std::default::Default for NDIS_802_11_PMKID_CANDIDATE_LIST { default() -> Self1781 fn default() -> Self { 1782 unsafe { ::std::mem::zeroed() } 1783 } 1784 } 1785 impl ::std::fmt::Debug for NDIS_802_11_PMKID_CANDIDATE_LIST { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1786 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1787 fmt.debug_struct("NDIS_802_11_PMKID_CANDIDATE_LIST").field("Version", &self.Version).field("NumCandidates", &self.NumCandidates).field("CandidateList", &self.CandidateList).finish() 1788 } 1789 } 1790 impl ::std::cmp::PartialEq for NDIS_802_11_PMKID_CANDIDATE_LIST { eq(&self, other: &Self) -> bool1791 fn eq(&self, other: &Self) -> bool { 1792 self.Version == other.Version && self.NumCandidates == other.NumCandidates && self.CandidateList == other.CandidateList 1793 } 1794 } 1795 impl ::std::cmp::Eq for NDIS_802_11_PMKID_CANDIDATE_LIST {} 1796 unsafe impl ::windows::runtime::Abi for NDIS_802_11_PMKID_CANDIDATE_LIST { 1797 type Abi = Self; 1798 type DefaultType = Self; 1799 } 1800 pub const NDIS_802_11_PMKID_CANDIDATE_PREAUTH_ENABLED: u32 = 1u32; 1801 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1802 #[repr(transparent)] 1803 pub struct NDIS_802_11_POWER_MODE(pub i32); 1804 pub const Ndis802_11PowerModeCAM: NDIS_802_11_POWER_MODE = NDIS_802_11_POWER_MODE(0i32); 1805 pub const Ndis802_11PowerModeMAX_PSP: NDIS_802_11_POWER_MODE = NDIS_802_11_POWER_MODE(1i32); 1806 pub const Ndis802_11PowerModeFast_PSP: NDIS_802_11_POWER_MODE = NDIS_802_11_POWER_MODE(2i32); 1807 pub const Ndis802_11PowerModeMax: NDIS_802_11_POWER_MODE = NDIS_802_11_POWER_MODE(3i32); 1808 impl ::std::convert::From<i32> for NDIS_802_11_POWER_MODE { from(value: i32) -> Self1809 fn from(value: i32) -> Self { 1810 Self(value) 1811 } 1812 } 1813 unsafe impl ::windows::runtime::Abi for NDIS_802_11_POWER_MODE { 1814 type Abi = Self; 1815 type DefaultType = Self; 1816 } 1817 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1818 #[repr(transparent)] 1819 pub struct NDIS_802_11_PRIVACY_FILTER(pub i32); 1820 pub const Ndis802_11PrivFilterAcceptAll: NDIS_802_11_PRIVACY_FILTER = NDIS_802_11_PRIVACY_FILTER(0i32); 1821 pub const Ndis802_11PrivFilter8021xWEP: NDIS_802_11_PRIVACY_FILTER = NDIS_802_11_PRIVACY_FILTER(1i32); 1822 impl ::std::convert::From<i32> for NDIS_802_11_PRIVACY_FILTER { from(value: i32) -> Self1823 fn from(value: i32) -> Self { 1824 Self(value) 1825 } 1826 } 1827 unsafe impl ::windows::runtime::Abi for NDIS_802_11_PRIVACY_FILTER { 1828 type Abi = Self; 1829 type DefaultType = Self; 1830 } 1831 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1832 #[repr(transparent)] 1833 pub struct NDIS_802_11_RADIO_STATUS(pub i32); 1834 pub const Ndis802_11RadioStatusOn: NDIS_802_11_RADIO_STATUS = NDIS_802_11_RADIO_STATUS(0i32); 1835 pub const Ndis802_11RadioStatusHardwareOff: NDIS_802_11_RADIO_STATUS = NDIS_802_11_RADIO_STATUS(1i32); 1836 pub const Ndis802_11RadioStatusSoftwareOff: NDIS_802_11_RADIO_STATUS = NDIS_802_11_RADIO_STATUS(2i32); 1837 pub const Ndis802_11RadioStatusHardwareSoftwareOff: NDIS_802_11_RADIO_STATUS = NDIS_802_11_RADIO_STATUS(3i32); 1838 pub const Ndis802_11RadioStatusMax: NDIS_802_11_RADIO_STATUS = NDIS_802_11_RADIO_STATUS(4i32); 1839 impl ::std::convert::From<i32> for NDIS_802_11_RADIO_STATUS { from(value: i32) -> Self1840 fn from(value: i32) -> Self { 1841 Self(value) 1842 } 1843 } 1844 unsafe impl ::windows::runtime::Abi for NDIS_802_11_RADIO_STATUS { 1845 type Abi = Self; 1846 type DefaultType = Self; 1847 } 1848 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1849 #[repr(transparent)] 1850 pub struct NDIS_802_11_RELOAD_DEFAULTS(pub i32); 1851 pub const Ndis802_11ReloadWEPKeys: NDIS_802_11_RELOAD_DEFAULTS = NDIS_802_11_RELOAD_DEFAULTS(0i32); 1852 impl ::std::convert::From<i32> for NDIS_802_11_RELOAD_DEFAULTS { from(value: i32) -> Self1853 fn from(value: i32) -> Self { 1854 Self(value) 1855 } 1856 } 1857 unsafe impl ::windows::runtime::Abi for NDIS_802_11_RELOAD_DEFAULTS { 1858 type Abi = Self; 1859 type DefaultType = Self; 1860 } 1861 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1862 #[repr(C)] 1863 pub struct NDIS_802_11_REMOVE_KEY { 1864 pub Length: u32, 1865 pub KeyIndex: u32, 1866 pub BSSID: [u8; 6], 1867 } 1868 impl NDIS_802_11_REMOVE_KEY {} 1869 impl ::std::default::Default for NDIS_802_11_REMOVE_KEY { default() -> Self1870 fn default() -> Self { 1871 unsafe { ::std::mem::zeroed() } 1872 } 1873 } 1874 impl ::std::fmt::Debug for NDIS_802_11_REMOVE_KEY { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1875 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1876 fmt.debug_struct("NDIS_802_11_REMOVE_KEY").field("Length", &self.Length).field("KeyIndex", &self.KeyIndex).field("BSSID", &self.BSSID).finish() 1877 } 1878 } 1879 impl ::std::cmp::PartialEq for NDIS_802_11_REMOVE_KEY { eq(&self, other: &Self) -> bool1880 fn eq(&self, other: &Self) -> bool { 1881 self.Length == other.Length && self.KeyIndex == other.KeyIndex && self.BSSID == other.BSSID 1882 } 1883 } 1884 impl ::std::cmp::Eq for NDIS_802_11_REMOVE_KEY {} 1885 unsafe impl ::windows::runtime::Abi for NDIS_802_11_REMOVE_KEY { 1886 type Abi = Self; 1887 type DefaultType = Self; 1888 } 1889 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1890 #[repr(C)] 1891 pub struct NDIS_802_11_SSID { 1892 pub SsidLength: u32, 1893 pub Ssid: [u8; 32], 1894 } 1895 impl NDIS_802_11_SSID {} 1896 impl ::std::default::Default for NDIS_802_11_SSID { default() -> Self1897 fn default() -> Self { 1898 unsafe { ::std::mem::zeroed() } 1899 } 1900 } 1901 impl ::std::fmt::Debug for NDIS_802_11_SSID { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1902 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1903 fmt.debug_struct("NDIS_802_11_SSID").field("SsidLength", &self.SsidLength).field("Ssid", &self.Ssid).finish() 1904 } 1905 } 1906 impl ::std::cmp::PartialEq for NDIS_802_11_SSID { eq(&self, other: &Self) -> bool1907 fn eq(&self, other: &Self) -> bool { 1908 self.SsidLength == other.SsidLength && self.Ssid == other.Ssid 1909 } 1910 } 1911 impl ::std::cmp::Eq for NDIS_802_11_SSID {} 1912 unsafe impl ::windows::runtime::Abi for NDIS_802_11_SSID { 1913 type Abi = Self; 1914 type DefaultType = Self; 1915 } 1916 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1917 #[repr(C)] 1918 pub struct NDIS_802_11_STATISTICS { 1919 pub Length: u32, 1920 pub TransmittedFragmentCount: i64, 1921 pub MulticastTransmittedFrameCount: i64, 1922 pub FailedCount: i64, 1923 pub RetryCount: i64, 1924 pub MultipleRetryCount: i64, 1925 pub RTSSuccessCount: i64, 1926 pub RTSFailureCount: i64, 1927 pub ACKFailureCount: i64, 1928 pub FrameDuplicateCount: i64, 1929 pub ReceivedFragmentCount: i64, 1930 pub MulticastReceivedFrameCount: i64, 1931 pub FCSErrorCount: i64, 1932 pub TKIPLocalMICFailures: i64, 1933 pub TKIPICVErrorCount: i64, 1934 pub TKIPCounterMeasuresInvoked: i64, 1935 pub TKIPReplays: i64, 1936 pub CCMPFormatErrors: i64, 1937 pub CCMPReplays: i64, 1938 pub CCMPDecryptErrors: i64, 1939 pub FourWayHandshakeFailures: i64, 1940 pub WEPUndecryptableCount: i64, 1941 pub WEPICVErrorCount: i64, 1942 pub DecryptSuccessCount: i64, 1943 pub DecryptFailureCount: i64, 1944 } 1945 impl NDIS_802_11_STATISTICS {} 1946 impl ::std::default::Default for NDIS_802_11_STATISTICS { default() -> Self1947 fn default() -> Self { 1948 unsafe { ::std::mem::zeroed() } 1949 } 1950 } 1951 impl ::std::fmt::Debug for NDIS_802_11_STATISTICS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1952 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1953 fmt.debug_struct("NDIS_802_11_STATISTICS") 1954 .field("Length", &self.Length) 1955 .field("TransmittedFragmentCount", &self.TransmittedFragmentCount) 1956 .field("MulticastTransmittedFrameCount", &self.MulticastTransmittedFrameCount) 1957 .field("FailedCount", &self.FailedCount) 1958 .field("RetryCount", &self.RetryCount) 1959 .field("MultipleRetryCount", &self.MultipleRetryCount) 1960 .field("RTSSuccessCount", &self.RTSSuccessCount) 1961 .field("RTSFailureCount", &self.RTSFailureCount) 1962 .field("ACKFailureCount", &self.ACKFailureCount) 1963 .field("FrameDuplicateCount", &self.FrameDuplicateCount) 1964 .field("ReceivedFragmentCount", &self.ReceivedFragmentCount) 1965 .field("MulticastReceivedFrameCount", &self.MulticastReceivedFrameCount) 1966 .field("FCSErrorCount", &self.FCSErrorCount) 1967 .field("TKIPLocalMICFailures", &self.TKIPLocalMICFailures) 1968 .field("TKIPICVErrorCount", &self.TKIPICVErrorCount) 1969 .field("TKIPCounterMeasuresInvoked", &self.TKIPCounterMeasuresInvoked) 1970 .field("TKIPReplays", &self.TKIPReplays) 1971 .field("CCMPFormatErrors", &self.CCMPFormatErrors) 1972 .field("CCMPReplays", &self.CCMPReplays) 1973 .field("CCMPDecryptErrors", &self.CCMPDecryptErrors) 1974 .field("FourWayHandshakeFailures", &self.FourWayHandshakeFailures) 1975 .field("WEPUndecryptableCount", &self.WEPUndecryptableCount) 1976 .field("WEPICVErrorCount", &self.WEPICVErrorCount) 1977 .field("DecryptSuccessCount", &self.DecryptSuccessCount) 1978 .field("DecryptFailureCount", &self.DecryptFailureCount) 1979 .finish() 1980 } 1981 } 1982 impl ::std::cmp::PartialEq for NDIS_802_11_STATISTICS { eq(&self, other: &Self) -> bool1983 fn eq(&self, other: &Self) -> bool { 1984 self.Length == other.Length 1985 && self.TransmittedFragmentCount == other.TransmittedFragmentCount 1986 && self.MulticastTransmittedFrameCount == other.MulticastTransmittedFrameCount 1987 && self.FailedCount == other.FailedCount 1988 && self.RetryCount == other.RetryCount 1989 && self.MultipleRetryCount == other.MultipleRetryCount 1990 && self.RTSSuccessCount == other.RTSSuccessCount 1991 && self.RTSFailureCount == other.RTSFailureCount 1992 && self.ACKFailureCount == other.ACKFailureCount 1993 && self.FrameDuplicateCount == other.FrameDuplicateCount 1994 && self.ReceivedFragmentCount == other.ReceivedFragmentCount 1995 && self.MulticastReceivedFrameCount == other.MulticastReceivedFrameCount 1996 && self.FCSErrorCount == other.FCSErrorCount 1997 && self.TKIPLocalMICFailures == other.TKIPLocalMICFailures 1998 && self.TKIPICVErrorCount == other.TKIPICVErrorCount 1999 && self.TKIPCounterMeasuresInvoked == other.TKIPCounterMeasuresInvoked 2000 && self.TKIPReplays == other.TKIPReplays 2001 && self.CCMPFormatErrors == other.CCMPFormatErrors 2002 && self.CCMPReplays == other.CCMPReplays 2003 && self.CCMPDecryptErrors == other.CCMPDecryptErrors 2004 && self.FourWayHandshakeFailures == other.FourWayHandshakeFailures 2005 && self.WEPUndecryptableCount == other.WEPUndecryptableCount 2006 && self.WEPICVErrorCount == other.WEPICVErrorCount 2007 && self.DecryptSuccessCount == other.DecryptSuccessCount 2008 && self.DecryptFailureCount == other.DecryptFailureCount 2009 } 2010 } 2011 impl ::std::cmp::Eq for NDIS_802_11_STATISTICS {} 2012 unsafe impl ::windows::runtime::Abi for NDIS_802_11_STATISTICS { 2013 type Abi = Self; 2014 type DefaultType = Self; 2015 } 2016 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2017 #[repr(C)] 2018 pub struct NDIS_802_11_STATUS_INDICATION { 2019 pub StatusType: NDIS_802_11_STATUS_TYPE, 2020 } 2021 impl NDIS_802_11_STATUS_INDICATION {} 2022 impl ::std::default::Default for NDIS_802_11_STATUS_INDICATION { default() -> Self2023 fn default() -> Self { 2024 unsafe { ::std::mem::zeroed() } 2025 } 2026 } 2027 impl ::std::fmt::Debug for NDIS_802_11_STATUS_INDICATION { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2028 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2029 fmt.debug_struct("NDIS_802_11_STATUS_INDICATION").field("StatusType", &self.StatusType).finish() 2030 } 2031 } 2032 impl ::std::cmp::PartialEq for NDIS_802_11_STATUS_INDICATION { eq(&self, other: &Self) -> bool2033 fn eq(&self, other: &Self) -> bool { 2034 self.StatusType == other.StatusType 2035 } 2036 } 2037 impl ::std::cmp::Eq for NDIS_802_11_STATUS_INDICATION {} 2038 unsafe impl ::windows::runtime::Abi for NDIS_802_11_STATUS_INDICATION { 2039 type Abi = Self; 2040 type DefaultType = Self; 2041 } 2042 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2043 #[repr(transparent)] 2044 pub struct NDIS_802_11_STATUS_TYPE(pub i32); 2045 pub const Ndis802_11StatusType_Authentication: NDIS_802_11_STATUS_TYPE = NDIS_802_11_STATUS_TYPE(0i32); 2046 pub const Ndis802_11StatusType_MediaStreamMode: NDIS_802_11_STATUS_TYPE = NDIS_802_11_STATUS_TYPE(1i32); 2047 pub const Ndis802_11StatusType_PMKID_CandidateList: NDIS_802_11_STATUS_TYPE = NDIS_802_11_STATUS_TYPE(2i32); 2048 pub const Ndis802_11StatusTypeMax: NDIS_802_11_STATUS_TYPE = NDIS_802_11_STATUS_TYPE(3i32); 2049 impl ::std::convert::From<i32> for NDIS_802_11_STATUS_TYPE { from(value: i32) -> Self2050 fn from(value: i32) -> Self { 2051 Self(value) 2052 } 2053 } 2054 unsafe impl ::windows::runtime::Abi for NDIS_802_11_STATUS_TYPE { 2055 type Abi = Self; 2056 type DefaultType = Self; 2057 } 2058 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2059 #[repr(C)] 2060 pub struct NDIS_802_11_TEST { 2061 pub Length: u32, 2062 pub Type: u32, 2063 pub Anonymous: NDIS_802_11_TEST_0, 2064 } 2065 impl NDIS_802_11_TEST {} 2066 impl ::std::default::Default for NDIS_802_11_TEST { default() -> Self2067 fn default() -> Self { 2068 unsafe { ::std::mem::zeroed() } 2069 } 2070 } 2071 impl ::std::cmp::PartialEq for NDIS_802_11_TEST { eq(&self, _other: &Self) -> bool2072 fn eq(&self, _other: &Self) -> bool { 2073 unimplemented!() 2074 } 2075 } 2076 impl ::std::cmp::Eq for NDIS_802_11_TEST {} 2077 unsafe impl ::windows::runtime::Abi for NDIS_802_11_TEST { 2078 type Abi = Self; 2079 type DefaultType = Self; 2080 } 2081 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2082 #[repr(C)] 2083 pub union NDIS_802_11_TEST_0 { 2084 pub AuthenticationEvent: NDIS_802_11_AUTHENTICATION_EVENT, 2085 pub RssiTrigger: i32, 2086 } 2087 impl NDIS_802_11_TEST_0 {} 2088 impl ::std::default::Default for NDIS_802_11_TEST_0 { default() -> Self2089 fn default() -> Self { 2090 unsafe { ::std::mem::zeroed() } 2091 } 2092 } 2093 impl ::std::cmp::PartialEq for NDIS_802_11_TEST_0 { eq(&self, _other: &Self) -> bool2094 fn eq(&self, _other: &Self) -> bool { 2095 unimplemented!() 2096 } 2097 } 2098 impl ::std::cmp::Eq for NDIS_802_11_TEST_0 {} 2099 unsafe impl ::windows::runtime::Abi for NDIS_802_11_TEST_0 { 2100 type Abi = Self; 2101 type DefaultType = Self; 2102 } 2103 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2104 #[repr(C)] 2105 pub struct NDIS_802_11_VARIABLE_IEs { 2106 pub ElementID: u8, 2107 pub Length: u8, 2108 pub data: [u8; 1], 2109 } 2110 impl NDIS_802_11_VARIABLE_IEs {} 2111 impl ::std::default::Default for NDIS_802_11_VARIABLE_IEs { default() -> Self2112 fn default() -> Self { 2113 unsafe { ::std::mem::zeroed() } 2114 } 2115 } 2116 impl ::std::fmt::Debug for NDIS_802_11_VARIABLE_IEs { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2117 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2118 fmt.debug_struct("NDIS_802_11_VARIABLE_IEs").field("ElementID", &self.ElementID).field("Length", &self.Length).field("data", &self.data).finish() 2119 } 2120 } 2121 impl ::std::cmp::PartialEq for NDIS_802_11_VARIABLE_IEs { eq(&self, other: &Self) -> bool2122 fn eq(&self, other: &Self) -> bool { 2123 self.ElementID == other.ElementID && self.Length == other.Length && self.data == other.data 2124 } 2125 } 2126 impl ::std::cmp::Eq for NDIS_802_11_VARIABLE_IEs {} 2127 unsafe impl ::windows::runtime::Abi for NDIS_802_11_VARIABLE_IEs { 2128 type Abi = Self; 2129 type DefaultType = Self; 2130 } 2131 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2132 #[repr(C)] 2133 pub struct NDIS_802_11_WEP { 2134 pub Length: u32, 2135 pub KeyIndex: u32, 2136 pub KeyLength: u32, 2137 pub KeyMaterial: [u8; 1], 2138 } 2139 impl NDIS_802_11_WEP {} 2140 impl ::std::default::Default for NDIS_802_11_WEP { default() -> Self2141 fn default() -> Self { 2142 unsafe { ::std::mem::zeroed() } 2143 } 2144 } 2145 impl ::std::fmt::Debug for NDIS_802_11_WEP { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2146 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2147 fmt.debug_struct("NDIS_802_11_WEP").field("Length", &self.Length).field("KeyIndex", &self.KeyIndex).field("KeyLength", &self.KeyLength).field("KeyMaterial", &self.KeyMaterial).finish() 2148 } 2149 } 2150 impl ::std::cmp::PartialEq for NDIS_802_11_WEP { eq(&self, other: &Self) -> bool2151 fn eq(&self, other: &Self) -> bool { 2152 self.Length == other.Length && self.KeyIndex == other.KeyIndex && self.KeyLength == other.KeyLength && self.KeyMaterial == other.KeyMaterial 2153 } 2154 } 2155 impl ::std::cmp::Eq for NDIS_802_11_WEP {} 2156 unsafe impl ::windows::runtime::Abi for NDIS_802_11_WEP { 2157 type Abi = Self; 2158 type DefaultType = Self; 2159 } 2160 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2161 #[repr(transparent)] 2162 pub struct NDIS_802_11_WEP_STATUS(pub i32); 2163 pub const Ndis802_11WEPEnabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(0i32); 2164 pub const Ndis802_11Encryption1Enabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(0i32); 2165 pub const Ndis802_11WEPDisabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(1i32); 2166 pub const Ndis802_11EncryptionDisabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(1i32); 2167 pub const Ndis802_11WEPKeyAbsent: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(2i32); 2168 pub const Ndis802_11Encryption1KeyAbsent: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(2i32); 2169 pub const Ndis802_11WEPNotSupported: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(3i32); 2170 pub const Ndis802_11EncryptionNotSupported: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(3i32); 2171 pub const Ndis802_11Encryption2Enabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(4i32); 2172 pub const Ndis802_11Encryption2KeyAbsent: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(5i32); 2173 pub const Ndis802_11Encryption3Enabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(6i32); 2174 pub const Ndis802_11Encryption3KeyAbsent: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(7i32); 2175 impl ::std::convert::From<i32> for NDIS_802_11_WEP_STATUS { from(value: i32) -> Self2176 fn from(value: i32) -> Self { 2177 Self(value) 2178 } 2179 } 2180 unsafe impl ::windows::runtime::Abi for NDIS_802_11_WEP_STATUS { 2181 type Abi = Self; 2182 type DefaultType = Self; 2183 } 2184 pub const NDIS_802_3_MAC_OPTION_PRIORITY: u32 = 1u32; 2185 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2186 #[repr(transparent)] 2187 pub struct NDIS_802_5_RING_STATE(pub i32); 2188 pub const NdisRingStateOpened: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(1i32); 2189 pub const NdisRingStateClosed: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(2i32); 2190 pub const NdisRingStateOpening: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(3i32); 2191 pub const NdisRingStateClosing: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(4i32); 2192 pub const NdisRingStateOpenFailure: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(5i32); 2193 pub const NdisRingStateRingFailure: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(6i32); 2194 impl ::std::convert::From<i32> for NDIS_802_5_RING_STATE { from(value: i32) -> Self2195 fn from(value: i32) -> Self { 2196 Self(value) 2197 } 2198 } 2199 unsafe impl ::windows::runtime::Abi for NDIS_802_5_RING_STATE { 2200 type Abi = Self; 2201 type DefaultType = Self; 2202 } 2203 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2204 #[repr(C)] 2205 pub struct NDIS_CO_DEVICE_PROFILE { 2206 pub DeviceDescription: NDIS_VAR_DATA_DESC, 2207 pub DevSpecificInfo: NDIS_VAR_DATA_DESC, 2208 pub ulTAPISupplementaryPassThru: u32, 2209 pub ulAddressModes: u32, 2210 pub ulNumAddresses: u32, 2211 pub ulBearerModes: u32, 2212 pub ulMaxTxRate: u32, 2213 pub ulMinTxRate: u32, 2214 pub ulMaxRxRate: u32, 2215 pub ulMinRxRate: u32, 2216 pub ulMediaModes: u32, 2217 pub ulGenerateToneModes: u32, 2218 pub ulGenerateToneMaxNumFreq: u32, 2219 pub ulGenerateDigitModes: u32, 2220 pub ulMonitorToneMaxNumFreq: u32, 2221 pub ulMonitorToneMaxNumEntries: u32, 2222 pub ulMonitorDigitModes: u32, 2223 pub ulGatherDigitsMinTimeout: u32, 2224 pub ulGatherDigitsMaxTimeout: u32, 2225 pub ulDevCapFlags: u32, 2226 pub ulMaxNumActiveCalls: u32, 2227 pub ulAnswerMode: u32, 2228 pub ulUUIAcceptSize: u32, 2229 pub ulUUIAnswerSize: u32, 2230 pub ulUUIMakeCallSize: u32, 2231 pub ulUUIDropSize: u32, 2232 pub ulUUISendUserUserInfoSize: u32, 2233 pub ulUUICallInfoSize: u32, 2234 } 2235 impl NDIS_CO_DEVICE_PROFILE {} 2236 impl ::std::default::Default for NDIS_CO_DEVICE_PROFILE { default() -> Self2237 fn default() -> Self { 2238 unsafe { ::std::mem::zeroed() } 2239 } 2240 } 2241 impl ::std::fmt::Debug for NDIS_CO_DEVICE_PROFILE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2242 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2243 fmt.debug_struct("NDIS_CO_DEVICE_PROFILE") 2244 .field("DeviceDescription", &self.DeviceDescription) 2245 .field("DevSpecificInfo", &self.DevSpecificInfo) 2246 .field("ulTAPISupplementaryPassThru", &self.ulTAPISupplementaryPassThru) 2247 .field("ulAddressModes", &self.ulAddressModes) 2248 .field("ulNumAddresses", &self.ulNumAddresses) 2249 .field("ulBearerModes", &self.ulBearerModes) 2250 .field("ulMaxTxRate", &self.ulMaxTxRate) 2251 .field("ulMinTxRate", &self.ulMinTxRate) 2252 .field("ulMaxRxRate", &self.ulMaxRxRate) 2253 .field("ulMinRxRate", &self.ulMinRxRate) 2254 .field("ulMediaModes", &self.ulMediaModes) 2255 .field("ulGenerateToneModes", &self.ulGenerateToneModes) 2256 .field("ulGenerateToneMaxNumFreq", &self.ulGenerateToneMaxNumFreq) 2257 .field("ulGenerateDigitModes", &self.ulGenerateDigitModes) 2258 .field("ulMonitorToneMaxNumFreq", &self.ulMonitorToneMaxNumFreq) 2259 .field("ulMonitorToneMaxNumEntries", &self.ulMonitorToneMaxNumEntries) 2260 .field("ulMonitorDigitModes", &self.ulMonitorDigitModes) 2261 .field("ulGatherDigitsMinTimeout", &self.ulGatherDigitsMinTimeout) 2262 .field("ulGatherDigitsMaxTimeout", &self.ulGatherDigitsMaxTimeout) 2263 .field("ulDevCapFlags", &self.ulDevCapFlags) 2264 .field("ulMaxNumActiveCalls", &self.ulMaxNumActiveCalls) 2265 .field("ulAnswerMode", &self.ulAnswerMode) 2266 .field("ulUUIAcceptSize", &self.ulUUIAcceptSize) 2267 .field("ulUUIAnswerSize", &self.ulUUIAnswerSize) 2268 .field("ulUUIMakeCallSize", &self.ulUUIMakeCallSize) 2269 .field("ulUUIDropSize", &self.ulUUIDropSize) 2270 .field("ulUUISendUserUserInfoSize", &self.ulUUISendUserUserInfoSize) 2271 .field("ulUUICallInfoSize", &self.ulUUICallInfoSize) 2272 .finish() 2273 } 2274 } 2275 impl ::std::cmp::PartialEq for NDIS_CO_DEVICE_PROFILE { eq(&self, other: &Self) -> bool2276 fn eq(&self, other: &Self) -> bool { 2277 self.DeviceDescription == other.DeviceDescription 2278 && self.DevSpecificInfo == other.DevSpecificInfo 2279 && self.ulTAPISupplementaryPassThru == other.ulTAPISupplementaryPassThru 2280 && self.ulAddressModes == other.ulAddressModes 2281 && self.ulNumAddresses == other.ulNumAddresses 2282 && self.ulBearerModes == other.ulBearerModes 2283 && self.ulMaxTxRate == other.ulMaxTxRate 2284 && self.ulMinTxRate == other.ulMinTxRate 2285 && self.ulMaxRxRate == other.ulMaxRxRate 2286 && self.ulMinRxRate == other.ulMinRxRate 2287 && self.ulMediaModes == other.ulMediaModes 2288 && self.ulGenerateToneModes == other.ulGenerateToneModes 2289 && self.ulGenerateToneMaxNumFreq == other.ulGenerateToneMaxNumFreq 2290 && self.ulGenerateDigitModes == other.ulGenerateDigitModes 2291 && self.ulMonitorToneMaxNumFreq == other.ulMonitorToneMaxNumFreq 2292 && self.ulMonitorToneMaxNumEntries == other.ulMonitorToneMaxNumEntries 2293 && self.ulMonitorDigitModes == other.ulMonitorDigitModes 2294 && self.ulGatherDigitsMinTimeout == other.ulGatherDigitsMinTimeout 2295 && self.ulGatherDigitsMaxTimeout == other.ulGatherDigitsMaxTimeout 2296 && self.ulDevCapFlags == other.ulDevCapFlags 2297 && self.ulMaxNumActiveCalls == other.ulMaxNumActiveCalls 2298 && self.ulAnswerMode == other.ulAnswerMode 2299 && self.ulUUIAcceptSize == other.ulUUIAcceptSize 2300 && self.ulUUIAnswerSize == other.ulUUIAnswerSize 2301 && self.ulUUIMakeCallSize == other.ulUUIMakeCallSize 2302 && self.ulUUIDropSize == other.ulUUIDropSize 2303 && self.ulUUISendUserUserInfoSize == other.ulUUISendUserUserInfoSize 2304 && self.ulUUICallInfoSize == other.ulUUICallInfoSize 2305 } 2306 } 2307 impl ::std::cmp::Eq for NDIS_CO_DEVICE_PROFILE {} 2308 unsafe impl ::windows::runtime::Abi for NDIS_CO_DEVICE_PROFILE { 2309 type Abi = Self; 2310 type DefaultType = Self; 2311 } 2312 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2313 #[repr(C)] 2314 pub struct NDIS_CO_LINK_SPEED { 2315 pub Outbound: u32, 2316 pub Inbound: u32, 2317 } 2318 impl NDIS_CO_LINK_SPEED {} 2319 impl ::std::default::Default for NDIS_CO_LINK_SPEED { default() -> Self2320 fn default() -> Self { 2321 unsafe { ::std::mem::zeroed() } 2322 } 2323 } 2324 impl ::std::fmt::Debug for NDIS_CO_LINK_SPEED { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2325 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2326 fmt.debug_struct("NDIS_CO_LINK_SPEED").field("Outbound", &self.Outbound).field("Inbound", &self.Inbound).finish() 2327 } 2328 } 2329 impl ::std::cmp::PartialEq for NDIS_CO_LINK_SPEED { eq(&self, other: &Self) -> bool2330 fn eq(&self, other: &Self) -> bool { 2331 self.Outbound == other.Outbound && self.Inbound == other.Inbound 2332 } 2333 } 2334 impl ::std::cmp::Eq for NDIS_CO_LINK_SPEED {} 2335 unsafe impl ::windows::runtime::Abi for NDIS_CO_LINK_SPEED { 2336 type Abi = Self; 2337 type DefaultType = Self; 2338 } 2339 pub const NDIS_CO_MAC_OPTION_DYNAMIC_LINK_SPEED: u32 = 1u32; 2340 pub const NDIS_DEFAULT_RECEIVE_FILTER_ID: u32 = 0u32; 2341 pub const NDIS_DEFAULT_RECEIVE_QUEUE_GROUP_ID: u32 = 0u32; 2342 pub const NDIS_DEFAULT_RECEIVE_QUEUE_ID: u32 = 0u32; 2343 pub const NDIS_DEFAULT_SWITCH_ID: u32 = 0u32; 2344 pub const NDIS_DEFAULT_VPORT_ID: u32 = 0u32; 2345 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2346 #[repr(transparent)] 2347 pub struct NDIS_DEVICE_POWER_STATE(pub i32); 2348 pub const NdisDeviceStateUnspecified: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(0i32); 2349 pub const NdisDeviceStateD0: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(1i32); 2350 pub const NdisDeviceStateD1: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(2i32); 2351 pub const NdisDeviceStateD2: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(3i32); 2352 pub const NdisDeviceStateD3: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(4i32); 2353 pub const NdisDeviceStateMaximum: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(5i32); 2354 impl ::std::convert::From<i32> for NDIS_DEVICE_POWER_STATE { from(value: i32) -> Self2355 fn from(value: i32) -> Self { 2356 Self(value) 2357 } 2358 } 2359 unsafe impl ::windows::runtime::Abi for NDIS_DEVICE_POWER_STATE { 2360 type Abi = Self; 2361 type DefaultType = Self; 2362 } 2363 pub const NDIS_DEVICE_TYPE_ENDPOINT: u32 = 1u32; 2364 pub const NDIS_DEVICE_WAKE_ON_MAGIC_PACKET_ENABLE: u32 = 4u32; 2365 pub const NDIS_DEVICE_WAKE_ON_PATTERN_MATCH_ENABLE: u32 = 2u32; 2366 pub const NDIS_DEVICE_WAKE_UP_ENABLE: u32 = 1u32; 2367 pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_INNER_IPV4: u32 = 1u32; 2368 pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_INNER_IPV6: u32 = 4u32; 2369 pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_NOT_SUPPORTED: u32 = 0u32; 2370 pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_OUTER_IPV4: u32 = 2u32; 2371 pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_OUTER_IPV6: u32 = 8u32; 2372 pub const NDIS_ENCAPSULATION_IEEE_802_3: u32 = 2u32; 2373 pub const NDIS_ENCAPSULATION_IEEE_802_3_P_AND_Q: u32 = 4u32; 2374 pub const NDIS_ENCAPSULATION_IEEE_802_3_P_AND_Q_IN_OOB: u32 = 8u32; 2375 pub const NDIS_ENCAPSULATION_IEEE_LLC_SNAP_ROUTED: u32 = 16u32; 2376 pub const NDIS_ENCAPSULATION_NOT_SUPPORTED: u32 = 0u32; 2377 pub const NDIS_ENCAPSULATION_NULL: u32 = 1u32; 2378 pub const NDIS_ENCAPSULATION_TYPE_GRE_MAC: u32 = 1u32; 2379 pub const NDIS_ENCAPSULATION_TYPE_VXLAN: u32 = 2u32; 2380 pub const NDIS_ETH_TYPE_802_1Q: u32 = 33024u32; 2381 pub const NDIS_ETH_TYPE_802_1X: u32 = 34958u32; 2382 pub const NDIS_ETH_TYPE_ARP: u32 = 2054u32; 2383 pub const NDIS_ETH_TYPE_IPV4: u32 = 2048u32; 2384 pub const NDIS_ETH_TYPE_IPV6: u32 = 34525u32; 2385 pub const NDIS_ETH_TYPE_SLOW_PROTOCOL: u32 = 34825u32; 2386 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2387 #[repr(transparent)] 2388 pub struct NDIS_FDDI_ATTACHMENT_TYPE(pub i32); 2389 pub const NdisFddiTypeIsolated: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(1i32); 2390 pub const NdisFddiTypeLocalA: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(2i32); 2391 pub const NdisFddiTypeLocalB: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(3i32); 2392 pub const NdisFddiTypeLocalAB: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(4i32); 2393 pub const NdisFddiTypeLocalS: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(5i32); 2394 pub const NdisFddiTypeWrapA: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(6i32); 2395 pub const NdisFddiTypeWrapB: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(7i32); 2396 pub const NdisFddiTypeWrapAB: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(8i32); 2397 pub const NdisFddiTypeWrapS: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(9i32); 2398 pub const NdisFddiTypeCWrapA: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(10i32); 2399 pub const NdisFddiTypeCWrapB: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(11i32); 2400 pub const NdisFddiTypeCWrapS: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(12i32); 2401 pub const NdisFddiTypeThrough: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(13i32); 2402 impl ::std::convert::From<i32> for NDIS_FDDI_ATTACHMENT_TYPE { from(value: i32) -> Self2403 fn from(value: i32) -> Self { 2404 Self(value) 2405 } 2406 } 2407 unsafe impl ::windows::runtime::Abi for NDIS_FDDI_ATTACHMENT_TYPE { 2408 type Abi = Self; 2409 type DefaultType = Self; 2410 } 2411 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2412 #[repr(transparent)] 2413 pub struct NDIS_FDDI_LCONNECTION_STATE(pub i32); 2414 pub const NdisFddiStateOff: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(1i32); 2415 pub const NdisFddiStateBreak: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(2i32); 2416 pub const NdisFddiStateTrace: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(3i32); 2417 pub const NdisFddiStateConnect: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(4i32); 2418 pub const NdisFddiStateNext: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(5i32); 2419 pub const NdisFddiStateSignal: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(6i32); 2420 pub const NdisFddiStateJoin: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(7i32); 2421 pub const NdisFddiStateVerify: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(8i32); 2422 pub const NdisFddiStateActive: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(9i32); 2423 pub const NdisFddiStateMaintenance: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(10i32); 2424 impl ::std::convert::From<i32> for NDIS_FDDI_LCONNECTION_STATE { from(value: i32) -> Self2425 fn from(value: i32) -> Self { 2426 Self(value) 2427 } 2428 } 2429 unsafe impl ::windows::runtime::Abi for NDIS_FDDI_LCONNECTION_STATE { 2430 type Abi = Self; 2431 type DefaultType = Self; 2432 } 2433 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2434 #[repr(transparent)] 2435 pub struct NDIS_FDDI_RING_MGT_STATE(pub i32); 2436 pub const NdisFddiRingIsolated: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(1i32); 2437 pub const NdisFddiRingNonOperational: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(2i32); 2438 pub const NdisFddiRingOperational: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(3i32); 2439 pub const NdisFddiRingDetect: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(4i32); 2440 pub const NdisFddiRingNonOperationalDup: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(5i32); 2441 pub const NdisFddiRingOperationalDup: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(6i32); 2442 pub const NdisFddiRingDirected: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(7i32); 2443 pub const NdisFddiRingTrace: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(8i32); 2444 impl ::std::convert::From<i32> for NDIS_FDDI_RING_MGT_STATE { from(value: i32) -> Self2445 fn from(value: i32) -> Self { 2446 Self(value) 2447 } 2448 } 2449 unsafe impl ::windows::runtime::Abi for NDIS_FDDI_RING_MGT_STATE { 2450 type Abi = Self; 2451 type DefaultType = Self; 2452 } 2453 pub const NDIS_GFP_ENCAPSULATION_TYPE_IP_IN_GRE: u32 = 4u32; 2454 pub const NDIS_GFP_ENCAPSULATION_TYPE_IP_IN_IP: u32 = 2u32; 2455 pub const NDIS_GFP_ENCAPSULATION_TYPE_NOT_ENCAPSULATED: u32 = 1u32; 2456 pub const NDIS_GFP_ENCAPSULATION_TYPE_NVGRE: u32 = 8u32; 2457 pub const NDIS_GFP_ENCAPSULATION_TYPE_VXLAN: u32 = 16u32; 2458 pub const NDIS_GFP_EXACT_MATCH_PROFILE_RDMA_FLOW: u32 = 1u32; 2459 pub const NDIS_GFP_EXACT_MATCH_PROFILE_REVISION_1: u32 = 1u32; 2460 pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_IS_TTL_ONE: u32 = 1u32; 2461 pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_PROFILE_IS_TTL_ONE: u32 = 1u32; 2462 pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_PROFILE_REVISION_1: u32 = 1u32; 2463 pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_REVISION_1: u32 = 1u32; 2464 pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_IS_TTL_ONE: u32 = 1u32; 2465 pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_PROFILE_IS_TTL_ONE: u32 = 1u32; 2466 pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_PROFILE_REVISION_1: u32 = 1u32; 2467 pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_REVISION_1: u32 = 1u32; 2468 pub const NDIS_GFP_HEADER_PRESENT_ESP: u32 = 2048u32; 2469 pub const NDIS_GFP_HEADER_PRESENT_ETHERNET: u32 = 1u32; 2470 pub const NDIS_GFP_HEADER_PRESENT_ICMP: u32 = 32u32; 2471 pub const NDIS_GFP_HEADER_PRESENT_IPV4: u32 = 2u32; 2472 pub const NDIS_GFP_HEADER_PRESENT_IPV6: u32 = 4u32; 2473 pub const NDIS_GFP_HEADER_PRESENT_IP_IN_GRE_ENCAP: u32 = 256u32; 2474 pub const NDIS_GFP_HEADER_PRESENT_IP_IN_IP_ENCAP: u32 = 128u32; 2475 pub const NDIS_GFP_HEADER_PRESENT_NO_ENCAP: u32 = 64u32; 2476 pub const NDIS_GFP_HEADER_PRESENT_NVGRE_ENCAP: u32 = 512u32; 2477 pub const NDIS_GFP_HEADER_PRESENT_TCP: u32 = 8u32; 2478 pub const NDIS_GFP_HEADER_PRESENT_UDP: u32 = 16u32; 2479 pub const NDIS_GFP_HEADER_PRESENT_VXLAN_ENCAP: u32 = 1024u32; 2480 pub const NDIS_GFP_UNDEFINED_PROFILE_ID: u32 = 0u32; 2481 pub const NDIS_GFP_WILDCARD_MATCH_PROFILE_REVISION_1: u32 = 1u32; 2482 pub const NDIS_GFT_COUNTER_INFO_ARRAY_REVISION_1: u32 = 1u32; 2483 pub const NDIS_GFT_COUNTER_INFO_REVISION_1: u32 = 1u32; 2484 pub const NDIS_GFT_COUNTER_PARAMETERS_CLIENT_SPECIFIED_ADDRESS: u32 = 1u32; 2485 pub const NDIS_GFT_COUNTER_PARAMETERS_REVISION_1: u32 = 1u32; 2486 pub const NDIS_GFT_COUNTER_VALUE_ARRAY_GET_VALUES: u32 = 2u32; 2487 pub const NDIS_GFT_COUNTER_VALUE_ARRAY_REVISION_1: u32 = 1u32; 2488 pub const NDIS_GFT_COUNTER_VALUE_ARRAY_UPDATE_MEMORY_MAPPED_COUNTERS: u32 = 1u32; 2489 pub const NDIS_GFT_CUSTOM_ACTION_LAST_ACTION: u32 = 1u32; 2490 pub const NDIS_GFT_CUSTOM_ACTION_PROFILE_REVISION_1: u32 = 1u32; 2491 pub const NDIS_GFT_CUSTOM_ACTION_REVISION_1: u32 = 1u32; 2492 pub const NDIS_GFT_DELETE_PROFILE_ALL_PROFILES: u32 = 1u32; 2493 pub const NDIS_GFT_DELETE_PROFILE_PARAMETERS_REVISION_1: u32 = 1u32; 2494 pub const NDIS_GFT_DELETE_TABLE_PARAMETERS_REVISION_1: u32 = 1u32; 2495 pub const NDIS_GFT_EMFE_ADD_IN_ACTIVATED_STATE: u32 = 1u32; 2496 pub const NDIS_GFT_EMFE_ALL_VPORT_FLOW_ENTRIES: u32 = 33554432u32; 2497 pub const NDIS_GFT_EMFE_COPY_AFTER_TCP_FIN_FLAG_SET: u32 = 2097152u32; 2498 pub const NDIS_GFT_EMFE_COPY_AFTER_TCP_RST_FLAG_SET: u32 = 4194304u32; 2499 pub const NDIS_GFT_EMFE_COPY_ALL_PACKETS: u32 = 65536u32; 2500 pub const NDIS_GFT_EMFE_COPY_CONDITION_CHANGED: u32 = 16777216u32; 2501 pub const NDIS_GFT_EMFE_COPY_FIRST_PACKET: u32 = 131072u32; 2502 pub const NDIS_GFT_EMFE_COPY_WHEN_TCP_FLAG_SET: u32 = 262144u32; 2503 pub const NDIS_GFT_EMFE_COUNTER_ALLOCATE: u32 = 1u32; 2504 pub const NDIS_GFT_EMFE_COUNTER_CLIENT_SPECIFIED_ADDRESS: u32 = 4u32; 2505 pub const NDIS_GFT_EMFE_COUNTER_MEMORY_MAPPED: u32 = 2u32; 2506 pub const NDIS_GFT_EMFE_COUNTER_TRACK_TCP_FLOW: u32 = 8u32; 2507 pub const NDIS_GFT_EMFE_CUSTOM_ACTION_PRESENT: u32 = 524288u32; 2508 pub const NDIS_GFT_EMFE_MATCH_AND_ACTION_MUST_BE_SUPPORTED: u32 = 2u32; 2509 pub const NDIS_GFT_EMFE_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 1048576u32; 2510 pub const NDIS_GFT_EMFE_RDMA_FLOW: u32 = 4u32; 2511 pub const NDIS_GFT_EMFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 8192u32; 2512 pub const NDIS_GFT_EMFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 32768u32; 2513 pub const NDIS_GFT_EMFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 4096u32; 2514 pub const NDIS_GFT_EMFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 16384u32; 2515 pub const NDIS_GFT_EXACT_MATCH_FLOW_ENTRY_REVISION_1: u32 = 1u32; 2516 pub const NDIS_GFT_FLOW_ENTRY_ARRAY_REVISION_1: u32 = 1u32; 2517 pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_NIC_SWITCH_FLOW_ENTRIES: u32 = 1u32; 2518 pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_TABLE_FLOW_ENTRIES: u32 = 2u32; 2519 pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_VPORT_FLOW_ENTRIES: u32 = 4u32; 2520 pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_COUNTER_VALUES: u32 = 65536u32; 2521 pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_DEFINED: u32 = 16u32; 2522 pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_REVISION_1: u32 = 1u32; 2523 pub const NDIS_GFT_FLOW_ENTRY_ID_RANGE_DEFINED: u32 = 8u32; 2524 pub const NDIS_GFT_FLOW_ENTRY_INFO_ALL_FLOW_ENTRIES: u32 = 1u32; 2525 pub const NDIS_GFT_FLOW_ENTRY_INFO_ARRAY_REVISION_1: u32 = 1u32; 2526 pub const NDIS_GFT_FREE_COUNTER_PARAMETERS_REVISION_1: u32 = 1u32; 2527 pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_DECREMENT_TTL_IF_NOT_ONE: u32 = 1u32; 2528 pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_PROFILE_DECREMENT_TTL_IF_NOT_ONE: u32 = 1u32; 2529 pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_PROFILE_REVISION_1: u32 = 1u32; 2530 pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_REVISION_1: u32 = 1u32; 2531 pub const NDIS_GFT_HEADER_TRANSPOSITION_PROFILE_REVISION_1: u32 = 1u32; 2532 pub const NDIS_GFT_HTP_COPY_ALL_PACKETS: u32 = 16u32; 2533 pub const NDIS_GFT_HTP_COPY_FIRST_PACKET: u32 = 32u32; 2534 pub const NDIS_GFT_HTP_COPY_WHEN_TCP_FLAG_SET: u32 = 64u32; 2535 pub const NDIS_GFT_HTP_CUSTOM_ACTION_PRESENT: u32 = 128u32; 2536 pub const NDIS_GFT_HTP_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 256u32; 2537 pub const NDIS_GFT_HTP_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 2u32; 2538 pub const NDIS_GFT_HTP_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 8u32; 2539 pub const NDIS_GFT_HTP_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 1u32; 2540 pub const NDIS_GFT_HTP_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 4u32; 2541 pub const NDIS_GFT_MAX_COUNTER_OBJECTS_PER_FLOW_ENTRY: u32 = 8u32; 2542 pub const NDIS_GFT_OFFLOAD_CAPABILITIES_REVISION_1: u32 = 1u32; 2543 pub const NDIS_GFT_OFFLOAD_CAPS_8021P_PRIORITY_MASK: u32 = 131072u32; 2544 pub const NDIS_GFT_OFFLOAD_CAPS_ADD_FLOW_ENTRY_DEACTIVATED_PREFERRED: u32 = 1u32; 2545 pub const NDIS_GFT_OFFLOAD_CAPS_ALLOW: u32 = 262144u32; 2546 pub const NDIS_GFT_OFFLOAD_CAPS_CLIENT_SPECIFIED_MEMORY_MAPPED_COUNTERS: u32 = 16u32; 2547 pub const NDIS_GFT_OFFLOAD_CAPS_COMBINED_COUNTER_AND_STATE: u32 = 256u32; 2548 pub const NDIS_GFT_OFFLOAD_CAPS_COPY_ALL: u32 = 256u32; 2549 pub const NDIS_GFT_OFFLOAD_CAPS_COPY_FIRST: u32 = 512u32; 2550 pub const NDIS_GFT_OFFLOAD_CAPS_COPY_WHEN_TCP_FLAG_SET: u32 = 1024u32; 2551 pub const NDIS_GFT_OFFLOAD_CAPS_DESIGNATED_EXCEPTION_VPORT: u32 = 32768u32; 2552 pub const NDIS_GFT_OFFLOAD_CAPS_DROP: u32 = 524288u32; 2553 pub const NDIS_GFT_OFFLOAD_CAPS_DSCP_MASK: u32 = 65536u32; 2554 pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_AGGREGATE_COUNTERS: u32 = 64u32; 2555 pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_EXACT_MATCH: u32 = 8u32; 2556 pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_WILDCARD_MATCH: u32 = 2u32; 2557 pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_EGRESS_EXACT_MATCH: u32 = 128u32; 2558 pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_EGRESS_WILDCARD_MATCH: u32 = 32u32; 2559 pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_INGRESS_EXACT_MATCH: u32 = 64u32; 2560 pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_INGRESS_WILDCARD_MATCH: u32 = 16u32; 2561 pub const NDIS_GFT_OFFLOAD_CAPS_IGNORE_ACTION_SUPPORTED: u32 = 8u32; 2562 pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_AGGREGATE_COUNTERS: u32 = 32u32; 2563 pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_EXACT_MATCH: u32 = 4u32; 2564 pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_WILDCARD_MATCH: u32 = 1u32; 2565 pub const NDIS_GFT_OFFLOAD_CAPS_MEMORY_MAPPED_COUNTERS: u32 = 1u32; 2566 pub const NDIS_GFT_OFFLOAD_CAPS_MEMORY_MAPPED_PAKCET_AND_BYTE_COUNTERS: u32 = 2u32; 2567 pub const NDIS_GFT_OFFLOAD_CAPS_META_ACTION_AFTER_HEADER_TRANSPOSITION: u32 = 8192u32; 2568 pub const NDIS_GFT_OFFLOAD_CAPS_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 4096u32; 2569 pub const NDIS_GFT_OFFLOAD_CAPS_MODIFY: u32 = 4u32; 2570 pub const NDIS_GFT_OFFLOAD_CAPS_PER_FLOW_ENTRY_COUNTERS: u32 = 4u32; 2571 pub const NDIS_GFT_OFFLOAD_CAPS_PER_PACKET_COUNTER_UPDATE: u32 = 8u32; 2572 pub const NDIS_GFT_OFFLOAD_CAPS_PER_VPORT_EXCEPTION_VPORT: u32 = 16384u32; 2573 pub const NDIS_GFT_OFFLOAD_CAPS_POP: u32 = 1u32; 2574 pub const NDIS_GFT_OFFLOAD_CAPS_PUSH: u32 = 2u32; 2575 pub const NDIS_GFT_OFFLOAD_CAPS_RATE_LIMITING_QUEUE_SUPPORTED: u32 = 2u32; 2576 pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 32u32; 2577 pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 128u32; 2578 pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 16u32; 2579 pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 64u32; 2580 pub const NDIS_GFT_OFFLOAD_CAPS_SAMPLE: u32 = 2048u32; 2581 pub const NDIS_GFT_OFFLOAD_CAPS_TRACK_TCP_FLOW_STATE: u32 = 128u32; 2582 pub const NDIS_GFT_OFFLOAD_PARAMETERS_CUSTOM_PROVIDER_RESERVED: u32 = 4278190080u32; 2583 pub const NDIS_GFT_OFFLOAD_PARAMETERS_ENABLE_OFFLOAD: u32 = 1u32; 2584 pub const NDIS_GFT_OFFLOAD_PARAMETERS_REVISION_1: u32 = 1u32; 2585 pub const NDIS_GFT_PROFILE_INFO_ARRAY_REVISION_1: u32 = 1u32; 2586 pub const NDIS_GFT_PROFILE_INFO_REVISION_1: u32 = 1u32; 2587 pub const NDIS_GFT_RESERVED_CUSTOM_ACTIONS: u32 = 256u32; 2588 pub const NDIS_GFT_STATISTICS_REVISION_1: u32 = 1u32; 2589 pub const NDIS_GFT_TABLE_INCLUDE_EXTERNAL_VPPORT: u32 = 1u32; 2590 pub const NDIS_GFT_TABLE_INFO_ARRAY_REVISION_1: u32 = 1u32; 2591 pub const NDIS_GFT_TABLE_INFO_REVISION_1: u32 = 1u32; 2592 pub const NDIS_GFT_TABLE_PARAMETERS_REVISION_1: u32 = 1u32; 2593 pub const NDIS_GFT_UNDEFINED_COUNTER_ID: u32 = 0u32; 2594 pub const NDIS_GFT_UNDEFINED_CUSTOM_ACTION: u32 = 0u32; 2595 pub const NDIS_GFT_UNDEFINED_FLOW_ENTRY_ID: u32 = 0u32; 2596 pub const NDIS_GFT_UNDEFINED_TABLE_ID: u32 = 0u32; 2597 pub const NDIS_GFT_VPORT_DSCP_FLAGS_CHANGED: u32 = 67108864u32; 2598 pub const NDIS_GFT_VPORT_DSCP_GUARD_ENABLE_RX: u32 = 1u32; 2599 pub const NDIS_GFT_VPORT_DSCP_GUARD_ENABLE_TX: u32 = 2u32; 2600 pub const NDIS_GFT_VPORT_DSCP_MASK_CHANGED: u32 = 8388608u32; 2601 pub const NDIS_GFT_VPORT_DSCP_MASK_ENABLE_RX: u32 = 4u32; 2602 pub const NDIS_GFT_VPORT_DSCP_MASK_ENABLE_TX: u32 = 8u32; 2603 pub const NDIS_GFT_VPORT_ENABLE: u32 = 1u32; 2604 pub const NDIS_GFT_VPORT_ENABLE_STATE_CHANGED: u32 = 1048576u32; 2605 pub const NDIS_GFT_VPORT_EXCEPTION_VPORT_CHANGED: u32 = 2097152u32; 2606 pub const NDIS_GFT_VPORT_MAX_DSCP_MASK_COUNTER_OBJECTS: u32 = 64u32; 2607 pub const NDIS_GFT_VPORT_MAX_PRIORITY_MASK_COUNTER_OBJECTS: u32 = 8u32; 2608 pub const NDIS_GFT_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; 2609 pub const NDIS_GFT_VPORT_PARAMS_CHANGE_MASK: u32 = 4293918720u32; 2610 pub const NDIS_GFT_VPORT_PARAMS_CUSTOM_PROVIDER_RESERVED: u32 = 1044480u32; 2611 pub const NDIS_GFT_VPORT_PARSE_VXLAN: u32 = 2u32; 2612 pub const NDIS_GFT_VPORT_PARSE_VXLAN_NOT_IN_SRC_PORT_RANGE: u32 = 4u32; 2613 pub const NDIS_GFT_VPORT_PRIORITY_MASK_CHANGED: u32 = 16777216u32; 2614 pub const NDIS_GFT_VPORT_SAMPLING_RATE_CHANGED: u32 = 4194304u32; 2615 pub const NDIS_GFT_VPORT_VXLAN_SETTINGS_CHANGED: u32 = 33554432u32; 2616 pub const NDIS_GFT_WCFE_ADD_IN_ACTIVATED_STATE: u32 = 1u32; 2617 pub const NDIS_GFT_WCFE_COPY_ALL_PACKETS: u32 = 32u32; 2618 pub const NDIS_GFT_WCFE_COUNTER_ALLOCATE: u32 = 1u32; 2619 pub const NDIS_GFT_WCFE_COUNTER_CLIENT_SPECIFIED_ADDRESS: u32 = 4u32; 2620 pub const NDIS_GFT_WCFE_COUNTER_MEMORY_MAPPED: u32 = 2u32; 2621 pub const NDIS_GFT_WCFE_CUSTOM_ACTION_PRESENT: u32 = 64u32; 2622 pub const NDIS_GFT_WCFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 4u32; 2623 pub const NDIS_GFT_WCFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 16u32; 2624 pub const NDIS_GFT_WCFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 2u32; 2625 pub const NDIS_GFT_WCFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 8u32; 2626 pub const NDIS_GFT_WILDCARD_MATCH_FLOW_ENTRY_REVISION_1: u32 = 1u32; 2627 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2628 #[repr(C)] 2629 pub struct NDIS_GUID { 2630 pub Guid: ::windows::runtime::GUID, 2631 pub Anonymous: NDIS_GUID_0, 2632 pub Size: u32, 2633 pub Flags: u32, 2634 } 2635 impl NDIS_GUID {} 2636 impl ::std::default::Default for NDIS_GUID { default() -> Self2637 fn default() -> Self { 2638 unsafe { ::std::mem::zeroed() } 2639 } 2640 } 2641 impl ::std::cmp::PartialEq for NDIS_GUID { eq(&self, _other: &Self) -> bool2642 fn eq(&self, _other: &Self) -> bool { 2643 unimplemented!() 2644 } 2645 } 2646 impl ::std::cmp::Eq for NDIS_GUID {} 2647 unsafe impl ::windows::runtime::Abi for NDIS_GUID { 2648 type Abi = Self; 2649 type DefaultType = Self; 2650 } 2651 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2652 #[repr(C)] 2653 pub union NDIS_GUID_0 { 2654 pub Oid: u32, 2655 pub Status: i32, 2656 } 2657 impl NDIS_GUID_0 {} 2658 impl ::std::default::Default for NDIS_GUID_0 { default() -> Self2659 fn default() -> Self { 2660 unsafe { ::std::mem::zeroed() } 2661 } 2662 } 2663 impl ::std::cmp::PartialEq for NDIS_GUID_0 { eq(&self, _other: &Self) -> bool2664 fn eq(&self, _other: &Self) -> bool { 2665 unimplemented!() 2666 } 2667 } 2668 impl ::std::cmp::Eq for NDIS_GUID_0 {} 2669 unsafe impl ::windows::runtime::Abi for NDIS_GUID_0 { 2670 type Abi = Self; 2671 type DefaultType = Self; 2672 } 2673 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2674 #[repr(C)] 2675 pub struct NDIS_HARDWARE_CROSSTIMESTAMP { 2676 pub Header: NDIS_OBJECT_HEADER, 2677 pub Flags: u32, 2678 pub SystemTimestamp1: u64, 2679 pub HardwareClockTimestamp: u64, 2680 pub SystemTimestamp2: u64, 2681 } 2682 impl NDIS_HARDWARE_CROSSTIMESTAMP {} 2683 impl ::std::default::Default for NDIS_HARDWARE_CROSSTIMESTAMP { default() -> Self2684 fn default() -> Self { 2685 unsafe { ::std::mem::zeroed() } 2686 } 2687 } 2688 impl ::std::fmt::Debug for NDIS_HARDWARE_CROSSTIMESTAMP { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2689 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2690 fmt.debug_struct("NDIS_HARDWARE_CROSSTIMESTAMP").field("Header", &self.Header).field("Flags", &self.Flags).field("SystemTimestamp1", &self.SystemTimestamp1).field("HardwareClockTimestamp", &self.HardwareClockTimestamp).field("SystemTimestamp2", &self.SystemTimestamp2).finish() 2691 } 2692 } 2693 impl ::std::cmp::PartialEq for NDIS_HARDWARE_CROSSTIMESTAMP { eq(&self, other: &Self) -> bool2694 fn eq(&self, other: &Self) -> bool { 2695 self.Header == other.Header && self.Flags == other.Flags && self.SystemTimestamp1 == other.SystemTimestamp1 && self.HardwareClockTimestamp == other.HardwareClockTimestamp && self.SystemTimestamp2 == other.SystemTimestamp2 2696 } 2697 } 2698 impl ::std::cmp::Eq for NDIS_HARDWARE_CROSSTIMESTAMP {} 2699 unsafe impl ::windows::runtime::Abi for NDIS_HARDWARE_CROSSTIMESTAMP { 2700 type Abi = Self; 2701 type DefaultType = Self; 2702 } 2703 pub const NDIS_HARDWARE_CROSSTIMESTAMP_REVISION_1: u32 = 1u32; 2704 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2705 #[repr(transparent)] 2706 pub struct NDIS_HARDWARE_STATUS(pub i32); 2707 pub const NdisHardwareStatusReady: NDIS_HARDWARE_STATUS = NDIS_HARDWARE_STATUS(0i32); 2708 pub const NdisHardwareStatusInitializing: NDIS_HARDWARE_STATUS = NDIS_HARDWARE_STATUS(1i32); 2709 pub const NdisHardwareStatusReset: NDIS_HARDWARE_STATUS = NDIS_HARDWARE_STATUS(2i32); 2710 pub const NdisHardwareStatusClosing: NDIS_HARDWARE_STATUS = NDIS_HARDWARE_STATUS(3i32); 2711 pub const NdisHardwareStatusNotReady: NDIS_HARDWARE_STATUS = NDIS_HARDWARE_STATUS(4i32); 2712 impl ::std::convert::From<i32> for NDIS_HARDWARE_STATUS { from(value: i32) -> Self2713 fn from(value: i32) -> Self { 2714 Self(value) 2715 } 2716 } 2717 unsafe impl ::windows::runtime::Abi for NDIS_HARDWARE_STATUS { 2718 type Abi = Self; 2719 type DefaultType = Self; 2720 } 2721 pub const NDIS_HASH_FUNCTION_MASK: u32 = 255u32; 2722 pub const NDIS_HASH_IPV4: u32 = 256u32; 2723 pub const NDIS_HASH_IPV6: u32 = 1024u32; 2724 pub const NDIS_HASH_IPV6_EX: u32 = 2048u32; 2725 pub const NDIS_HASH_TCP_IPV4: u32 = 512u32; 2726 pub const NDIS_HASH_TCP_IPV6: u32 = 4096u32; 2727 pub const NDIS_HASH_TCP_IPV6_EX: u32 = 8192u32; 2728 pub const NDIS_HASH_TYPE_MASK: u32 = 16776960u32; 2729 pub const NDIS_HASH_UDP_IPV4: u32 = 16384u32; 2730 pub const NDIS_HASH_UDP_IPV6: u32 = 32768u32; 2731 pub const NDIS_HASH_UDP_IPV6_EX: u32 = 65536u32; 2732 pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_HEADER_DATA_SPLIT: u32 = 1u32; 2733 pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_IPV4_OPTIONS: u32 = 2u32; 2734 pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_IPV6_EXTENSION_HEADERS: u32 = 4u32; 2735 pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_TCP_OPTIONS: u32 = 8u32; 2736 pub const NDIS_HD_SPLIT_COMBINE_ALL_HEADERS: u32 = 1u32; 2737 pub const NDIS_HD_SPLIT_CURRENT_CONFIG_REVISION_1: u32 = 1u32; 2738 pub const NDIS_HD_SPLIT_ENABLE_HEADER_DATA_SPLIT: u32 = 1u32; 2739 pub const NDIS_HD_SPLIT_PARAMETERS_REVISION_1: u32 = 1u32; 2740 pub const NDIS_HYPERVISOR_INFO_FLAG_HYPERVISOR_PRESENT: u32 = 1u32; 2741 pub const NDIS_HYPERVISOR_INFO_REVISION_1: u32 = 1u32; 2742 pub const NDIS_IF_MAX_STRING_SIZE: u32 = 256u32; 2743 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 2744 #[repr(transparent)] 2745 pub struct NDIS_INTERRUPT_MODERATION(pub i32); 2746 pub const NdisInterruptModerationUnknown: NDIS_INTERRUPT_MODERATION = NDIS_INTERRUPT_MODERATION(0i32); 2747 pub const NdisInterruptModerationNotSupported: NDIS_INTERRUPT_MODERATION = NDIS_INTERRUPT_MODERATION(1i32); 2748 pub const NdisInterruptModerationEnabled: NDIS_INTERRUPT_MODERATION = NDIS_INTERRUPT_MODERATION(2i32); 2749 pub const NdisInterruptModerationDisabled: NDIS_INTERRUPT_MODERATION = NDIS_INTERRUPT_MODERATION(3i32); 2750 impl ::std::convert::From<i32> for NDIS_INTERRUPT_MODERATION { from(value: i32) -> Self2751 fn from(value: i32) -> Self { 2752 Self(value) 2753 } 2754 } 2755 unsafe impl ::windows::runtime::Abi for NDIS_INTERRUPT_MODERATION { 2756 type Abi = Self; 2757 type DefaultType = Self; 2758 } 2759 pub const NDIS_INTERRUPT_MODERATION_CHANGE_NEEDS_REINITIALIZE: u32 = 2u32; 2760 pub const NDIS_INTERRUPT_MODERATION_CHANGE_NEEDS_RESET: u32 = 1u32; 2761 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2762 #[repr(C)] 2763 pub struct NDIS_INTERRUPT_MODERATION_PARAMETERS { 2764 pub Header: NDIS_OBJECT_HEADER, 2765 pub Flags: u32, 2766 pub InterruptModeration: NDIS_INTERRUPT_MODERATION, 2767 } 2768 impl NDIS_INTERRUPT_MODERATION_PARAMETERS {} 2769 impl ::std::default::Default for NDIS_INTERRUPT_MODERATION_PARAMETERS { default() -> Self2770 fn default() -> Self { 2771 unsafe { ::std::mem::zeroed() } 2772 } 2773 } 2774 impl ::std::fmt::Debug for NDIS_INTERRUPT_MODERATION_PARAMETERS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2775 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2776 fmt.debug_struct("NDIS_INTERRUPT_MODERATION_PARAMETERS").field("Header", &self.Header).field("Flags", &self.Flags).field("InterruptModeration", &self.InterruptModeration).finish() 2777 } 2778 } 2779 impl ::std::cmp::PartialEq for NDIS_INTERRUPT_MODERATION_PARAMETERS { eq(&self, other: &Self) -> bool2780 fn eq(&self, other: &Self) -> bool { 2781 self.Header == other.Header && self.Flags == other.Flags && self.InterruptModeration == other.InterruptModeration 2782 } 2783 } 2784 impl ::std::cmp::Eq for NDIS_INTERRUPT_MODERATION_PARAMETERS {} 2785 unsafe impl ::windows::runtime::Abi for NDIS_INTERRUPT_MODERATION_PARAMETERS { 2786 type Abi = Self; 2787 type DefaultType = Self; 2788 } 2789 pub const NDIS_INTERRUPT_MODERATION_PARAMETERS_REVISION_1: u32 = 1u32; 2790 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2791 #[repr(C)] 2792 pub struct NDIS_IPSEC_OFFLOAD_V1 { 2793 pub Supported: NDIS_IPSEC_OFFLOAD_V1_2, 2794 pub IPv4AH: NDIS_IPSEC_OFFLOAD_V1_0, 2795 pub IPv4ESP: NDIS_IPSEC_OFFLOAD_V1_1, 2796 } 2797 impl NDIS_IPSEC_OFFLOAD_V1 {} 2798 impl ::std::default::Default for NDIS_IPSEC_OFFLOAD_V1 { default() -> Self2799 fn default() -> Self { 2800 unsafe { ::std::mem::zeroed() } 2801 } 2802 } 2803 impl ::std::fmt::Debug for NDIS_IPSEC_OFFLOAD_V1 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2804 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2805 fmt.debug_struct("NDIS_IPSEC_OFFLOAD_V1").field("Supported", &self.Supported).field("IPv4AH", &self.IPv4AH).field("IPv4ESP", &self.IPv4ESP).finish() 2806 } 2807 } 2808 impl ::std::cmp::PartialEq for NDIS_IPSEC_OFFLOAD_V1 { eq(&self, other: &Self) -> bool2809 fn eq(&self, other: &Self) -> bool { 2810 self.Supported == other.Supported && self.IPv4AH == other.IPv4AH && self.IPv4ESP == other.IPv4ESP 2811 } 2812 } 2813 impl ::std::cmp::Eq for NDIS_IPSEC_OFFLOAD_V1 {} 2814 unsafe impl ::windows::runtime::Abi for NDIS_IPSEC_OFFLOAD_V1 { 2815 type Abi = Self; 2816 type DefaultType = Self; 2817 } 2818 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2819 #[repr(C)] 2820 pub struct NDIS_IPSEC_OFFLOAD_V1_0 { 2821 pub _bitfield: u32, 2822 } 2823 impl NDIS_IPSEC_OFFLOAD_V1_0 {} 2824 impl ::std::default::Default for NDIS_IPSEC_OFFLOAD_V1_0 { default() -> Self2825 fn default() -> Self { 2826 unsafe { ::std::mem::zeroed() } 2827 } 2828 } 2829 impl ::std::fmt::Debug for NDIS_IPSEC_OFFLOAD_V1_0 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2830 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2831 fmt.debug_struct("_IPv4AH_e__Struct").field("_bitfield", &self._bitfield).finish() 2832 } 2833 } 2834 impl ::std::cmp::PartialEq for NDIS_IPSEC_OFFLOAD_V1_0 { eq(&self, other: &Self) -> bool2835 fn eq(&self, other: &Self) -> bool { 2836 self._bitfield == other._bitfield 2837 } 2838 } 2839 impl ::std::cmp::Eq for NDIS_IPSEC_OFFLOAD_V1_0 {} 2840 unsafe impl ::windows::runtime::Abi for NDIS_IPSEC_OFFLOAD_V1_0 { 2841 type Abi = Self; 2842 type DefaultType = Self; 2843 } 2844 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2845 #[repr(C)] 2846 pub struct NDIS_IPSEC_OFFLOAD_V1_1 { 2847 pub _bitfield: u32, 2848 } 2849 impl NDIS_IPSEC_OFFLOAD_V1_1 {} 2850 impl ::std::default::Default for NDIS_IPSEC_OFFLOAD_V1_1 { default() -> Self2851 fn default() -> Self { 2852 unsafe { ::std::mem::zeroed() } 2853 } 2854 } 2855 impl ::std::fmt::Debug for NDIS_IPSEC_OFFLOAD_V1_1 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2856 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2857 fmt.debug_struct("_IPv4ESP_e__Struct").field("_bitfield", &self._bitfield).finish() 2858 } 2859 } 2860 impl ::std::cmp::PartialEq for NDIS_IPSEC_OFFLOAD_V1_1 { eq(&self, other: &Self) -> bool2861 fn eq(&self, other: &Self) -> bool { 2862 self._bitfield == other._bitfield 2863 } 2864 } 2865 impl ::std::cmp::Eq for NDIS_IPSEC_OFFLOAD_V1_1 {} 2866 unsafe impl ::windows::runtime::Abi for NDIS_IPSEC_OFFLOAD_V1_1 { 2867 type Abi = Self; 2868 type DefaultType = Self; 2869 } 2870 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2871 #[repr(C)] 2872 pub struct NDIS_IPSEC_OFFLOAD_V1_2 { 2873 pub Encapsulation: u32, 2874 pub AhEspCombined: u32, 2875 pub TransportTunnelCombined: u32, 2876 pub IPv4Options: u32, 2877 pub Flags: u32, 2878 } 2879 impl NDIS_IPSEC_OFFLOAD_V1_2 {} 2880 impl ::std::default::Default for NDIS_IPSEC_OFFLOAD_V1_2 { default() -> Self2881 fn default() -> Self { 2882 unsafe { ::std::mem::zeroed() } 2883 } 2884 } 2885 impl ::std::fmt::Debug for NDIS_IPSEC_OFFLOAD_V1_2 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2886 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2887 fmt.debug_struct("_Supported_e__Struct").field("Encapsulation", &self.Encapsulation).field("AhEspCombined", &self.AhEspCombined).field("TransportTunnelCombined", &self.TransportTunnelCombined).field("IPv4Options", &self.IPv4Options).field("Flags", &self.Flags).finish() 2888 } 2889 } 2890 impl ::std::cmp::PartialEq for NDIS_IPSEC_OFFLOAD_V1_2 { eq(&self, other: &Self) -> bool2891 fn eq(&self, other: &Self) -> bool { 2892 self.Encapsulation == other.Encapsulation && self.AhEspCombined == other.AhEspCombined && self.TransportTunnelCombined == other.TransportTunnelCombined && self.IPv4Options == other.IPv4Options && self.Flags == other.Flags 2893 } 2894 } 2895 impl ::std::cmp::Eq for NDIS_IPSEC_OFFLOAD_V1_2 {} 2896 unsafe impl ::windows::runtime::Abi for NDIS_IPSEC_OFFLOAD_V1_2 { 2897 type Abi = Self; 2898 type DefaultType = Self; 2899 } 2900 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2901 #[repr(C)] 2902 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2903 pub struct NDIS_IP_OPER_STATE { 2904 pub Header: NDIS_OBJECT_HEADER, 2905 pub Flags: u32, 2906 pub IpOperationalStatus: NDIS_IP_OPER_STATUS, 2907 } 2908 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2909 impl NDIS_IP_OPER_STATE {} 2910 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2911 impl ::std::default::Default for NDIS_IP_OPER_STATE { default() -> Self2912 fn default() -> Self { 2913 unsafe { ::std::mem::zeroed() } 2914 } 2915 } 2916 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2917 impl ::std::fmt::Debug for NDIS_IP_OPER_STATE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2918 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2919 fmt.debug_struct("NDIS_IP_OPER_STATE").field("Header", &self.Header).field("Flags", &self.Flags).field("IpOperationalStatus", &self.IpOperationalStatus).finish() 2920 } 2921 } 2922 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2923 impl ::std::cmp::PartialEq for NDIS_IP_OPER_STATE { eq(&self, other: &Self) -> bool2924 fn eq(&self, other: &Self) -> bool { 2925 self.Header == other.Header && self.Flags == other.Flags && self.IpOperationalStatus == other.IpOperationalStatus 2926 } 2927 } 2928 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2929 impl ::std::cmp::Eq for NDIS_IP_OPER_STATE {} 2930 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2931 unsafe impl ::windows::runtime::Abi for NDIS_IP_OPER_STATE { 2932 type Abi = Self; 2933 type DefaultType = Self; 2934 } 2935 pub const NDIS_IP_OPER_STATE_REVISION_1: u32 = 1u32; 2936 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2937 #[repr(C)] 2938 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2939 pub struct NDIS_IP_OPER_STATUS { 2940 pub AddressFamily: u32, 2941 pub OperationalStatus: super::IpHelper::NET_IF_OPER_STATUS, 2942 pub OperationalStatusFlags: u32, 2943 } 2944 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2945 impl NDIS_IP_OPER_STATUS {} 2946 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2947 impl ::std::default::Default for NDIS_IP_OPER_STATUS { default() -> Self2948 fn default() -> Self { 2949 unsafe { ::std::mem::zeroed() } 2950 } 2951 } 2952 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2953 impl ::std::fmt::Debug for NDIS_IP_OPER_STATUS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2954 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2955 fmt.debug_struct("NDIS_IP_OPER_STATUS").field("AddressFamily", &self.AddressFamily).field("OperationalStatus", &self.OperationalStatus).field("OperationalStatusFlags", &self.OperationalStatusFlags).finish() 2956 } 2957 } 2958 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2959 impl ::std::cmp::PartialEq for NDIS_IP_OPER_STATUS { eq(&self, other: &Self) -> bool2960 fn eq(&self, other: &Self) -> bool { 2961 self.AddressFamily == other.AddressFamily && self.OperationalStatus == other.OperationalStatus && self.OperationalStatusFlags == other.OperationalStatusFlags 2962 } 2963 } 2964 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2965 impl ::std::cmp::Eq for NDIS_IP_OPER_STATUS {} 2966 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2967 unsafe impl ::windows::runtime::Abi for NDIS_IP_OPER_STATUS { 2968 type Abi = Self; 2969 type DefaultType = Self; 2970 } 2971 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 2972 #[repr(C)] 2973 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2974 pub struct NDIS_IP_OPER_STATUS_INFO { 2975 pub Header: NDIS_OBJECT_HEADER, 2976 pub Flags: u32, 2977 pub NumberofAddressFamiliesReturned: u32, 2978 pub IpOperationalStatus: [NDIS_IP_OPER_STATUS; 32], 2979 } 2980 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2981 impl NDIS_IP_OPER_STATUS_INFO {} 2982 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2983 impl ::std::default::Default for NDIS_IP_OPER_STATUS_INFO { default() -> Self2984 fn default() -> Self { 2985 unsafe { ::std::mem::zeroed() } 2986 } 2987 } 2988 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2989 impl ::std::fmt::Debug for NDIS_IP_OPER_STATUS_INFO { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2990 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 2991 fmt.debug_struct("NDIS_IP_OPER_STATUS_INFO").field("Header", &self.Header).field("Flags", &self.Flags).field("NumberofAddressFamiliesReturned", &self.NumberofAddressFamiliesReturned).field("IpOperationalStatus", &self.IpOperationalStatus).finish() 2992 } 2993 } 2994 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 2995 impl ::std::cmp::PartialEq for NDIS_IP_OPER_STATUS_INFO { eq(&self, other: &Self) -> bool2996 fn eq(&self, other: &Self) -> bool { 2997 self.Header == other.Header && self.Flags == other.Flags && self.NumberofAddressFamiliesReturned == other.NumberofAddressFamiliesReturned && self.IpOperationalStatus == other.IpOperationalStatus 2998 } 2999 } 3000 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3001 impl ::std::cmp::Eq for NDIS_IP_OPER_STATUS_INFO {} 3002 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3003 unsafe impl ::windows::runtime::Abi for NDIS_IP_OPER_STATUS_INFO { 3004 type Abi = Self; 3005 type DefaultType = Self; 3006 } 3007 pub const NDIS_IP_OPER_STATUS_INFO_REVISION_1: u32 = 1u32; 3008 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3009 #[repr(C)] 3010 pub struct NDIS_IRDA_PACKET_INFO { 3011 pub ExtraBOFs: u32, 3012 pub MinTurnAroundTime: u32, 3013 } 3014 impl NDIS_IRDA_PACKET_INFO {} 3015 impl ::std::default::Default for NDIS_IRDA_PACKET_INFO { default() -> Self3016 fn default() -> Self { 3017 unsafe { ::std::mem::zeroed() } 3018 } 3019 } 3020 impl ::std::fmt::Debug for NDIS_IRDA_PACKET_INFO { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3021 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3022 fmt.debug_struct("NDIS_IRDA_PACKET_INFO").field("ExtraBOFs", &self.ExtraBOFs).field("MinTurnAroundTime", &self.MinTurnAroundTime).finish() 3023 } 3024 } 3025 impl ::std::cmp::PartialEq for NDIS_IRDA_PACKET_INFO { eq(&self, other: &Self) -> bool3026 fn eq(&self, other: &Self) -> bool { 3027 self.ExtraBOFs == other.ExtraBOFs && self.MinTurnAroundTime == other.MinTurnAroundTime 3028 } 3029 } 3030 impl ::std::cmp::Eq for NDIS_IRDA_PACKET_INFO {} 3031 unsafe impl ::windows::runtime::Abi for NDIS_IRDA_PACKET_INFO { 3032 type Abi = Self; 3033 type DefaultType = Self; 3034 } 3035 pub const NDIS_ISOLATION_NAME_MAX_STRING_SIZE: u32 = 127u32; 3036 pub const NDIS_ISOLATION_PARAMETERS_REVISION_1: u32 = 1u32; 3037 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3038 #[repr(C)] 3039 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3040 pub struct NDIS_LINK_PARAMETERS { 3041 pub Header: NDIS_OBJECT_HEADER, 3042 pub MediaDuplexState: super::IpHelper::NET_IF_MEDIA_DUPLEX_STATE, 3043 pub XmitLinkSpeed: u64, 3044 pub RcvLinkSpeed: u64, 3045 pub PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS, 3046 pub AutoNegotiationFlags: u32, 3047 } 3048 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3049 impl NDIS_LINK_PARAMETERS {} 3050 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3051 impl ::std::default::Default for NDIS_LINK_PARAMETERS { default() -> Self3052 fn default() -> Self { 3053 unsafe { ::std::mem::zeroed() } 3054 } 3055 } 3056 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3057 impl ::std::fmt::Debug for NDIS_LINK_PARAMETERS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3058 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3059 fmt.debug_struct("NDIS_LINK_PARAMETERS") 3060 .field("Header", &self.Header) 3061 .field("MediaDuplexState", &self.MediaDuplexState) 3062 .field("XmitLinkSpeed", &self.XmitLinkSpeed) 3063 .field("RcvLinkSpeed", &self.RcvLinkSpeed) 3064 .field("PauseFunctions", &self.PauseFunctions) 3065 .field("AutoNegotiationFlags", &self.AutoNegotiationFlags) 3066 .finish() 3067 } 3068 } 3069 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3070 impl ::std::cmp::PartialEq for NDIS_LINK_PARAMETERS { eq(&self, other: &Self) -> bool3071 fn eq(&self, other: &Self) -> bool { 3072 self.Header == other.Header && self.MediaDuplexState == other.MediaDuplexState && self.XmitLinkSpeed == other.XmitLinkSpeed && self.RcvLinkSpeed == other.RcvLinkSpeed && self.PauseFunctions == other.PauseFunctions && self.AutoNegotiationFlags == other.AutoNegotiationFlags 3073 } 3074 } 3075 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3076 impl ::std::cmp::Eq for NDIS_LINK_PARAMETERS {} 3077 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3078 unsafe impl ::windows::runtime::Abi for NDIS_LINK_PARAMETERS { 3079 type Abi = Self; 3080 type DefaultType = Self; 3081 } 3082 pub const NDIS_LINK_PARAMETERS_REVISION_1: u32 = 1u32; 3083 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3084 #[repr(C)] 3085 pub struct NDIS_LINK_SPEED { 3086 pub XmitLinkSpeed: u64, 3087 pub RcvLinkSpeed: u64, 3088 } 3089 impl NDIS_LINK_SPEED {} 3090 impl ::std::default::Default for NDIS_LINK_SPEED { default() -> Self3091 fn default() -> Self { 3092 unsafe { ::std::mem::zeroed() } 3093 } 3094 } 3095 impl ::std::fmt::Debug for NDIS_LINK_SPEED { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3096 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3097 fmt.debug_struct("NDIS_LINK_SPEED").field("XmitLinkSpeed", &self.XmitLinkSpeed).field("RcvLinkSpeed", &self.RcvLinkSpeed).finish() 3098 } 3099 } 3100 impl ::std::cmp::PartialEq for NDIS_LINK_SPEED { eq(&self, other: &Self) -> bool3101 fn eq(&self, other: &Self) -> bool { 3102 self.XmitLinkSpeed == other.XmitLinkSpeed && self.RcvLinkSpeed == other.RcvLinkSpeed 3103 } 3104 } 3105 impl ::std::cmp::Eq for NDIS_LINK_SPEED {} 3106 unsafe impl ::windows::runtime::Abi for NDIS_LINK_SPEED { 3107 type Abi = Self; 3108 type DefaultType = Self; 3109 } 3110 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3111 #[repr(C)] 3112 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3113 pub struct NDIS_LINK_STATE { 3114 pub Header: NDIS_OBJECT_HEADER, 3115 pub MediaConnectState: super::IpHelper::NET_IF_MEDIA_CONNECT_STATE, 3116 pub MediaDuplexState: super::IpHelper::NET_IF_MEDIA_DUPLEX_STATE, 3117 pub XmitLinkSpeed: u64, 3118 pub RcvLinkSpeed: u64, 3119 pub PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS, 3120 pub AutoNegotiationFlags: u32, 3121 } 3122 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3123 impl NDIS_LINK_STATE {} 3124 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3125 impl ::std::default::Default for NDIS_LINK_STATE { default() -> Self3126 fn default() -> Self { 3127 unsafe { ::std::mem::zeroed() } 3128 } 3129 } 3130 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3131 impl ::std::fmt::Debug for NDIS_LINK_STATE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3132 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3133 fmt.debug_struct("NDIS_LINK_STATE") 3134 .field("Header", &self.Header) 3135 .field("MediaConnectState", &self.MediaConnectState) 3136 .field("MediaDuplexState", &self.MediaDuplexState) 3137 .field("XmitLinkSpeed", &self.XmitLinkSpeed) 3138 .field("RcvLinkSpeed", &self.RcvLinkSpeed) 3139 .field("PauseFunctions", &self.PauseFunctions) 3140 .field("AutoNegotiationFlags", &self.AutoNegotiationFlags) 3141 .finish() 3142 } 3143 } 3144 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3145 impl ::std::cmp::PartialEq for NDIS_LINK_STATE { eq(&self, other: &Self) -> bool3146 fn eq(&self, other: &Self) -> bool { 3147 self.Header == other.Header && self.MediaConnectState == other.MediaConnectState && self.MediaDuplexState == other.MediaDuplexState && self.XmitLinkSpeed == other.XmitLinkSpeed && self.RcvLinkSpeed == other.RcvLinkSpeed && self.PauseFunctions == other.PauseFunctions && self.AutoNegotiationFlags == other.AutoNegotiationFlags 3148 } 3149 } 3150 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3151 impl ::std::cmp::Eq for NDIS_LINK_STATE {} 3152 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3153 unsafe impl ::windows::runtime::Abi for NDIS_LINK_STATE { 3154 type Abi = Self; 3155 type DefaultType = Self; 3156 } 3157 pub const NDIS_LINK_STATE_DUPLEX_AUTO_NEGOTIATED: u32 = 4u32; 3158 pub const NDIS_LINK_STATE_PAUSE_FUNCTIONS_AUTO_NEGOTIATED: u32 = 8u32; 3159 pub const NDIS_LINK_STATE_RCV_LINK_SPEED_AUTO_NEGOTIATED: u32 = 2u32; 3160 pub const NDIS_LINK_STATE_REVISION_1: u32 = 1u32; 3161 pub const NDIS_LINK_STATE_XMIT_LINK_SPEED_AUTO_NEGOTIATED: u32 = 1u32; 3162 pub const NDIS_MAC_OPTION_8021P_PRIORITY: u32 = 64u32; 3163 pub const NDIS_MAC_OPTION_8021Q_VLAN: u32 = 512u32; 3164 pub const NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA: u32 = 1u32; 3165 pub const NDIS_MAC_OPTION_EOTX_INDICATION: u32 = 32u32; 3166 pub const NDIS_MAC_OPTION_FULL_DUPLEX: u32 = 16u32; 3167 pub const NDIS_MAC_OPTION_NO_LOOPBACK: u32 = 8u32; 3168 pub const NDIS_MAC_OPTION_RECEIVE_AT_DPC: u32 = 256u32; 3169 pub const NDIS_MAC_OPTION_RECEIVE_SERIALIZED: u32 = 2u32; 3170 pub const NDIS_MAC_OPTION_RESERVED: u32 = 2147483648u32; 3171 pub const NDIS_MAC_OPTION_SUPPORTS_MAC_ADDRESS_OVERWRITE: u32 = 128u32; 3172 pub const NDIS_MAC_OPTION_TRANSFERS_NOT_PEND: u32 = 4u32; 3173 pub const NDIS_MAXIMUM_PORTS: u32 = 16777216u32; 3174 pub const NDIS_MAX_PHYS_ADDRESS_LENGTH: u32 = 32u32; 3175 pub const NDIS_MEDIA_CAP_RECEIVE: u32 = 2u32; 3176 pub const NDIS_MEDIA_CAP_TRANSMIT: u32 = 1u32; 3177 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 3178 #[repr(transparent)] 3179 pub struct NDIS_MEDIA_STATE(pub i32); 3180 pub const NdisMediaStateConnected: NDIS_MEDIA_STATE = NDIS_MEDIA_STATE(0i32); 3181 pub const NdisMediaStateDisconnected: NDIS_MEDIA_STATE = NDIS_MEDIA_STATE(1i32); 3182 impl ::std::convert::From<i32> for NDIS_MEDIA_STATE { from(value: i32) -> Self3183 fn from(value: i32) -> Self { 3184 Self(value) 3185 } 3186 } 3187 unsafe impl ::windows::runtime::Abi for NDIS_MEDIA_STATE { 3188 type Abi = Self; 3189 type DefaultType = Self; 3190 } 3191 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 3192 #[repr(transparent)] 3193 pub struct NDIS_MEDIUM(pub i32); 3194 pub const NdisMedium802_3: NDIS_MEDIUM = NDIS_MEDIUM(0i32); 3195 pub const NdisMedium802_5: NDIS_MEDIUM = NDIS_MEDIUM(1i32); 3196 pub const NdisMediumFddi: NDIS_MEDIUM = NDIS_MEDIUM(2i32); 3197 pub const NdisMediumWan: NDIS_MEDIUM = NDIS_MEDIUM(3i32); 3198 pub const NdisMediumLocalTalk: NDIS_MEDIUM = NDIS_MEDIUM(4i32); 3199 pub const NdisMediumDix: NDIS_MEDIUM = NDIS_MEDIUM(5i32); 3200 pub const NdisMediumArcnetRaw: NDIS_MEDIUM = NDIS_MEDIUM(6i32); 3201 pub const NdisMediumArcnet878_2: NDIS_MEDIUM = NDIS_MEDIUM(7i32); 3202 pub const NdisMediumAtm: NDIS_MEDIUM = NDIS_MEDIUM(8i32); 3203 pub const NdisMediumWirelessWan: NDIS_MEDIUM = NDIS_MEDIUM(9i32); 3204 pub const NdisMediumIrda: NDIS_MEDIUM = NDIS_MEDIUM(10i32); 3205 pub const NdisMediumBpc: NDIS_MEDIUM = NDIS_MEDIUM(11i32); 3206 pub const NdisMediumCoWan: NDIS_MEDIUM = NDIS_MEDIUM(12i32); 3207 pub const NdisMedium1394: NDIS_MEDIUM = NDIS_MEDIUM(13i32); 3208 pub const NdisMediumInfiniBand: NDIS_MEDIUM = NDIS_MEDIUM(14i32); 3209 pub const NdisMediumTunnel: NDIS_MEDIUM = NDIS_MEDIUM(15i32); 3210 pub const NdisMediumNative802_11: NDIS_MEDIUM = NDIS_MEDIUM(16i32); 3211 pub const NdisMediumLoopback: NDIS_MEDIUM = NDIS_MEDIUM(17i32); 3212 pub const NdisMediumWiMAX: NDIS_MEDIUM = NDIS_MEDIUM(18i32); 3213 pub const NdisMediumIP: NDIS_MEDIUM = NDIS_MEDIUM(19i32); 3214 pub const NdisMediumMax: NDIS_MEDIUM = NDIS_MEDIUM(20i32); 3215 impl ::std::convert::From<i32> for NDIS_MEDIUM { from(value: i32) -> Self3216 fn from(value: i32) -> Self { 3217 Self(value) 3218 } 3219 } 3220 unsafe impl ::windows::runtime::Abi for NDIS_MEDIUM { 3221 type Abi = Self; 3222 type DefaultType = Self; 3223 } 3224 pub const NDIS_NDK_CAPABILITIES_REVISION_1: u32 = 1u32; 3225 pub const NDIS_NDK_CONNECTIONS_REVISION_1: u32 = 1u32; 3226 pub const NDIS_NDK_LOCAL_ENDPOINTS_REVISION_1: u32 = 1u32; 3227 pub const NDIS_NDK_STATISTICS_INFO_REVISION_1: u32 = 1u32; 3228 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 3229 #[repr(transparent)] 3230 pub struct NDIS_NETWORK_CHANGE_TYPE(pub i32); 3231 pub const NdisPossibleNetworkChange: NDIS_NETWORK_CHANGE_TYPE = NDIS_NETWORK_CHANGE_TYPE(1i32); 3232 pub const NdisDefinitelyNetworkChange: NDIS_NETWORK_CHANGE_TYPE = NDIS_NETWORK_CHANGE_TYPE(2i32); 3233 pub const NdisNetworkChangeFromMediaConnect: NDIS_NETWORK_CHANGE_TYPE = NDIS_NETWORK_CHANGE_TYPE(3i32); 3234 pub const NdisNetworkChangeMax: NDIS_NETWORK_CHANGE_TYPE = NDIS_NETWORK_CHANGE_TYPE(4i32); 3235 impl ::std::convert::From<i32> for NDIS_NETWORK_CHANGE_TYPE { from(value: i32) -> Self3236 fn from(value: i32) -> Self { 3237 Self(value) 3238 } 3239 } 3240 unsafe impl ::windows::runtime::Abi for NDIS_NETWORK_CHANGE_TYPE { 3241 type Abi = Self; 3242 type DefaultType = Self; 3243 } 3244 pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_1: u32 = 1u32; 3245 pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_2: u32 = 2u32; 3246 pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_3: u32 = 3u32; 3247 pub const NDIS_NIC_SWITCH_CAPS_ASYMMETRIC_QUEUE_PAIRS_FOR_NONDEFAULT_VPORT_SUPPORTED: u32 = 4u32; 3248 pub const NDIS_NIC_SWITCH_CAPS_NIC_SWITCH_WITHOUT_IOV_SUPPORTED: u32 = 64u32; 3249 pub const NDIS_NIC_SWITCH_CAPS_PER_VPORT_INTERRUPT_MODERATION_SUPPORTED: u32 = 2u32; 3250 pub const NDIS_NIC_SWITCH_CAPS_RSS_ON_PF_VPORTS_SUPPORTED: u32 = 128u32; 3251 pub const NDIS_NIC_SWITCH_CAPS_RSS_PARAMETERS_PER_PF_VPORT_SUPPORTED: u32 = 32u32; 3252 pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_FUNCTION_SUPPORTED: u32 = 512u32; 3253 pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_KEY_SUPPORTED: u32 = 2048u32; 3254 pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_TYPE_SUPPORTED: u32 = 1024u32; 3255 pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_INDIRECTION_TABLE_SIZE_RESTRICTED: u32 = 4096u32; 3256 pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_INDIRECTION_TABLE_SUPPORTED: u32 = 256u32; 3257 pub const NDIS_NIC_SWITCH_CAPS_SINGLE_VPORT_POOL: u32 = 16u32; 3258 pub const NDIS_NIC_SWITCH_CAPS_VF_RSS_SUPPORTED: u32 = 8u32; 3259 pub const NDIS_NIC_SWITCH_CAPS_VLAN_SUPPORTED: u32 = 1u32; 3260 pub const NDIS_NIC_SWITCH_DELETE_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; 3261 pub const NDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; 3262 pub const NDIS_NIC_SWITCH_FREE_VF_PARAMETERS_REVISION_1: u32 = 1u32; 3263 pub const NDIS_NIC_SWITCH_INFO_ARRAY_REVISION_1: u32 = 1u32; 3264 pub const NDIS_NIC_SWITCH_INFO_REVISION_1: u32 = 1u32; 3265 pub const NDIS_NIC_SWITCH_PARAMETERS_CHANGE_MASK: u32 = 4294901760u32; 3266 pub const NDIS_NIC_SWITCH_PARAMETERS_DEFAULT_NUMBER_OF_QUEUE_PAIRS_FOR_DEFAULT_VPORT: u32 = 1u32; 3267 pub const NDIS_NIC_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; 3268 pub const NDIS_NIC_SWITCH_PARAMETERS_REVISION_2: u32 = 2u32; 3269 pub const NDIS_NIC_SWITCH_PARAMETERS_SWITCH_NAME_CHANGED: u32 = 65536u32; 3270 pub const NDIS_NIC_SWITCH_VF_INFO_ARRAY_ENUM_ON_SPECIFIC_SWITCH: u32 = 1u32; 3271 pub const NDIS_NIC_SWITCH_VF_INFO_ARRAY_REVISION_1: u32 = 1u32; 3272 pub const NDIS_NIC_SWITCH_VF_INFO_REVISION_1: u32 = 1u32; 3273 pub const NDIS_NIC_SWITCH_VF_PARAMETERS_REVISION_1: u32 = 1u32; 3274 pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_ENUM_ON_SPECIFIC_FUNCTION: u32 = 1u32; 3275 pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_ENUM_ON_SPECIFIC_SWITCH: u32 = 2u32; 3276 pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_REVISION_1: u32 = 1u32; 3277 pub const NDIS_NIC_SWITCH_VPORT_INFO_GFT_ENABLED: u32 = 4u32; 3278 pub const NDIS_NIC_SWITCH_VPORT_INFO_LOOKAHEAD_SPLIT_ENABLED: u32 = 1u32; 3279 pub const NDIS_NIC_SWITCH_VPORT_INFO_PACKET_DIRECT_RX_ONLY: u32 = 2u32; 3280 pub const NDIS_NIC_SWITCH_VPORT_INFO_REVISION_1: u32 = 1u32; 3281 pub const NDIS_NIC_SWITCH_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; 3282 pub const NDIS_NIC_SWITCH_VPORT_PARAMETERS_REVISION_2: u32 = 2u32; 3283 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_CHANGE_MASK: u32 = 4294901760u32; 3284 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_ENFORCE_MAX_SG_LIST: u32 = 32768u32; 3285 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_FLAGS_CHANGED: u32 = 65536u32; 3286 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_INT_MOD_CHANGED: u32 = 262144u32; 3287 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_LOOKAHEAD_SPLIT_ENABLED: u32 = 1u32; 3288 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NAME_CHANGED: u32 = 131072u32; 3289 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NDK_PARAMS_CHANGED: u32 = 2097152u32; 3290 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NUM_QUEUE_PAIRS_CHANGED: u32 = 8388608u32; 3291 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_PACKET_DIRECT_RX_ONLY: u32 = 2u32; 3292 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_PROCESSOR_AFFINITY_CHANGED: u32 = 1048576u32; 3293 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_QOS_SQ_ID_CHANGED: u32 = 4194304u32; 3294 pub const NDIS_NIC_SWITCH_VPORT_PARAMS_STATE_CHANGED: u32 = 524288u32; 3295 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3296 #[repr(C)] 3297 pub struct NDIS_OBJECT_HEADER { 3298 pub Type: u8, 3299 pub Revision: u8, 3300 pub Size: u16, 3301 } 3302 impl NDIS_OBJECT_HEADER {} 3303 impl ::std::default::Default for NDIS_OBJECT_HEADER { default() -> Self3304 fn default() -> Self { 3305 unsafe { ::std::mem::zeroed() } 3306 } 3307 } 3308 impl ::std::fmt::Debug for NDIS_OBJECT_HEADER { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3309 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3310 fmt.debug_struct("NDIS_OBJECT_HEADER").field("Type", &self.Type).field("Revision", &self.Revision).field("Size", &self.Size).finish() 3311 } 3312 } 3313 impl ::std::cmp::PartialEq for NDIS_OBJECT_HEADER { eq(&self, other: &Self) -> bool3314 fn eq(&self, other: &Self) -> bool { 3315 self.Type == other.Type && self.Revision == other.Revision && self.Size == other.Size 3316 } 3317 } 3318 impl ::std::cmp::Eq for NDIS_OBJECT_HEADER {} 3319 unsafe impl ::windows::runtime::Abi for NDIS_OBJECT_HEADER { 3320 type Abi = Self; 3321 type DefaultType = Self; 3322 } 3323 pub const NDIS_OBJECT_REVISION_1: u32 = 1u32; 3324 pub const NDIS_OBJECT_TYPE_BIND_PARAMETERS: u32 = 134u32; 3325 pub const NDIS_OBJECT_TYPE_CLIENT_CHIMNEY_OFFLOAD_CHARACTERISTICS: u32 = 147u32; 3326 pub const NDIS_OBJECT_TYPE_CLIENT_CHIMNEY_OFFLOAD_GENERIC_CHARACTERISTICS: u32 = 142u32; 3327 pub const NDIS_OBJECT_TYPE_CONFIGURATION_OBJECT: u32 = 169u32; 3328 pub const NDIS_OBJECT_TYPE_CO_CALL_MANAGER_OPTIONAL_HANDLERS: u32 = 165u32; 3329 pub const NDIS_OBJECT_TYPE_CO_CLIENT_OPTIONAL_HANDLERS: u32 = 166u32; 3330 pub const NDIS_OBJECT_TYPE_CO_MINIPORT_CHARACTERISTICS: u32 = 145u32; 3331 pub const NDIS_OBJECT_TYPE_CO_PROTOCOL_CHARACTERISTICS: u32 = 144u32; 3332 pub const NDIS_OBJECT_TYPE_DEFAULT: u32 = 128u32; 3333 pub const NDIS_OBJECT_TYPE_DEVICE_OBJECT_ATTRIBUTES: u32 = 133u32; 3334 pub const NDIS_OBJECT_TYPE_DRIVER_WRAPPER_OBJECT: u32 = 170u32; 3335 pub const NDIS_OBJECT_TYPE_FILTER_ATTACH_PARAMETERS: u32 = 153u32; 3336 pub const NDIS_OBJECT_TYPE_FILTER_ATTRIBUTES: u32 = 141u32; 3337 pub const NDIS_OBJECT_TYPE_FILTER_DRIVER_CHARACTERISTICS: u32 = 139u32; 3338 pub const NDIS_OBJECT_TYPE_FILTER_PARTIAL_CHARACTERISTICS: u32 = 140u32; 3339 pub const NDIS_OBJECT_TYPE_FILTER_PAUSE_PARAMETERS: u32 = 154u32; 3340 pub const NDIS_OBJECT_TYPE_FILTER_RESTART_PARAMETERS: u32 = 155u32; 3341 pub const NDIS_OBJECT_TYPE_HD_SPLIT_ATTRIBUTES: u32 = 171u32; 3342 pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES: u32 = 159u32; 3343 pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES: u32 = 175u32; 3344 pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES: u32 = 161u32; 3345 pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_NDK_ATTRIBUTES: u32 = 179u32; 3346 pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES: u32 = 160u32; 3347 pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_PACKET_DIRECT_ATTRIBUTES: u32 = 197u32; 3348 pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_REGISTRATION_ATTRIBUTES: u32 = 158u32; 3349 pub const NDIS_OBJECT_TYPE_MINIPORT_ADD_DEVICE_REGISTRATION_ATTRIBUTES: u32 = 164u32; 3350 pub const NDIS_OBJECT_TYPE_MINIPORT_DEVICE_POWER_NOTIFICATION: u32 = 198u32; 3351 pub const NDIS_OBJECT_TYPE_MINIPORT_DRIVER_CHARACTERISTICS: u32 = 138u32; 3352 pub const NDIS_OBJECT_TYPE_MINIPORT_INIT_PARAMETERS: u32 = 129u32; 3353 pub const NDIS_OBJECT_TYPE_MINIPORT_INTERRUPT: u32 = 132u32; 3354 pub const NDIS_OBJECT_TYPE_MINIPORT_PNP_CHARACTERISTICS: u32 = 146u32; 3355 pub const NDIS_OBJECT_TYPE_MINIPORT_SS_CHARACTERISTICS: u32 = 180u32; 3356 pub const NDIS_OBJECT_TYPE_NDK_PROVIDER_CHARACTERISTICS: u32 = 178u32; 3357 pub const NDIS_OBJECT_TYPE_NSI_COMPARTMENT_RW_STRUCT: u32 = 173u32; 3358 pub const NDIS_OBJECT_TYPE_NSI_INTERFACE_PERSIST_RW_STRUCT: u32 = 174u32; 3359 pub const NDIS_OBJECT_TYPE_NSI_NETWORK_RW_STRUCT: u32 = 172u32; 3360 pub const NDIS_OBJECT_TYPE_OFFLOAD: u32 = 167u32; 3361 pub const NDIS_OBJECT_TYPE_OFFLOAD_ENCAPSULATION: u32 = 168u32; 3362 pub const NDIS_OBJECT_TYPE_OID_REQUEST: u32 = 150u32; 3363 pub const NDIS_OBJECT_TYPE_OPEN_PARAMETERS: u32 = 135u32; 3364 pub const NDIS_OBJECT_TYPE_PCI_DEVICE_CUSTOM_PROPERTIES_REVISION_1: u32 = 1u32; 3365 pub const NDIS_OBJECT_TYPE_PCI_DEVICE_CUSTOM_PROPERTIES_REVISION_2: u32 = 2u32; 3366 pub const NDIS_OBJECT_TYPE_PD_RECEIVE_QUEUE: u32 = 191u32; 3367 pub const NDIS_OBJECT_TYPE_PD_TRANSMIT_QUEUE: u32 = 190u32; 3368 pub const NDIS_OBJECT_TYPE_PORT_CHARACTERISTICS: u32 = 156u32; 3369 pub const NDIS_OBJECT_TYPE_PORT_STATE: u32 = 157u32; 3370 pub const NDIS_OBJECT_TYPE_PROTOCOL_DRIVER_CHARACTERISTICS: u32 = 149u32; 3371 pub const NDIS_OBJECT_TYPE_PROTOCOL_RESTART_PARAMETERS: u32 = 163u32; 3372 pub const NDIS_OBJECT_TYPE_PROVIDER_CHIMNEY_OFFLOAD_CHARACTERISTICS: u32 = 148u32; 3373 pub const NDIS_OBJECT_TYPE_PROVIDER_CHIMNEY_OFFLOAD_GENERIC_CHARACTERISTICS: u32 = 143u32; 3374 pub const NDIS_OBJECT_TYPE_QOS_CAPABILITIES: u32 = 181u32; 3375 pub const NDIS_OBJECT_TYPE_QOS_CLASSIFICATION_ELEMENT: u32 = 183u32; 3376 pub const NDIS_OBJECT_TYPE_QOS_PARAMETERS: u32 = 182u32; 3377 pub const NDIS_OBJECT_TYPE_REQUEST_EX: u32 = 150u32; 3378 pub const NDIS_OBJECT_TYPE_RESTART_GENERAL_ATTRIBUTES: u32 = 162u32; 3379 pub const NDIS_OBJECT_TYPE_RSS_CAPABILITIES: u32 = 136u32; 3380 pub const NDIS_OBJECT_TYPE_RSS_PARAMETERS: u32 = 137u32; 3381 pub const NDIS_OBJECT_TYPE_RSS_PARAMETERS_V2: u32 = 200u32; 3382 pub const NDIS_OBJECT_TYPE_RSS_PROCESSOR_INFO: u32 = 177u32; 3383 pub const NDIS_OBJECT_TYPE_RSS_SET_INDIRECTION_ENTRIES: u32 = 201u32; 3384 pub const NDIS_OBJECT_TYPE_SG_DMA_DESCRIPTION: u32 = 131u32; 3385 pub const NDIS_OBJECT_TYPE_SHARED_MEMORY_PROVIDER_CHARACTERISTICS: u32 = 176u32; 3386 pub const NDIS_OBJECT_TYPE_STATUS_INDICATION: u32 = 152u32; 3387 pub const NDIS_OBJECT_TYPE_SWITCH_OPTIONAL_HANDLERS: u32 = 184u32; 3388 pub const NDIS_OBJECT_TYPE_TIMER_CHARACTERISTICS: u32 = 151u32; 3389 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3390 #[repr(C)] 3391 pub struct NDIS_OFFLOAD { 3392 pub Header: NDIS_OBJECT_HEADER, 3393 pub Checksum: NDIS_TCP_IP_CHECKSUM_OFFLOAD, 3394 pub LsoV1: NDIS_TCP_LARGE_SEND_OFFLOAD_V1, 3395 pub IPsecV1: NDIS_IPSEC_OFFLOAD_V1, 3396 pub LsoV2: NDIS_TCP_LARGE_SEND_OFFLOAD_V2, 3397 pub Flags: u32, 3398 } 3399 impl NDIS_OFFLOAD {} 3400 impl ::std::default::Default for NDIS_OFFLOAD { default() -> Self3401 fn default() -> Self { 3402 unsafe { ::std::mem::zeroed() } 3403 } 3404 } 3405 impl ::std::fmt::Debug for NDIS_OFFLOAD { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3406 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3407 fmt.debug_struct("NDIS_OFFLOAD").field("Header", &self.Header).field("Checksum", &self.Checksum).field("LsoV1", &self.LsoV1).field("IPsecV1", &self.IPsecV1).field("LsoV2", &self.LsoV2).field("Flags", &self.Flags).finish() 3408 } 3409 } 3410 impl ::std::cmp::PartialEq for NDIS_OFFLOAD { eq(&self, other: &Self) -> bool3411 fn eq(&self, other: &Self) -> bool { 3412 self.Header == other.Header && self.Checksum == other.Checksum && self.LsoV1 == other.LsoV1 && self.IPsecV1 == other.IPsecV1 && self.LsoV2 == other.LsoV2 && self.Flags == other.Flags 3413 } 3414 } 3415 impl ::std::cmp::Eq for NDIS_OFFLOAD {} 3416 unsafe impl ::windows::runtime::Abi for NDIS_OFFLOAD { 3417 type Abi = Self; 3418 type DefaultType = Self; 3419 } 3420 pub const NDIS_OFFLOAD_FLAGS_GROUP_CHECKSUM_CAPABILITIES: u32 = 1u32; 3421 pub const NDIS_OFFLOAD_NOT_SUPPORTED: u32 = 0u32; 3422 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3423 #[repr(C)] 3424 pub struct NDIS_OFFLOAD_PARAMETERS { 3425 pub Header: NDIS_OBJECT_HEADER, 3426 pub IPv4Checksum: u8, 3427 pub TCPIPv4Checksum: u8, 3428 pub UDPIPv4Checksum: u8, 3429 pub TCPIPv6Checksum: u8, 3430 pub UDPIPv6Checksum: u8, 3431 pub LsoV1: u8, 3432 pub IPsecV1: u8, 3433 pub LsoV2IPv4: u8, 3434 pub LsoV2IPv6: u8, 3435 pub TcpConnectionIPv4: u8, 3436 pub TcpConnectionIPv6: u8, 3437 pub Flags: u32, 3438 } 3439 impl NDIS_OFFLOAD_PARAMETERS {} 3440 impl ::std::default::Default for NDIS_OFFLOAD_PARAMETERS { default() -> Self3441 fn default() -> Self { 3442 unsafe { ::std::mem::zeroed() } 3443 } 3444 } 3445 impl ::std::fmt::Debug for NDIS_OFFLOAD_PARAMETERS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3446 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3447 fmt.debug_struct("NDIS_OFFLOAD_PARAMETERS") 3448 .field("Header", &self.Header) 3449 .field("IPv4Checksum", &self.IPv4Checksum) 3450 .field("TCPIPv4Checksum", &self.TCPIPv4Checksum) 3451 .field("UDPIPv4Checksum", &self.UDPIPv4Checksum) 3452 .field("TCPIPv6Checksum", &self.TCPIPv6Checksum) 3453 .field("UDPIPv6Checksum", &self.UDPIPv6Checksum) 3454 .field("LsoV1", &self.LsoV1) 3455 .field("IPsecV1", &self.IPsecV1) 3456 .field("LsoV2IPv4", &self.LsoV2IPv4) 3457 .field("LsoV2IPv6", &self.LsoV2IPv6) 3458 .field("TcpConnectionIPv4", &self.TcpConnectionIPv4) 3459 .field("TcpConnectionIPv6", &self.TcpConnectionIPv6) 3460 .field("Flags", &self.Flags) 3461 .finish() 3462 } 3463 } 3464 impl ::std::cmp::PartialEq for NDIS_OFFLOAD_PARAMETERS { eq(&self, other: &Self) -> bool3465 fn eq(&self, other: &Self) -> bool { 3466 self.Header == other.Header 3467 && self.IPv4Checksum == other.IPv4Checksum 3468 && self.TCPIPv4Checksum == other.TCPIPv4Checksum 3469 && self.UDPIPv4Checksum == other.UDPIPv4Checksum 3470 && self.TCPIPv6Checksum == other.TCPIPv6Checksum 3471 && self.UDPIPv6Checksum == other.UDPIPv6Checksum 3472 && self.LsoV1 == other.LsoV1 3473 && self.IPsecV1 == other.IPsecV1 3474 && self.LsoV2IPv4 == other.LsoV2IPv4 3475 && self.LsoV2IPv6 == other.LsoV2IPv6 3476 && self.TcpConnectionIPv4 == other.TcpConnectionIPv4 3477 && self.TcpConnectionIPv6 == other.TcpConnectionIPv6 3478 && self.Flags == other.Flags 3479 } 3480 } 3481 impl ::std::cmp::Eq for NDIS_OFFLOAD_PARAMETERS {} 3482 unsafe impl ::windows::runtime::Abi for NDIS_OFFLOAD_PARAMETERS { 3483 type Abi = Self; 3484 type DefaultType = Self; 3485 } 3486 pub const NDIS_OFFLOAD_PARAMETERS_CONNECTION_OFFLOAD_DISABLED: u32 = 1u32; 3487 pub const NDIS_OFFLOAD_PARAMETERS_CONNECTION_OFFLOAD_ENABLED: u32 = 2u32; 3488 pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_AH_AND_ESP_ENABLED: u32 = 4u32; 3489 pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_AH_ENABLED: u32 = 2u32; 3490 pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_DISABLED: u32 = 1u32; 3491 pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_ESP_ENABLED: u32 = 3u32; 3492 pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_AH_AND_ESP_ENABLED: u32 = 4u32; 3493 pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_AH_ENABLED: u32 = 2u32; 3494 pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_DISABLED: u32 = 1u32; 3495 pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_ESP_ENABLED: u32 = 3u32; 3496 pub const NDIS_OFFLOAD_PARAMETERS_LSOV1_DISABLED: u32 = 1u32; 3497 pub const NDIS_OFFLOAD_PARAMETERS_LSOV1_ENABLED: u32 = 2u32; 3498 pub const NDIS_OFFLOAD_PARAMETERS_LSOV2_DISABLED: u32 = 1u32; 3499 pub const NDIS_OFFLOAD_PARAMETERS_LSOV2_ENABLED: u32 = 2u32; 3500 pub const NDIS_OFFLOAD_PARAMETERS_NO_CHANGE: u32 = 0u32; 3501 pub const NDIS_OFFLOAD_PARAMETERS_REVISION_1: u32 = 1u32; 3502 pub const NDIS_OFFLOAD_PARAMETERS_REVISION_2: u32 = 2u32; 3503 pub const NDIS_OFFLOAD_PARAMETERS_REVISION_3: u32 = 3u32; 3504 pub const NDIS_OFFLOAD_PARAMETERS_REVISION_4: u32 = 4u32; 3505 pub const NDIS_OFFLOAD_PARAMETERS_REVISION_5: u32 = 5u32; 3506 pub const NDIS_OFFLOAD_PARAMETERS_RSC_DISABLED: u32 = 1u32; 3507 pub const NDIS_OFFLOAD_PARAMETERS_RSC_ENABLED: u32 = 2u32; 3508 pub const NDIS_OFFLOAD_PARAMETERS_RX_ENABLED_TX_DISABLED: u32 = 3u32; 3509 pub const NDIS_OFFLOAD_PARAMETERS_SKIP_REGISTRY_UPDATE: u32 = 1u32; 3510 pub const NDIS_OFFLOAD_PARAMETERS_TX_ENABLED_RX_DISABLED: u32 = 2u32; 3511 pub const NDIS_OFFLOAD_PARAMETERS_TX_RX_DISABLED: u32 = 1u32; 3512 pub const NDIS_OFFLOAD_PARAMETERS_TX_RX_ENABLED: u32 = 4u32; 3513 pub const NDIS_OFFLOAD_PARAMETERS_USO_DISABLED: u32 = 1u32; 3514 pub const NDIS_OFFLOAD_PARAMETERS_USO_ENABLED: u32 = 2u32; 3515 pub const NDIS_OFFLOAD_REVISION_1: u32 = 1u32; 3516 pub const NDIS_OFFLOAD_REVISION_2: u32 = 2u32; 3517 pub const NDIS_OFFLOAD_REVISION_3: u32 = 3u32; 3518 pub const NDIS_OFFLOAD_REVISION_4: u32 = 4u32; 3519 pub const NDIS_OFFLOAD_REVISION_5: u32 = 5u32; 3520 pub const NDIS_OFFLOAD_REVISION_6: u32 = 6u32; 3521 pub const NDIS_OFFLOAD_REVISION_7: u32 = 7u32; 3522 pub const NDIS_OFFLOAD_SET_NO_CHANGE: u32 = 0u32; 3523 pub const NDIS_OFFLOAD_SET_OFF: u32 = 2u32; 3524 pub const NDIS_OFFLOAD_SET_ON: u32 = 1u32; 3525 pub const NDIS_OFFLOAD_SUPPORTED: u32 = 1u32; 3526 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3527 #[repr(C)] 3528 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3529 pub struct NDIS_OPER_STATE { 3530 pub Header: NDIS_OBJECT_HEADER, 3531 pub OperationalStatus: super::IpHelper::NET_IF_OPER_STATUS, 3532 pub OperationalStatusFlags: u32, 3533 } 3534 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3535 impl NDIS_OPER_STATE {} 3536 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3537 impl ::std::default::Default for NDIS_OPER_STATE { default() -> Self3538 fn default() -> Self { 3539 unsafe { ::std::mem::zeroed() } 3540 } 3541 } 3542 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3543 impl ::std::fmt::Debug for NDIS_OPER_STATE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3544 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3545 fmt.debug_struct("NDIS_OPER_STATE").field("Header", &self.Header).field("OperationalStatus", &self.OperationalStatus).field("OperationalStatusFlags", &self.OperationalStatusFlags).finish() 3546 } 3547 } 3548 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3549 impl ::std::cmp::PartialEq for NDIS_OPER_STATE { eq(&self, other: &Self) -> bool3550 fn eq(&self, other: &Self) -> bool { 3551 self.Header == other.Header && self.OperationalStatus == other.OperationalStatus && self.OperationalStatusFlags == other.OperationalStatusFlags 3552 } 3553 } 3554 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3555 impl ::std::cmp::Eq for NDIS_OPER_STATE {} 3556 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3557 unsafe impl ::windows::runtime::Abi for NDIS_OPER_STATE { 3558 type Abi = Self; 3559 type DefaultType = Self; 3560 } 3561 pub const NDIS_OPER_STATE_REVISION_1: u32 = 1u32; 3562 pub const NDIS_PACKET_TYPE_ALL_FUNCTIONAL: u32 = 8192u32; 3563 pub const NDIS_PACKET_TYPE_ALL_LOCAL: u32 = 128u32; 3564 pub const NDIS_PACKET_TYPE_ALL_MULTICAST: u32 = 4u32; 3565 pub const NDIS_PACKET_TYPE_BROADCAST: u32 = 8u32; 3566 pub const NDIS_PACKET_TYPE_DIRECTED: u32 = 1u32; 3567 pub const NDIS_PACKET_TYPE_FUNCTIONAL: u32 = 16384u32; 3568 pub const NDIS_PACKET_TYPE_GROUP: u32 = 4096u32; 3569 pub const NDIS_PACKET_TYPE_MAC_FRAME: u32 = 32768u32; 3570 pub const NDIS_PACKET_TYPE_MULTICAST: u32 = 2u32; 3571 pub const NDIS_PACKET_TYPE_NO_LOCAL: u32 = 65536u32; 3572 pub const NDIS_PACKET_TYPE_PROMISCUOUS: u32 = 32u32; 3573 pub const NDIS_PACKET_TYPE_SMT: u32 = 64u32; 3574 pub const NDIS_PACKET_TYPE_SOURCE_ROUTING: u32 = 16u32; 3575 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3576 #[repr(C)] 3577 pub struct NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { 3578 pub Header: NDIS_OBJECT_HEADER, 3579 pub DeviceType: u32, 3580 pub CurrentSpeedAndMode: u32, 3581 pub CurrentPayloadSize: u32, 3582 pub MaxPayloadSize: u32, 3583 pub MaxReadRequestSize: u32, 3584 pub CurrentLinkSpeed: u32, 3585 pub CurrentLinkWidth: u32, 3586 pub MaxLinkSpeed: u32, 3587 pub MaxLinkWidth: u32, 3588 pub PciExpressVersion: u32, 3589 pub InterruptType: u32, 3590 pub MaxInterruptMessages: u32, 3591 } 3592 impl NDIS_PCI_DEVICE_CUSTOM_PROPERTIES {} 3593 impl ::std::default::Default for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { default() -> Self3594 fn default() -> Self { 3595 unsafe { ::std::mem::zeroed() } 3596 } 3597 } 3598 impl ::std::fmt::Debug for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3599 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3600 fmt.debug_struct("NDIS_PCI_DEVICE_CUSTOM_PROPERTIES") 3601 .field("Header", &self.Header) 3602 .field("DeviceType", &self.DeviceType) 3603 .field("CurrentSpeedAndMode", &self.CurrentSpeedAndMode) 3604 .field("CurrentPayloadSize", &self.CurrentPayloadSize) 3605 .field("MaxPayloadSize", &self.MaxPayloadSize) 3606 .field("MaxReadRequestSize", &self.MaxReadRequestSize) 3607 .field("CurrentLinkSpeed", &self.CurrentLinkSpeed) 3608 .field("CurrentLinkWidth", &self.CurrentLinkWidth) 3609 .field("MaxLinkSpeed", &self.MaxLinkSpeed) 3610 .field("MaxLinkWidth", &self.MaxLinkWidth) 3611 .field("PciExpressVersion", &self.PciExpressVersion) 3612 .field("InterruptType", &self.InterruptType) 3613 .field("MaxInterruptMessages", &self.MaxInterruptMessages) 3614 .finish() 3615 } 3616 } 3617 impl ::std::cmp::PartialEq for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { eq(&self, other: &Self) -> bool3618 fn eq(&self, other: &Self) -> bool { 3619 self.Header == other.Header 3620 && self.DeviceType == other.DeviceType 3621 && self.CurrentSpeedAndMode == other.CurrentSpeedAndMode 3622 && self.CurrentPayloadSize == other.CurrentPayloadSize 3623 && self.MaxPayloadSize == other.MaxPayloadSize 3624 && self.MaxReadRequestSize == other.MaxReadRequestSize 3625 && self.CurrentLinkSpeed == other.CurrentLinkSpeed 3626 && self.CurrentLinkWidth == other.CurrentLinkWidth 3627 && self.MaxLinkSpeed == other.MaxLinkSpeed 3628 && self.MaxLinkWidth == other.MaxLinkWidth 3629 && self.PciExpressVersion == other.PciExpressVersion 3630 && self.InterruptType == other.InterruptType 3631 && self.MaxInterruptMessages == other.MaxInterruptMessages 3632 } 3633 } 3634 impl ::std::cmp::Eq for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES {} 3635 unsafe impl ::windows::runtime::Abi for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { 3636 type Abi = Self; 3637 type DefaultType = Self; 3638 } 3639 pub const NDIS_PD_CAPABILITIES_REVISION_1: u32 = 1u32; 3640 pub const NDIS_PD_CAPS_DRAIN_NOTIFICATIONS_SUPPORTED: u32 = 2u32; 3641 pub const NDIS_PD_CAPS_NOTIFICATION_MODERATION_COUNT_SUPPORTED: u32 = 8u32; 3642 pub const NDIS_PD_CAPS_NOTIFICATION_MODERATION_INTERVAL_SUPPORTED: u32 = 4u32; 3643 pub const NDIS_PD_CAPS_RECEIVE_FILTER_COUNTERS_SUPPORTED: u32 = 1u32; 3644 pub const NDIS_PD_CONFIG_REVISION_1: u32 = 1u32; 3645 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 3646 #[repr(transparent)] 3647 pub struct NDIS_PHYSICAL_MEDIUM(pub i32); 3648 pub const NdisPhysicalMediumUnspecified: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(0i32); 3649 pub const NdisPhysicalMediumWirelessLan: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(1i32); 3650 pub const NdisPhysicalMediumCableModem: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(2i32); 3651 pub const NdisPhysicalMediumPhoneLine: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(3i32); 3652 pub const NdisPhysicalMediumPowerLine: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(4i32); 3653 pub const NdisPhysicalMediumDSL: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(5i32); 3654 pub const NdisPhysicalMediumFibreChannel: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(6i32); 3655 pub const NdisPhysicalMedium1394: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(7i32); 3656 pub const NdisPhysicalMediumWirelessWan: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(8i32); 3657 pub const NdisPhysicalMediumNative802_11: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(9i32); 3658 pub const NdisPhysicalMediumBluetooth: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(10i32); 3659 pub const NdisPhysicalMediumInfiniband: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(11i32); 3660 pub const NdisPhysicalMediumWiMax: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(12i32); 3661 pub const NdisPhysicalMediumUWB: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(13i32); 3662 pub const NdisPhysicalMedium802_3: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(14i32); 3663 pub const NdisPhysicalMedium802_5: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(15i32); 3664 pub const NdisPhysicalMediumIrda: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(16i32); 3665 pub const NdisPhysicalMediumWiredWAN: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(17i32); 3666 pub const NdisPhysicalMediumWiredCoWan: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(18i32); 3667 pub const NdisPhysicalMediumOther: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(19i32); 3668 pub const NdisPhysicalMediumNative802_15_4: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(20i32); 3669 pub const NdisPhysicalMediumMax: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(21i32); 3670 impl ::std::convert::From<i32> for NDIS_PHYSICAL_MEDIUM { from(value: i32) -> Self3671 fn from(value: i32) -> Self { 3672 Self(value) 3673 } 3674 } 3675 unsafe impl ::windows::runtime::Abi for NDIS_PHYSICAL_MEDIUM { 3676 type Abi = Self; 3677 type DefaultType = Self; 3678 } 3679 pub const NDIS_PM_CAPABILITIES_REVISION_1: u32 = 1u32; 3680 pub const NDIS_PM_CAPABILITIES_REVISION_2: u32 = 2u32; 3681 pub const NDIS_PM_MAX_PATTERN_ID: u32 = 65535u32; 3682 pub const NDIS_PM_MAX_STRING_SIZE: u32 = 64u32; 3683 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3684 #[repr(C)] 3685 pub struct NDIS_PM_PACKET_PATTERN { 3686 pub Priority: u32, 3687 pub Reserved: u32, 3688 pub MaskSize: u32, 3689 pub PatternOffset: u32, 3690 pub PatternSize: u32, 3691 pub PatternFlags: u32, 3692 } 3693 impl NDIS_PM_PACKET_PATTERN {} 3694 impl ::std::default::Default for NDIS_PM_PACKET_PATTERN { default() -> Self3695 fn default() -> Self { 3696 unsafe { ::std::mem::zeroed() } 3697 } 3698 } 3699 impl ::std::fmt::Debug for NDIS_PM_PACKET_PATTERN { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3700 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3701 fmt.debug_struct("NDIS_PM_PACKET_PATTERN").field("Priority", &self.Priority).field("Reserved", &self.Reserved).field("MaskSize", &self.MaskSize).field("PatternOffset", &self.PatternOffset).field("PatternSize", &self.PatternSize).field("PatternFlags", &self.PatternFlags).finish() 3702 } 3703 } 3704 impl ::std::cmp::PartialEq for NDIS_PM_PACKET_PATTERN { eq(&self, other: &Self) -> bool3705 fn eq(&self, other: &Self) -> bool { 3706 self.Priority == other.Priority && self.Reserved == other.Reserved && self.MaskSize == other.MaskSize && self.PatternOffset == other.PatternOffset && self.PatternSize == other.PatternSize && self.PatternFlags == other.PatternFlags 3707 } 3708 } 3709 impl ::std::cmp::Eq for NDIS_PM_PACKET_PATTERN {} 3710 unsafe impl ::windows::runtime::Abi for NDIS_PM_PACKET_PATTERN { 3711 type Abi = Self; 3712 type DefaultType = Self; 3713 } 3714 pub const NDIS_PM_PARAMETERS_REVISION_1: u32 = 1u32; 3715 pub const NDIS_PM_PARAMETERS_REVISION_2: u32 = 2u32; 3716 pub const NDIS_PM_PRIVATE_PATTERN_ID: u32 = 1u32; 3717 pub const NDIS_PM_PROTOCOL_OFFLOAD_80211_RSN_REKEY_ENABLED: u32 = 128u32; 3718 pub const NDIS_PM_PROTOCOL_OFFLOAD_80211_RSN_REKEY_SUPPORTED: u32 = 128u32; 3719 pub const NDIS_PM_PROTOCOL_OFFLOAD_ARP_ENABLED: u32 = 1u32; 3720 pub const NDIS_PM_PROTOCOL_OFFLOAD_ARP_SUPPORTED: u32 = 1u32; 3721 pub const NDIS_PM_PROTOCOL_OFFLOAD_NS_ENABLED: u32 = 2u32; 3722 pub const NDIS_PM_PROTOCOL_OFFLOAD_NS_SUPPORTED: u32 = 2u32; 3723 pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_HIGHEST: u32 = 1u32; 3724 pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_LOWEST: u32 = 4294967295u32; 3725 pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_NORMAL: u32 = 268435456u32; 3726 pub const NDIS_PM_PROTOCOL_OFFLOAD_REVISION_1: u32 = 1u32; 3727 pub const NDIS_PM_PROTOCOL_OFFLOAD_REVISION_2: u32 = 2u32; 3728 pub const NDIS_PM_SELECTIVE_SUSPEND_ENABLED: u32 = 16u32; 3729 pub const NDIS_PM_SELECTIVE_SUSPEND_SUPPORTED: u32 = 2u32; 3730 pub const NDIS_PM_WAKE_ON_LINK_CHANGE_ENABLED: u32 = 1u32; 3731 pub const NDIS_PM_WAKE_ON_MEDIA_CONNECT_SUPPORTED: u32 = 1u32; 3732 pub const NDIS_PM_WAKE_ON_MEDIA_DISCONNECT_ENABLED: u32 = 2u32; 3733 pub const NDIS_PM_WAKE_ON_MEDIA_DISCONNECT_SUPPORTED: u32 = 2u32; 3734 pub const NDIS_PM_WAKE_PACKET_INDICATION_SUPPORTED: u32 = 1u32; 3735 pub const NDIS_PM_WAKE_PACKET_REVISION_1: u32 = 1u32; 3736 pub const NDIS_PM_WAKE_REASON_REVISION_1: u32 = 1u32; 3737 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3738 #[repr(C)] 3739 pub struct NDIS_PM_WAKE_UP_CAPABILITIES { 3740 pub MinMagicPacketWakeUp: NDIS_DEVICE_POWER_STATE, 3741 pub MinPatternWakeUp: NDIS_DEVICE_POWER_STATE, 3742 pub MinLinkChangeWakeUp: NDIS_DEVICE_POWER_STATE, 3743 } 3744 impl NDIS_PM_WAKE_UP_CAPABILITIES {} 3745 impl ::std::default::Default for NDIS_PM_WAKE_UP_CAPABILITIES { default() -> Self3746 fn default() -> Self { 3747 unsafe { ::std::mem::zeroed() } 3748 } 3749 } 3750 impl ::std::fmt::Debug for NDIS_PM_WAKE_UP_CAPABILITIES { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3751 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3752 fmt.debug_struct("NDIS_PM_WAKE_UP_CAPABILITIES").field("MinMagicPacketWakeUp", &self.MinMagicPacketWakeUp).field("MinPatternWakeUp", &self.MinPatternWakeUp).field("MinLinkChangeWakeUp", &self.MinLinkChangeWakeUp).finish() 3753 } 3754 } 3755 impl ::std::cmp::PartialEq for NDIS_PM_WAKE_UP_CAPABILITIES { eq(&self, other: &Self) -> bool3756 fn eq(&self, other: &Self) -> bool { 3757 self.MinMagicPacketWakeUp == other.MinMagicPacketWakeUp && self.MinPatternWakeUp == other.MinPatternWakeUp && self.MinLinkChangeWakeUp == other.MinLinkChangeWakeUp 3758 } 3759 } 3760 impl ::std::cmp::Eq for NDIS_PM_WAKE_UP_CAPABILITIES {} 3761 unsafe impl ::windows::runtime::Abi for NDIS_PM_WAKE_UP_CAPABILITIES { 3762 type Abi = Self; 3763 type DefaultType = Self; 3764 } 3765 pub const NDIS_PM_WOL_BITMAP_PATTERN_ENABLED: u32 = 1u32; 3766 pub const NDIS_PM_WOL_BITMAP_PATTERN_SUPPORTED: u32 = 1u32; 3767 pub const NDIS_PM_WOL_EAPOL_REQUEST_ID_MESSAGE_ENABLED: u32 = 65536u32; 3768 pub const NDIS_PM_WOL_EAPOL_REQUEST_ID_MESSAGE_SUPPORTED: u32 = 65536u32; 3769 pub const NDIS_PM_WOL_IPV4_DEST_ADDR_WILDCARD_ENABLED: u32 = 512u32; 3770 pub const NDIS_PM_WOL_IPV4_DEST_ADDR_WILDCARD_SUPPORTED: u32 = 512u32; 3771 pub const NDIS_PM_WOL_IPV4_TCP_SYN_ENABLED: u32 = 4u32; 3772 pub const NDIS_PM_WOL_IPV4_TCP_SYN_SUPPORTED: u32 = 4u32; 3773 pub const NDIS_PM_WOL_IPV6_DEST_ADDR_WILDCARD_ENABLED: u32 = 2048u32; 3774 pub const NDIS_PM_WOL_IPV6_DEST_ADDR_WILDCARD_SUPPORTED: u32 = 2048u32; 3775 pub const NDIS_PM_WOL_IPV6_TCP_SYN_ENABLED: u32 = 8u32; 3776 pub const NDIS_PM_WOL_IPV6_TCP_SYN_SUPPORTED: u32 = 8u32; 3777 pub const NDIS_PM_WOL_MAGIC_PACKET_ENABLED: u32 = 2u32; 3778 pub const NDIS_PM_WOL_MAGIC_PACKET_SUPPORTED: u32 = 2u32; 3779 pub const NDIS_PM_WOL_PATTERN_REVISION_1: u32 = 1u32; 3780 pub const NDIS_PM_WOL_PATTERN_REVISION_2: u32 = 2u32; 3781 pub const NDIS_PM_WOL_PRIORITY_HIGHEST: u32 = 1u32; 3782 pub const NDIS_PM_WOL_PRIORITY_LOWEST: u32 = 4294967295u32; 3783 pub const NDIS_PM_WOL_PRIORITY_NORMAL: u32 = 268435456u32; 3784 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3785 #[repr(C)] 3786 pub struct NDIS_PNP_CAPABILITIES { 3787 pub Flags: u32, 3788 pub WakeUpCapabilities: NDIS_PM_WAKE_UP_CAPABILITIES, 3789 } 3790 impl NDIS_PNP_CAPABILITIES {} 3791 impl ::std::default::Default for NDIS_PNP_CAPABILITIES { default() -> Self3792 fn default() -> Self { 3793 unsafe { ::std::mem::zeroed() } 3794 } 3795 } 3796 impl ::std::fmt::Debug for NDIS_PNP_CAPABILITIES { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3797 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3798 fmt.debug_struct("NDIS_PNP_CAPABILITIES").field("Flags", &self.Flags).field("WakeUpCapabilities", &self.WakeUpCapabilities).finish() 3799 } 3800 } 3801 impl ::std::cmp::PartialEq for NDIS_PNP_CAPABILITIES { eq(&self, other: &Self) -> bool3802 fn eq(&self, other: &Self) -> bool { 3803 self.Flags == other.Flags && self.WakeUpCapabilities == other.WakeUpCapabilities 3804 } 3805 } 3806 impl ::std::cmp::Eq for NDIS_PNP_CAPABILITIES {} 3807 unsafe impl ::windows::runtime::Abi for NDIS_PNP_CAPABILITIES { 3808 type Abi = Self; 3809 type DefaultType = Self; 3810 } 3811 pub const NDIS_PNP_WAKE_UP_LINK_CHANGE: u32 = 4u32; 3812 pub const NDIS_PNP_WAKE_UP_MAGIC_PACKET: u32 = 1u32; 3813 pub const NDIS_PNP_WAKE_UP_PATTERN_MATCH: u32 = 2u32; 3814 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3815 #[repr(C)] 3816 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3817 pub struct NDIS_PORT { 3818 pub Next: *mut NDIS_PORT, 3819 pub NdisReserved: *mut ::std::ffi::c_void, 3820 pub MiniportReserved: *mut ::std::ffi::c_void, 3821 pub ProtocolReserved: *mut ::std::ffi::c_void, 3822 pub PortCharacteristics: NDIS_PORT_CHARACTERISTICS, 3823 } 3824 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3825 impl NDIS_PORT {} 3826 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3827 impl ::std::default::Default for NDIS_PORT { default() -> Self3828 fn default() -> Self { 3829 unsafe { ::std::mem::zeroed() } 3830 } 3831 } 3832 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3833 impl ::std::fmt::Debug for NDIS_PORT { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3834 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3835 fmt.debug_struct("NDIS_PORT").field("Next", &self.Next).field("NdisReserved", &self.NdisReserved).field("MiniportReserved", &self.MiniportReserved).field("ProtocolReserved", &self.ProtocolReserved).field("PortCharacteristics", &self.PortCharacteristics).finish() 3836 } 3837 } 3838 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3839 impl ::std::cmp::PartialEq for NDIS_PORT { eq(&self, other: &Self) -> bool3840 fn eq(&self, other: &Self) -> bool { 3841 self.Next == other.Next && self.NdisReserved == other.NdisReserved && self.MiniportReserved == other.MiniportReserved && self.ProtocolReserved == other.ProtocolReserved && self.PortCharacteristics == other.PortCharacteristics 3842 } 3843 } 3844 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3845 impl ::std::cmp::Eq for NDIS_PORT {} 3846 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3847 unsafe impl ::windows::runtime::Abi for NDIS_PORT { 3848 type Abi = Self; 3849 type DefaultType = Self; 3850 } 3851 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3852 #[repr(C)] 3853 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3854 pub struct NDIS_PORT_ARRAY { 3855 pub Header: NDIS_OBJECT_HEADER, 3856 pub NumberOfPorts: u32, 3857 pub OffsetFirstPort: u32, 3858 pub ElementSize: u32, 3859 pub Ports: [NDIS_PORT_CHARACTERISTICS; 1], 3860 } 3861 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3862 impl NDIS_PORT_ARRAY {} 3863 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3864 impl ::std::default::Default for NDIS_PORT_ARRAY { default() -> Self3865 fn default() -> Self { 3866 unsafe { ::std::mem::zeroed() } 3867 } 3868 } 3869 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3870 impl ::std::fmt::Debug for NDIS_PORT_ARRAY { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3871 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3872 fmt.debug_struct("NDIS_PORT_ARRAY").field("Header", &self.Header).field("NumberOfPorts", &self.NumberOfPorts).field("OffsetFirstPort", &self.OffsetFirstPort).field("ElementSize", &self.ElementSize).field("Ports", &self.Ports).finish() 3873 } 3874 } 3875 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3876 impl ::std::cmp::PartialEq for NDIS_PORT_ARRAY { eq(&self, other: &Self) -> bool3877 fn eq(&self, other: &Self) -> bool { 3878 self.Header == other.Header && self.NumberOfPorts == other.NumberOfPorts && self.OffsetFirstPort == other.OffsetFirstPort && self.ElementSize == other.ElementSize && self.Ports == other.Ports 3879 } 3880 } 3881 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3882 impl ::std::cmp::Eq for NDIS_PORT_ARRAY {} 3883 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3884 unsafe impl ::windows::runtime::Abi for NDIS_PORT_ARRAY { 3885 type Abi = Self; 3886 type DefaultType = Self; 3887 } 3888 pub const NDIS_PORT_ARRAY_REVISION_1: u32 = 1u32; 3889 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3890 #[repr(C)] 3891 pub struct NDIS_PORT_AUTHENTICATION_PARAMETERS { 3892 pub Header: NDIS_OBJECT_HEADER, 3893 pub SendControlState: NDIS_PORT_CONTROL_STATE, 3894 pub RcvControlState: NDIS_PORT_CONTROL_STATE, 3895 pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, 3896 pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, 3897 } 3898 impl NDIS_PORT_AUTHENTICATION_PARAMETERS {} 3899 impl ::std::default::Default for NDIS_PORT_AUTHENTICATION_PARAMETERS { default() -> Self3900 fn default() -> Self { 3901 unsafe { ::std::mem::zeroed() } 3902 } 3903 } 3904 impl ::std::fmt::Debug for NDIS_PORT_AUTHENTICATION_PARAMETERS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3905 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3906 fmt.debug_struct("NDIS_PORT_AUTHENTICATION_PARAMETERS") 3907 .field("Header", &self.Header) 3908 .field("SendControlState", &self.SendControlState) 3909 .field("RcvControlState", &self.RcvControlState) 3910 .field("SendAuthorizationState", &self.SendAuthorizationState) 3911 .field("RcvAuthorizationState", &self.RcvAuthorizationState) 3912 .finish() 3913 } 3914 } 3915 impl ::std::cmp::PartialEq for NDIS_PORT_AUTHENTICATION_PARAMETERS { eq(&self, other: &Self) -> bool3916 fn eq(&self, other: &Self) -> bool { 3917 self.Header == other.Header && self.SendControlState == other.SendControlState && self.RcvControlState == other.RcvControlState && self.SendAuthorizationState == other.SendAuthorizationState && self.RcvAuthorizationState == other.RcvAuthorizationState 3918 } 3919 } 3920 impl ::std::cmp::Eq for NDIS_PORT_AUTHENTICATION_PARAMETERS {} 3921 unsafe impl ::windows::runtime::Abi for NDIS_PORT_AUTHENTICATION_PARAMETERS { 3922 type Abi = Self; 3923 type DefaultType = Self; 3924 } 3925 pub const NDIS_PORT_AUTHENTICATION_PARAMETERS_REVISION_1: u32 = 1u32; 3926 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 3927 #[repr(transparent)] 3928 pub struct NDIS_PORT_AUTHORIZATION_STATE(pub i32); 3929 pub const NdisPortAuthorizationUnknown: NDIS_PORT_AUTHORIZATION_STATE = NDIS_PORT_AUTHORIZATION_STATE(0i32); 3930 pub const NdisPortAuthorized: NDIS_PORT_AUTHORIZATION_STATE = NDIS_PORT_AUTHORIZATION_STATE(1i32); 3931 pub const NdisPortUnauthorized: NDIS_PORT_AUTHORIZATION_STATE = NDIS_PORT_AUTHORIZATION_STATE(2i32); 3932 pub const NdisPortReauthorizing: NDIS_PORT_AUTHORIZATION_STATE = NDIS_PORT_AUTHORIZATION_STATE(3i32); 3933 impl ::std::convert::From<i32> for NDIS_PORT_AUTHORIZATION_STATE { from(value: i32) -> Self3934 fn from(value: i32) -> Self { 3935 Self(value) 3936 } 3937 } 3938 unsafe impl ::windows::runtime::Abi for NDIS_PORT_AUTHORIZATION_STATE { 3939 type Abi = Self; 3940 type DefaultType = Self; 3941 } 3942 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 3943 #[repr(C)] 3944 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3945 pub struct NDIS_PORT_CHARACTERISTICS { 3946 pub Header: NDIS_OBJECT_HEADER, 3947 pub PortNumber: u32, 3948 pub Flags: u32, 3949 pub Type: NDIS_PORT_TYPE, 3950 pub MediaConnectState: super::IpHelper::NET_IF_MEDIA_CONNECT_STATE, 3951 pub XmitLinkSpeed: u64, 3952 pub RcvLinkSpeed: u64, 3953 pub Direction: super::IpHelper::NET_IF_DIRECTION_TYPE, 3954 pub SendControlState: NDIS_PORT_CONTROL_STATE, 3955 pub RcvControlState: NDIS_PORT_CONTROL_STATE, 3956 pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, 3957 pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, 3958 } 3959 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3960 impl NDIS_PORT_CHARACTERISTICS {} 3961 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3962 impl ::std::default::Default for NDIS_PORT_CHARACTERISTICS { default() -> Self3963 fn default() -> Self { 3964 unsafe { ::std::mem::zeroed() } 3965 } 3966 } 3967 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3968 impl ::std::fmt::Debug for NDIS_PORT_CHARACTERISTICS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3969 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 3970 fmt.debug_struct("NDIS_PORT_CHARACTERISTICS") 3971 .field("Header", &self.Header) 3972 .field("PortNumber", &self.PortNumber) 3973 .field("Flags", &self.Flags) 3974 .field("Type", &self.Type) 3975 .field("MediaConnectState", &self.MediaConnectState) 3976 .field("XmitLinkSpeed", &self.XmitLinkSpeed) 3977 .field("RcvLinkSpeed", &self.RcvLinkSpeed) 3978 .field("Direction", &self.Direction) 3979 .field("SendControlState", &self.SendControlState) 3980 .field("RcvControlState", &self.RcvControlState) 3981 .field("SendAuthorizationState", &self.SendAuthorizationState) 3982 .field("RcvAuthorizationState", &self.RcvAuthorizationState) 3983 .finish() 3984 } 3985 } 3986 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 3987 impl ::std::cmp::PartialEq for NDIS_PORT_CHARACTERISTICS { eq(&self, other: &Self) -> bool3988 fn eq(&self, other: &Self) -> bool { 3989 self.Header == other.Header 3990 && self.PortNumber == other.PortNumber 3991 && self.Flags == other.Flags 3992 && self.Type == other.Type 3993 && self.MediaConnectState == other.MediaConnectState 3994 && self.XmitLinkSpeed == other.XmitLinkSpeed 3995 && self.RcvLinkSpeed == other.RcvLinkSpeed 3996 && self.Direction == other.Direction 3997 && self.SendControlState == other.SendControlState 3998 && self.RcvControlState == other.RcvControlState 3999 && self.SendAuthorizationState == other.SendAuthorizationState 4000 && self.RcvAuthorizationState == other.RcvAuthorizationState 4001 } 4002 } 4003 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 4004 impl ::std::cmp::Eq for NDIS_PORT_CHARACTERISTICS {} 4005 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 4006 unsafe impl ::windows::runtime::Abi for NDIS_PORT_CHARACTERISTICS { 4007 type Abi = Self; 4008 type DefaultType = Self; 4009 } 4010 pub const NDIS_PORT_CHARACTERISTICS_REVISION_1: u32 = 1u32; 4011 pub const NDIS_PORT_CHAR_USE_DEFAULT_AUTH_SETTINGS: u32 = 1u32; 4012 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 4013 #[repr(transparent)] 4014 pub struct NDIS_PORT_CONTROL_STATE(pub i32); 4015 pub const NdisPortControlStateUnknown: NDIS_PORT_CONTROL_STATE = NDIS_PORT_CONTROL_STATE(0i32); 4016 pub const NdisPortControlStateControlled: NDIS_PORT_CONTROL_STATE = NDIS_PORT_CONTROL_STATE(1i32); 4017 pub const NdisPortControlStateUncontrolled: NDIS_PORT_CONTROL_STATE = NDIS_PORT_CONTROL_STATE(2i32); 4018 impl ::std::convert::From<i32> for NDIS_PORT_CONTROL_STATE { from(value: i32) -> Self4019 fn from(value: i32) -> Self { 4020 Self(value) 4021 } 4022 } 4023 unsafe impl ::windows::runtime::Abi for NDIS_PORT_CONTROL_STATE { 4024 type Abi = Self; 4025 type DefaultType = Self; 4026 } 4027 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4028 #[repr(C)] 4029 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 4030 pub struct NDIS_PORT_STATE { 4031 pub Header: NDIS_OBJECT_HEADER, 4032 pub MediaConnectState: super::IpHelper::NET_IF_MEDIA_CONNECT_STATE, 4033 pub XmitLinkSpeed: u64, 4034 pub RcvLinkSpeed: u64, 4035 pub Direction: super::IpHelper::NET_IF_DIRECTION_TYPE, 4036 pub SendControlState: NDIS_PORT_CONTROL_STATE, 4037 pub RcvControlState: NDIS_PORT_CONTROL_STATE, 4038 pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, 4039 pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, 4040 pub Flags: u32, 4041 } 4042 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 4043 impl NDIS_PORT_STATE {} 4044 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 4045 impl ::std::default::Default for NDIS_PORT_STATE { default() -> Self4046 fn default() -> Self { 4047 unsafe { ::std::mem::zeroed() } 4048 } 4049 } 4050 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 4051 impl ::std::fmt::Debug for NDIS_PORT_STATE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4052 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4053 fmt.debug_struct("NDIS_PORT_STATE") 4054 .field("Header", &self.Header) 4055 .field("MediaConnectState", &self.MediaConnectState) 4056 .field("XmitLinkSpeed", &self.XmitLinkSpeed) 4057 .field("RcvLinkSpeed", &self.RcvLinkSpeed) 4058 .field("Direction", &self.Direction) 4059 .field("SendControlState", &self.SendControlState) 4060 .field("RcvControlState", &self.RcvControlState) 4061 .field("SendAuthorizationState", &self.SendAuthorizationState) 4062 .field("RcvAuthorizationState", &self.RcvAuthorizationState) 4063 .field("Flags", &self.Flags) 4064 .finish() 4065 } 4066 } 4067 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 4068 impl ::std::cmp::PartialEq for NDIS_PORT_STATE { eq(&self, other: &Self) -> bool4069 fn eq(&self, other: &Self) -> bool { 4070 self.Header == other.Header && self.MediaConnectState == other.MediaConnectState && self.XmitLinkSpeed == other.XmitLinkSpeed && self.RcvLinkSpeed == other.RcvLinkSpeed && self.Direction == other.Direction && self.SendControlState == other.SendControlState && self.RcvControlState == other.RcvControlState && self.SendAuthorizationState == other.SendAuthorizationState && self.RcvAuthorizationState == other.RcvAuthorizationState && self.Flags == other.Flags 4071 } 4072 } 4073 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 4074 impl ::std::cmp::Eq for NDIS_PORT_STATE {} 4075 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 4076 unsafe impl ::windows::runtime::Abi for NDIS_PORT_STATE { 4077 type Abi = Self; 4078 type DefaultType = Self; 4079 } 4080 pub const NDIS_PORT_STATE_REVISION_1: u32 = 1u32; 4081 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 4082 #[repr(transparent)] 4083 pub struct NDIS_PORT_TYPE(pub i32); 4084 pub const NdisPortTypeUndefined: NDIS_PORT_TYPE = NDIS_PORT_TYPE(0i32); 4085 pub const NdisPortTypeBridge: NDIS_PORT_TYPE = NDIS_PORT_TYPE(1i32); 4086 pub const NdisPortTypeRasConnection: NDIS_PORT_TYPE = NDIS_PORT_TYPE(2i32); 4087 pub const NdisPortType8021xSupplicant: NDIS_PORT_TYPE = NDIS_PORT_TYPE(3i32); 4088 pub const NdisPortTypeMax: NDIS_PORT_TYPE = NDIS_PORT_TYPE(4i32); 4089 impl ::std::convert::From<i32> for NDIS_PORT_TYPE { from(value: i32) -> Self4090 fn from(value: i32) -> Self { 4091 Self(value) 4092 } 4093 } 4094 unsafe impl ::windows::runtime::Abi for NDIS_PORT_TYPE { 4095 type Abi = Self; 4096 type DefaultType = Self; 4097 } 4098 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 4099 #[repr(transparent)] 4100 pub struct NDIS_PROCESSOR_VENDOR(pub i32); 4101 pub const NdisProcessorVendorUnknown: NDIS_PROCESSOR_VENDOR = NDIS_PROCESSOR_VENDOR(0i32); 4102 pub const NdisProcessorVendorGenuinIntel: NDIS_PROCESSOR_VENDOR = NDIS_PROCESSOR_VENDOR(1i32); 4103 pub const NdisProcessorVendorGenuineIntel: NDIS_PROCESSOR_VENDOR = NDIS_PROCESSOR_VENDOR(1i32); 4104 pub const NdisProcessorVendorAuthenticAMD: NDIS_PROCESSOR_VENDOR = NDIS_PROCESSOR_VENDOR(2i32); 4105 impl ::std::convert::From<i32> for NDIS_PROCESSOR_VENDOR { from(value: i32) -> Self4106 fn from(value: i32) -> Self { 4107 Self(value) 4108 } 4109 } 4110 unsafe impl ::windows::runtime::Abi for NDIS_PROCESSOR_VENDOR { 4111 type Abi = Self; 4112 type DefaultType = Self; 4113 } 4114 pub const NDIS_PROTOCOL_ID_DEFAULT: u32 = 0u32; 4115 pub const NDIS_PROTOCOL_ID_IP6: u32 = 3u32; 4116 pub const NDIS_PROTOCOL_ID_IPX: u32 = 6u32; 4117 pub const NDIS_PROTOCOL_ID_MASK: u32 = 15u32; 4118 pub const NDIS_PROTOCOL_ID_MAX: u32 = 15u32; 4119 pub const NDIS_PROTOCOL_ID_NBF: u32 = 7u32; 4120 pub const NDIS_PROTOCOL_ID_TCP_IP: u32 = 2u32; 4121 pub const NDIS_PROT_OPTION_ESTIMATED_LENGTH: u32 = 1u32; 4122 pub const NDIS_PROT_OPTION_NO_LOOPBACK: u32 = 2u32; 4123 pub const NDIS_PROT_OPTION_NO_RSVD_ON_RCVPKT: u32 = 4u32; 4124 pub const NDIS_PROT_OPTION_SEND_RESTRICTED: u32 = 8u32; 4125 pub const NDIS_QOS_ACTION_MAXIMUM: u32 = 1u32; 4126 pub const NDIS_QOS_ACTION_PRIORITY: u32 = 0u32; 4127 pub const NDIS_QOS_CAPABILITIES_CEE_DCBX_SUPPORTED: u32 = 4u32; 4128 pub const NDIS_QOS_CAPABILITIES_IEEE_DCBX_SUPPORTED: u32 = 8u32; 4129 pub const NDIS_QOS_CAPABILITIES_MACSEC_BYPASS_SUPPORTED: u32 = 2u32; 4130 pub const NDIS_QOS_CAPABILITIES_REVISION_1: u32 = 1u32; 4131 pub const NDIS_QOS_CAPABILITIES_STRICT_TSA_SUPPORTED: u32 = 1u32; 4132 pub const NDIS_QOS_CLASSIFICATION_ELEMENT_REVISION_1: u32 = 1u32; 4133 pub const NDIS_QOS_CLASSIFICATION_ENFORCED_BY_MINIPORT: u32 = 16777216u32; 4134 pub const NDIS_QOS_CLASSIFICATION_SET_BY_MINIPORT_MASK: u32 = 4278190080u32; 4135 pub const NDIS_QOS_CONDITION_DEFAULT: u32 = 1u32; 4136 pub const NDIS_QOS_CONDITION_ETHERTYPE: u32 = 5u32; 4137 pub const NDIS_QOS_CONDITION_MAXIMUM: u32 = 7u32; 4138 pub const NDIS_QOS_CONDITION_NETDIRECT_PORT: u32 = 6u32; 4139 pub const NDIS_QOS_CONDITION_RESERVED: u32 = 0u32; 4140 pub const NDIS_QOS_CONDITION_TCP_OR_UDP_PORT: u32 = 4u32; 4141 pub const NDIS_QOS_CONDITION_TCP_PORT: u32 = 2u32; 4142 pub const NDIS_QOS_CONDITION_UDP_PORT: u32 = 3u32; 4143 pub const NDIS_QOS_DEFAULT_SQ_ID: u32 = 0u32; 4144 pub const NDIS_QOS_MAXIMUM_PRIORITIES: u32 = 8u32; 4145 pub const NDIS_QOS_MAXIMUM_TRAFFIC_CLASSES: u32 = 8u32; 4146 pub const NDIS_QOS_OFFLOAD_CAPABILITIES_REVISION_1: u32 = 1u32; 4147 pub const NDIS_QOS_OFFLOAD_CAPABILITIES_REVISION_2: u32 = 2u32; 4148 pub const NDIS_QOS_OFFLOAD_CAPS_GFT_SQ: u32 = 2u32; 4149 pub const NDIS_QOS_OFFLOAD_CAPS_STANDARD_SQ: u32 = 1u32; 4150 pub const NDIS_QOS_PARAMETERS_CLASSIFICATION_CHANGED: u32 = 65536u32; 4151 pub const NDIS_QOS_PARAMETERS_CLASSIFICATION_CONFIGURED: u32 = 131072u32; 4152 pub const NDIS_QOS_PARAMETERS_ETS_CHANGED: u32 = 1u32; 4153 pub const NDIS_QOS_PARAMETERS_ETS_CONFIGURED: u32 = 2u32; 4154 pub const NDIS_QOS_PARAMETERS_PFC_CHANGED: u32 = 256u32; 4155 pub const NDIS_QOS_PARAMETERS_PFC_CONFIGURED: u32 = 512u32; 4156 pub const NDIS_QOS_PARAMETERS_REVISION_1: u32 = 1u32; 4157 pub const NDIS_QOS_PARAMETERS_WILLING: u32 = 2147483648u32; 4158 pub const NDIS_QOS_SQ_ARRAY_REVISION_1: u32 = 1u32; 4159 pub const NDIS_QOS_SQ_PARAMETERS_ARRAY_REVISION_1: u32 = 1u32; 4160 pub const NDIS_QOS_SQ_PARAMETERS_REVISION_1: u32 = 1u32; 4161 pub const NDIS_QOS_SQ_PARAMETERS_REVISION_2: u32 = 2u32; 4162 pub const NDIS_QOS_SQ_RECEIVE_CAP_ENABLED: u32 = 4u32; 4163 pub const NDIS_QOS_SQ_STATS_REVISION_1: u32 = 1u32; 4164 pub const NDIS_QOS_SQ_TRANSMIT_CAP_ENABLED: u32 = 1u32; 4165 pub const NDIS_QOS_SQ_TRANSMIT_RESERVATION_ENABLED: u32 = 2u32; 4166 pub const NDIS_QOS_TSA_CBS: u32 = 1u32; 4167 pub const NDIS_QOS_TSA_ETS: u32 = 2u32; 4168 pub const NDIS_QOS_TSA_MAXIMUM: u32 = 3u32; 4169 pub const NDIS_QOS_TSA_STRICT: u32 = 0u32; 4170 pub const NDIS_RECEIVE_FILTER_ANY_VLAN_SUPPORTED: u32 = 32u32; 4171 pub const NDIS_RECEIVE_FILTER_ARP_HEADER_OPERATION_SUPPORTED: u32 = 1u32; 4172 pub const NDIS_RECEIVE_FILTER_ARP_HEADER_SPA_SUPPORTED: u32 = 2u32; 4173 pub const NDIS_RECEIVE_FILTER_ARP_HEADER_SUPPORTED: u32 = 8u32; 4174 pub const NDIS_RECEIVE_FILTER_ARP_HEADER_TPA_SUPPORTED: u32 = 4u32; 4175 pub const NDIS_RECEIVE_FILTER_CAPABILITIES_REVISION_1: u32 = 1u32; 4176 pub const NDIS_RECEIVE_FILTER_CAPABILITIES_REVISION_2: u32 = 2u32; 4177 pub const NDIS_RECEIVE_FILTER_CLEAR_PARAMETERS_REVISION_1: u32 = 1u32; 4178 pub const NDIS_RECEIVE_FILTER_DYNAMIC_PROCESSOR_AFFINITY_CHANGE_FOR_DEFAULT_QUEUE_SUPPORTED: u32 = 64u32; 4179 pub const NDIS_RECEIVE_FILTER_DYNAMIC_PROCESSOR_AFFINITY_CHANGE_SUPPORTED: u32 = 8u32; 4180 pub const NDIS_RECEIVE_FILTER_FIELD_MAC_HEADER_VLAN_UNTAGGED_OR_ZERO: u32 = 1u32; 4181 pub const NDIS_RECEIVE_FILTER_FIELD_PARAMETERS_REVISION_1: u32 = 1u32; 4182 pub const NDIS_RECEIVE_FILTER_FIELD_PARAMETERS_REVISION_2: u32 = 2u32; 4183 pub const NDIS_RECEIVE_FILTER_FLAGS_RESERVED: u32 = 1u32; 4184 pub const NDIS_RECEIVE_FILTER_GLOBAL_PARAMETERS_REVISION_1: u32 = 1u32; 4185 pub const NDIS_RECEIVE_FILTER_IMPLAT_MIN_OF_QUEUES_MODE: u32 = 64u32; 4186 pub const NDIS_RECEIVE_FILTER_IMPLAT_SUM_OF_QUEUES_MODE: u32 = 128u32; 4187 pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_REVISION_1: u32 = 1u32; 4188 pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_REVISION_2: u32 = 2u32; 4189 pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_VPORT_ID_SPECIFIED: u32 = 1u32; 4190 pub const NDIS_RECEIVE_FILTER_INFO_REVISION_1: u32 = 1u32; 4191 pub const NDIS_RECEIVE_FILTER_INTERRUPT_VECTOR_COALESCING_SUPPORTED: u32 = 16u32; 4192 pub const NDIS_RECEIVE_FILTER_IPV4_HEADER_PROTOCOL_SUPPORTED: u32 = 1u32; 4193 pub const NDIS_RECEIVE_FILTER_IPV4_HEADER_SUPPORTED: u32 = 2u32; 4194 pub const NDIS_RECEIVE_FILTER_IPV6_HEADER_PROTOCOL_SUPPORTED: u32 = 1u32; 4195 pub const NDIS_RECEIVE_FILTER_IPV6_HEADER_SUPPORTED: u32 = 4u32; 4196 pub const NDIS_RECEIVE_FILTER_LOOKAHEAD_SPLIT_SUPPORTED: u32 = 4u32; 4197 pub const NDIS_RECEIVE_FILTER_MAC_HEADER_DEST_ADDR_SUPPORTED: u32 = 1u32; 4198 pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PACKET_TYPE_SUPPORTED: u32 = 32u32; 4199 pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PRIORITY_SUPPORTED: u32 = 16u32; 4200 pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PROTOCOL_SUPPORTED: u32 = 4u32; 4201 pub const NDIS_RECEIVE_FILTER_MAC_HEADER_SOURCE_ADDR_SUPPORTED: u32 = 2u32; 4202 pub const NDIS_RECEIVE_FILTER_MAC_HEADER_SUPPORTED: u32 = 1u32; 4203 pub const NDIS_RECEIVE_FILTER_MAC_HEADER_VLAN_ID_SUPPORTED: u32 = 8u32; 4204 pub const NDIS_RECEIVE_FILTER_MOVE_FILTER_PARAMETERS_REVISION_1: u32 = 1u32; 4205 pub const NDIS_RECEIVE_FILTER_MSI_X_SUPPORTED: u32 = 1u32; 4206 pub const NDIS_RECEIVE_FILTER_PACKET_COALESCING_FILTERS_ENABLED: u32 = 2u32; 4207 pub const NDIS_RECEIVE_FILTER_PACKET_COALESCING_SUPPORTED_ON_DEFAULT_QUEUE: u32 = 256u32; 4208 pub const NDIS_RECEIVE_FILTER_PACKET_ENCAPSULATION: u32 = 2u32; 4209 pub const NDIS_RECEIVE_FILTER_PACKET_ENCAPSULATION_GRE: u32 = 2u32; 4210 pub const NDIS_RECEIVE_FILTER_PARAMETERS_REVISION_1: u32 = 1u32; 4211 pub const NDIS_RECEIVE_FILTER_PARAMETERS_REVISION_2: u32 = 2u32; 4212 pub const NDIS_RECEIVE_FILTER_RESERVED: u32 = 254u32; 4213 pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_EQUAL_SUPPORTED: u32 = 1u32; 4214 pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_MASK_EQUAL_SUPPORTED: u32 = 2u32; 4215 pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_NOT_EQUAL_SUPPORTED: u32 = 4u32; 4216 pub const NDIS_RECEIVE_FILTER_UDP_HEADER_DEST_PORT_SUPPORTED: u32 = 1u32; 4217 pub const NDIS_RECEIVE_FILTER_UDP_HEADER_SUPPORTED: u32 = 16u32; 4218 pub const NDIS_RECEIVE_FILTER_VMQ_FILTERS_ENABLED: u32 = 1u32; 4219 pub const NDIS_RECEIVE_FILTER_VM_QUEUES_ENABLED: u32 = 1u32; 4220 pub const NDIS_RECEIVE_FILTER_VM_QUEUE_SUPPORTED: u32 = 2u32; 4221 pub const NDIS_RECEIVE_HASH_FLAG_ENABLE_HASH: u32 = 1u32; 4222 pub const NDIS_RECEIVE_HASH_FLAG_HASH_INFO_UNCHANGED: u32 = 2u32; 4223 pub const NDIS_RECEIVE_HASH_FLAG_HASH_KEY_UNCHANGED: u32 = 4u32; 4224 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4225 #[repr(C)] 4226 pub struct NDIS_RECEIVE_HASH_PARAMETERS { 4227 pub Header: NDIS_OBJECT_HEADER, 4228 pub Flags: u32, 4229 pub HashInformation: u32, 4230 pub HashSecretKeySize: u16, 4231 pub HashSecretKeyOffset: u32, 4232 } 4233 impl NDIS_RECEIVE_HASH_PARAMETERS {} 4234 impl ::std::default::Default for NDIS_RECEIVE_HASH_PARAMETERS { default() -> Self4235 fn default() -> Self { 4236 unsafe { ::std::mem::zeroed() } 4237 } 4238 } 4239 impl ::std::fmt::Debug for NDIS_RECEIVE_HASH_PARAMETERS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4240 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4241 fmt.debug_struct("NDIS_RECEIVE_HASH_PARAMETERS").field("Header", &self.Header).field("Flags", &self.Flags).field("HashInformation", &self.HashInformation).field("HashSecretKeySize", &self.HashSecretKeySize).field("HashSecretKeyOffset", &self.HashSecretKeyOffset).finish() 4242 } 4243 } 4244 impl ::std::cmp::PartialEq for NDIS_RECEIVE_HASH_PARAMETERS { eq(&self, other: &Self) -> bool4245 fn eq(&self, other: &Self) -> bool { 4246 self.Header == other.Header && self.Flags == other.Flags && self.HashInformation == other.HashInformation && self.HashSecretKeySize == other.HashSecretKeySize && self.HashSecretKeyOffset == other.HashSecretKeyOffset 4247 } 4248 } 4249 impl ::std::cmp::Eq for NDIS_RECEIVE_HASH_PARAMETERS {} 4250 unsafe impl ::windows::runtime::Abi for NDIS_RECEIVE_HASH_PARAMETERS { 4251 type Abi = Self; 4252 type DefaultType = Self; 4253 } 4254 pub const NDIS_RECEIVE_HASH_PARAMETERS_REVISION_1: u32 = 1u32; 4255 pub const NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_ARRAY_REVISION_1: u32 = 1u32; 4256 pub const NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; 4257 pub const NDIS_RECEIVE_QUEUE_FREE_PARAMETERS_REVISION_1: u32 = 1u32; 4258 pub const NDIS_RECEIVE_QUEUE_INFO_ARRAY_REVISION_1: u32 = 1u32; 4259 pub const NDIS_RECEIVE_QUEUE_INFO_REVISION_1: u32 = 1u32; 4260 pub const NDIS_RECEIVE_QUEUE_INFO_REVISION_2: u32 = 2u32; 4261 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_CHANGE_MASK: u32 = 4294901760u32; 4262 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_FLAGS_CHANGED: u32 = 65536u32; 4263 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_INTERRUPT_COALESCING_DOMAIN_ID_CHANGED: u32 = 1048576u32; 4264 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_LOOKAHEAD_SPLIT_REQUIRED: u32 = 2u32; 4265 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_NAME_CHANGED: u32 = 524288u32; 4266 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_PER_QUEUE_RECEIVE_INDICATION: u32 = 1u32; 4267 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_PROCESSOR_AFFINITY_CHANGED: u32 = 131072u32; 4268 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_QOS_SQ_ID_CHANGED: u32 = 2097152u32; 4269 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_1: u32 = 1u32; 4270 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_2: u32 = 2u32; 4271 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_3: u32 = 3u32; 4272 pub const NDIS_RECEIVE_QUEUE_PARAMETERS_SUGGESTED_RECV_BUFFER_NUMBERS_CHANGED: u32 = 262144u32; 4273 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4274 #[repr(C)] 4275 pub struct NDIS_RECEIVE_SCALE_CAPABILITIES { 4276 pub Header: NDIS_OBJECT_HEADER, 4277 pub CapabilitiesFlags: u32, 4278 pub NumberOfInterruptMessages: u32, 4279 pub NumberOfReceiveQueues: u32, 4280 } 4281 impl NDIS_RECEIVE_SCALE_CAPABILITIES {} 4282 impl ::std::default::Default for NDIS_RECEIVE_SCALE_CAPABILITIES { default() -> Self4283 fn default() -> Self { 4284 unsafe { ::std::mem::zeroed() } 4285 } 4286 } 4287 impl ::std::fmt::Debug for NDIS_RECEIVE_SCALE_CAPABILITIES { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4288 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4289 fmt.debug_struct("NDIS_RECEIVE_SCALE_CAPABILITIES").field("Header", &self.Header).field("CapabilitiesFlags", &self.CapabilitiesFlags).field("NumberOfInterruptMessages", &self.NumberOfInterruptMessages).field("NumberOfReceiveQueues", &self.NumberOfReceiveQueues).finish() 4290 } 4291 } 4292 impl ::std::cmp::PartialEq for NDIS_RECEIVE_SCALE_CAPABILITIES { eq(&self, other: &Self) -> bool4293 fn eq(&self, other: &Self) -> bool { 4294 self.Header == other.Header && self.CapabilitiesFlags == other.CapabilitiesFlags && self.NumberOfInterruptMessages == other.NumberOfInterruptMessages && self.NumberOfReceiveQueues == other.NumberOfReceiveQueues 4295 } 4296 } 4297 impl ::std::cmp::Eq for NDIS_RECEIVE_SCALE_CAPABILITIES {} 4298 unsafe impl ::windows::runtime::Abi for NDIS_RECEIVE_SCALE_CAPABILITIES { 4299 type Abi = Self; 4300 type DefaultType = Self; 4301 } 4302 pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_1: u32 = 1u32; 4303 pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_2: u32 = 2u32; 4304 pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_3: u32 = 3u32; 4305 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4306 #[repr(C)] 4307 pub struct NDIS_RECEIVE_SCALE_PARAMETERS { 4308 pub Header: NDIS_OBJECT_HEADER, 4309 pub Flags: u16, 4310 pub BaseCpuNumber: u16, 4311 pub HashInformation: u32, 4312 pub IndirectionTableSize: u16, 4313 pub IndirectionTableOffset: u32, 4314 pub HashSecretKeySize: u16, 4315 pub HashSecretKeyOffset: u32, 4316 } 4317 impl NDIS_RECEIVE_SCALE_PARAMETERS {} 4318 impl ::std::default::Default for NDIS_RECEIVE_SCALE_PARAMETERS { default() -> Self4319 fn default() -> Self { 4320 unsafe { ::std::mem::zeroed() } 4321 } 4322 } 4323 impl ::std::fmt::Debug for NDIS_RECEIVE_SCALE_PARAMETERS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4324 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4325 fmt.debug_struct("NDIS_RECEIVE_SCALE_PARAMETERS") 4326 .field("Header", &self.Header) 4327 .field("Flags", &self.Flags) 4328 .field("BaseCpuNumber", &self.BaseCpuNumber) 4329 .field("HashInformation", &self.HashInformation) 4330 .field("IndirectionTableSize", &self.IndirectionTableSize) 4331 .field("IndirectionTableOffset", &self.IndirectionTableOffset) 4332 .field("HashSecretKeySize", &self.HashSecretKeySize) 4333 .field("HashSecretKeyOffset", &self.HashSecretKeyOffset) 4334 .finish() 4335 } 4336 } 4337 impl ::std::cmp::PartialEq for NDIS_RECEIVE_SCALE_PARAMETERS { eq(&self, other: &Self) -> bool4338 fn eq(&self, other: &Self) -> bool { 4339 self.Header == other.Header && self.Flags == other.Flags && self.BaseCpuNumber == other.BaseCpuNumber && self.HashInformation == other.HashInformation && self.IndirectionTableSize == other.IndirectionTableSize && self.IndirectionTableOffset == other.IndirectionTableOffset && self.HashSecretKeySize == other.HashSecretKeySize && self.HashSecretKeyOffset == other.HashSecretKeyOffset 4340 } 4341 } 4342 impl ::std::cmp::Eq for NDIS_RECEIVE_SCALE_PARAMETERS {} 4343 unsafe impl ::windows::runtime::Abi for NDIS_RECEIVE_SCALE_PARAMETERS { 4344 type Abi = Self; 4345 type DefaultType = Self; 4346 } 4347 pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_1: u32 = 1u32; 4348 pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_2: u32 = 2u32; 4349 pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_3: u32 = 3u32; 4350 pub const NDIS_RECEIVE_SCALE_PARAMETERS_V2_REVISION_1: u32 = 1u32; 4351 pub const NDIS_RECEIVE_SCALE_PARAM_ENABLE_RSS: u32 = 1u32; 4352 pub const NDIS_RECEIVE_SCALE_PARAM_HASH_INFO_CHANGED: u32 = 2u32; 4353 pub const NDIS_RECEIVE_SCALE_PARAM_HASH_KEY_CHANGED: u32 = 4u32; 4354 pub const NDIS_RECEIVE_SCALE_PARAM_NUMBER_OF_ENTRIES_CHANGED: u32 = 16u32; 4355 pub const NDIS_RECEIVE_SCALE_PARAM_NUMBER_OF_QUEUES_CHANGED: u32 = 8u32; 4356 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 4357 #[repr(transparent)] 4358 pub struct NDIS_REQUEST_TYPE(pub i32); 4359 pub const NdisRequestQueryInformation: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(0i32); 4360 pub const NdisRequestSetInformation: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(1i32); 4361 pub const NdisRequestQueryStatistics: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(2i32); 4362 pub const NdisRequestOpen: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(3i32); 4363 pub const NdisRequestClose: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(4i32); 4364 pub const NdisRequestSend: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(5i32); 4365 pub const NdisRequestTransferData: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(6i32); 4366 pub const NdisRequestReset: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(7i32); 4367 pub const NdisRequestGeneric1: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(8i32); 4368 pub const NdisRequestGeneric2: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(9i32); 4369 pub const NdisRequestGeneric3: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(10i32); 4370 pub const NdisRequestGeneric4: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(11i32); 4371 impl ::std::convert::From<i32> for NDIS_REQUEST_TYPE { from(value: i32) -> Self4372 fn from(value: i32) -> Self { 4373 Self(value) 4374 } 4375 } 4376 unsafe impl ::windows::runtime::Abi for NDIS_REQUEST_TYPE { 4377 type Abi = Self; 4378 type DefaultType = Self; 4379 } 4380 pub const NDIS_RING_AUTO_REMOVAL_ERROR: u32 = 1024u32; 4381 pub const NDIS_RING_COUNTER_OVERFLOW: u32 = 256u32; 4382 pub const NDIS_RING_HARD_ERROR: u32 = 16384u32; 4383 pub const NDIS_RING_LOBE_WIRE_FAULT: u32 = 2048u32; 4384 pub const NDIS_RING_REMOVE_RECEIVED: u32 = 512u32; 4385 pub const NDIS_RING_RING_RECOVERY: u32 = 64u32; 4386 pub const NDIS_RING_SIGNAL_LOSS: u32 = 32768u32; 4387 pub const NDIS_RING_SINGLE_STATION: u32 = 128u32; 4388 pub const NDIS_RING_SOFT_ERROR: u32 = 8192u32; 4389 pub const NDIS_RING_TRANSMIT_BEACON: u32 = 4096u32; 4390 pub const NDIS_ROUTING_DOMAIN_ENTRY_REVISION_1: u32 = 1u32; 4391 pub const NDIS_ROUTING_DOMAIN_ISOLATION_ENTRY_REVISION_1: u32 = 1u32; 4392 pub const NDIS_RSC_STATISTICS_REVISION_1: u32 = 1u32; 4393 pub const NDIS_RSS_CAPS_CLASSIFICATION_AT_DPC: u32 = 67108864u32; 4394 pub const NDIS_RSS_CAPS_CLASSIFICATION_AT_ISR: u32 = 33554432u32; 4395 pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV4: u32 = 256u32; 4396 pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV6: u32 = 512u32; 4397 pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV6_EX: u32 = 1024u32; 4398 pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV4: u32 = 2048u32; 4399 pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV6: u32 = 4096u32; 4400 pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV6_EX: u32 = 8192u32; 4401 pub const NDIS_RSS_CAPS_MESSAGE_SIGNALED_INTERRUPTS: u32 = 16777216u32; 4402 pub const NDIS_RSS_CAPS_RSS_AVAILABLE_ON_PORTS: u32 = 268435456u32; 4403 pub const NDIS_RSS_CAPS_SUPPORTS_INDEPENDENT_ENTRY_MOVE: u32 = 1073741824u32; 4404 pub const NDIS_RSS_CAPS_SUPPORTS_MSI_X: u32 = 536870912u32; 4405 pub const NDIS_RSS_CAPS_USING_MSI_X: u32 = 134217728u32; 4406 pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_1: u32 = 40u32; 4407 pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_2: u32 = 40u32; 4408 pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_3: u32 = 40u32; 4409 pub const NDIS_RSS_HASH_SECRET_KEY_SIZE_REVISION_1: u32 = 40u32; 4410 pub const NDIS_RSS_INDIRECTION_TABLE_MAX_SIZE_REVISION_1: u32 = 128u32; 4411 pub const NDIS_RSS_INDIRECTION_TABLE_SIZE_REVISION_1: u32 = 128u32; 4412 pub const NDIS_RSS_PARAM_FLAG_BASE_CPU_UNCHANGED: u32 = 1u32; 4413 pub const NDIS_RSS_PARAM_FLAG_DEFAULT_PROCESSOR_UNCHANGED: u32 = 32u32; 4414 pub const NDIS_RSS_PARAM_FLAG_DISABLE_RSS: u32 = 16u32; 4415 pub const NDIS_RSS_PARAM_FLAG_HASH_INFO_UNCHANGED: u32 = 2u32; 4416 pub const NDIS_RSS_PARAM_FLAG_HASH_KEY_UNCHANGED: u32 = 8u32; 4417 pub const NDIS_RSS_PARAM_FLAG_ITABLE_UNCHANGED: u32 = 4u32; 4418 pub const NDIS_RSS_PROCESSOR_INFO_REVISION_1: u32 = 1u32; 4419 pub const NDIS_RSS_PROCESSOR_INFO_REVISION_2: u32 = 2u32; 4420 pub const NDIS_RSS_SET_INDIRECTION_ENTRIES_REVISION_1: u32 = 1u32; 4421 pub const NDIS_RSS_SET_INDIRECTION_ENTRY_FLAG_DEFAULT_PROCESSOR: u32 = 2u32; 4422 pub const NDIS_RSS_SET_INDIRECTION_ENTRY_FLAG_PRIMARY_PROCESSOR: u32 = 1u32; 4423 pub const NDIS_SIZEOF_NDIS_PM_PROTOCOL_OFFLOAD_REVISION_1: u32 = 240u32; 4424 pub const NDIS_SRIOV_BAR_RESOURCES_INFO_REVISION_1: u32 = 1u32; 4425 pub const NDIS_SRIOV_CAPABILITIES_REVISION_1: u32 = 1u32; 4426 pub const NDIS_SRIOV_CAPS_PF_MINIPORT: u32 = 2u32; 4427 pub const NDIS_SRIOV_CAPS_SRIOV_SUPPORTED: u32 = 1u32; 4428 pub const NDIS_SRIOV_CAPS_VF_MINIPORT: u32 = 4u32; 4429 pub const NDIS_SRIOV_CONFIG_STATE_PARAMETERS_REVISION_1: u32 = 1u32; 4430 pub const NDIS_SRIOV_OVERLYING_ADAPTER_INFO_VERSION_1: u32 = 1u32; 4431 pub const NDIS_SRIOV_PF_LUID_INFO_REVISION_1: u32 = 1u32; 4432 pub const NDIS_SRIOV_PROBED_BARS_INFO_REVISION_1: u32 = 1u32; 4433 pub const NDIS_SRIOV_READ_VF_CONFIG_BLOCK_PARAMETERS_REVISION_1: u32 = 1u32; 4434 pub const NDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS_REVISION_1: u32 = 1u32; 4435 pub const NDIS_SRIOV_RESET_VF_PARAMETERS_REVISION_1: u32 = 1u32; 4436 pub const NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS_REVISION_1: u32 = 1u32; 4437 pub const NDIS_SRIOV_VF_INVALIDATE_CONFIG_BLOCK_INFO_REVISION_1: u32 = 1u32; 4438 pub const NDIS_SRIOV_VF_SERIAL_NUMBER_INFO_REVISION_1: u32 = 1u32; 4439 pub const NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO_REVISION_1: u32 = 1u32; 4440 pub const NDIS_SRIOV_WRITE_VF_CONFIG_BLOCK_PARAMETERS_REVISION_1: u32 = 1u32; 4441 pub const NDIS_SRIOV_WRITE_VF_CONFIG_SPACE_PARAMETERS_REVISION_1: u32 = 1u32; 4442 pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_BYTES_RCV: u32 = 262144u32; 4443 pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_BYTES_XMIT: u32 = 2097152u32; 4444 pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_FRAMES_RCV: u32 = 4u32; 4445 pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_FRAMES_XMIT: u32 = 256u32; 4446 pub const NDIS_STATISTICS_FLAGS_VALID_BYTES_RCV: u32 = 8u32; 4447 pub const NDIS_STATISTICS_FLAGS_VALID_BYTES_XMIT: u32 = 512u32; 4448 pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_BYTES_RCV: u32 = 65536u32; 4449 pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_BYTES_XMIT: u32 = 524288u32; 4450 pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_FRAMES_RCV: u32 = 1u32; 4451 pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_FRAMES_XMIT: u32 = 64u32; 4452 pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_BYTES_RCV: u32 = 131072u32; 4453 pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_BYTES_XMIT: u32 = 1048576u32; 4454 pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_FRAMES_RCV: u32 = 2u32; 4455 pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_FRAMES_XMIT: u32 = 128u32; 4456 pub const NDIS_STATISTICS_FLAGS_VALID_RCV_DISCARDS: u32 = 16u32; 4457 pub const NDIS_STATISTICS_FLAGS_VALID_RCV_ERROR: u32 = 32u32; 4458 pub const NDIS_STATISTICS_FLAGS_VALID_XMIT_DISCARDS: u32 = 32768u32; 4459 pub const NDIS_STATISTICS_FLAGS_VALID_XMIT_ERROR: u32 = 1024u32; 4460 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4461 #[repr(C)] 4462 pub struct NDIS_STATISTICS_INFO { 4463 pub Header: NDIS_OBJECT_HEADER, 4464 pub SupportedStatistics: u32, 4465 pub ifInDiscards: u64, 4466 pub ifInErrors: u64, 4467 pub ifHCInOctets: u64, 4468 pub ifHCInUcastPkts: u64, 4469 pub ifHCInMulticastPkts: u64, 4470 pub ifHCInBroadcastPkts: u64, 4471 pub ifHCOutOctets: u64, 4472 pub ifHCOutUcastPkts: u64, 4473 pub ifHCOutMulticastPkts: u64, 4474 pub ifHCOutBroadcastPkts: u64, 4475 pub ifOutErrors: u64, 4476 pub ifOutDiscards: u64, 4477 pub ifHCInUcastOctets: u64, 4478 pub ifHCInMulticastOctets: u64, 4479 pub ifHCInBroadcastOctets: u64, 4480 pub ifHCOutUcastOctets: u64, 4481 pub ifHCOutMulticastOctets: u64, 4482 pub ifHCOutBroadcastOctets: u64, 4483 } 4484 impl NDIS_STATISTICS_INFO {} 4485 impl ::std::default::Default for NDIS_STATISTICS_INFO { default() -> Self4486 fn default() -> Self { 4487 unsafe { ::std::mem::zeroed() } 4488 } 4489 } 4490 impl ::std::fmt::Debug for NDIS_STATISTICS_INFO { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4491 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4492 fmt.debug_struct("NDIS_STATISTICS_INFO") 4493 .field("Header", &self.Header) 4494 .field("SupportedStatistics", &self.SupportedStatistics) 4495 .field("ifInDiscards", &self.ifInDiscards) 4496 .field("ifInErrors", &self.ifInErrors) 4497 .field("ifHCInOctets", &self.ifHCInOctets) 4498 .field("ifHCInUcastPkts", &self.ifHCInUcastPkts) 4499 .field("ifHCInMulticastPkts", &self.ifHCInMulticastPkts) 4500 .field("ifHCInBroadcastPkts", &self.ifHCInBroadcastPkts) 4501 .field("ifHCOutOctets", &self.ifHCOutOctets) 4502 .field("ifHCOutUcastPkts", &self.ifHCOutUcastPkts) 4503 .field("ifHCOutMulticastPkts", &self.ifHCOutMulticastPkts) 4504 .field("ifHCOutBroadcastPkts", &self.ifHCOutBroadcastPkts) 4505 .field("ifOutErrors", &self.ifOutErrors) 4506 .field("ifOutDiscards", &self.ifOutDiscards) 4507 .field("ifHCInUcastOctets", &self.ifHCInUcastOctets) 4508 .field("ifHCInMulticastOctets", &self.ifHCInMulticastOctets) 4509 .field("ifHCInBroadcastOctets", &self.ifHCInBroadcastOctets) 4510 .field("ifHCOutUcastOctets", &self.ifHCOutUcastOctets) 4511 .field("ifHCOutMulticastOctets", &self.ifHCOutMulticastOctets) 4512 .field("ifHCOutBroadcastOctets", &self.ifHCOutBroadcastOctets) 4513 .finish() 4514 } 4515 } 4516 impl ::std::cmp::PartialEq for NDIS_STATISTICS_INFO { eq(&self, other: &Self) -> bool4517 fn eq(&self, other: &Self) -> bool { 4518 self.Header == other.Header 4519 && self.SupportedStatistics == other.SupportedStatistics 4520 && self.ifInDiscards == other.ifInDiscards 4521 && self.ifInErrors == other.ifInErrors 4522 && self.ifHCInOctets == other.ifHCInOctets 4523 && self.ifHCInUcastPkts == other.ifHCInUcastPkts 4524 && self.ifHCInMulticastPkts == other.ifHCInMulticastPkts 4525 && self.ifHCInBroadcastPkts == other.ifHCInBroadcastPkts 4526 && self.ifHCOutOctets == other.ifHCOutOctets 4527 && self.ifHCOutUcastPkts == other.ifHCOutUcastPkts 4528 && self.ifHCOutMulticastPkts == other.ifHCOutMulticastPkts 4529 && self.ifHCOutBroadcastPkts == other.ifHCOutBroadcastPkts 4530 && self.ifOutErrors == other.ifOutErrors 4531 && self.ifOutDiscards == other.ifOutDiscards 4532 && self.ifHCInUcastOctets == other.ifHCInUcastOctets 4533 && self.ifHCInMulticastOctets == other.ifHCInMulticastOctets 4534 && self.ifHCInBroadcastOctets == other.ifHCInBroadcastOctets 4535 && self.ifHCOutUcastOctets == other.ifHCOutUcastOctets 4536 && self.ifHCOutMulticastOctets == other.ifHCOutMulticastOctets 4537 && self.ifHCOutBroadcastOctets == other.ifHCOutBroadcastOctets 4538 } 4539 } 4540 impl ::std::cmp::Eq for NDIS_STATISTICS_INFO {} 4541 unsafe impl ::windows::runtime::Abi for NDIS_STATISTICS_INFO { 4542 type Abi = Self; 4543 type DefaultType = Self; 4544 } 4545 pub const NDIS_STATISTICS_INFO_REVISION_1: u32 = 1u32; 4546 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4547 #[repr(C)] 4548 pub struct NDIS_STATISTICS_VALUE { 4549 pub Oid: u32, 4550 pub DataLength: u32, 4551 pub Data: [u8; 1], 4552 } 4553 impl NDIS_STATISTICS_VALUE {} 4554 impl ::std::default::Default for NDIS_STATISTICS_VALUE { default() -> Self4555 fn default() -> Self { 4556 unsafe { ::std::mem::zeroed() } 4557 } 4558 } 4559 impl ::std::fmt::Debug for NDIS_STATISTICS_VALUE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4560 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4561 fmt.debug_struct("NDIS_STATISTICS_VALUE").field("Oid", &self.Oid).field("DataLength", &self.DataLength).field("Data", &self.Data).finish() 4562 } 4563 } 4564 impl ::std::cmp::PartialEq for NDIS_STATISTICS_VALUE { eq(&self, other: &Self) -> bool4565 fn eq(&self, other: &Self) -> bool { 4566 self.Oid == other.Oid && self.DataLength == other.DataLength && self.Data == other.Data 4567 } 4568 } 4569 impl ::std::cmp::Eq for NDIS_STATISTICS_VALUE {} 4570 unsafe impl ::windows::runtime::Abi for NDIS_STATISTICS_VALUE { 4571 type Abi = Self; 4572 type DefaultType = Self; 4573 } 4574 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4575 #[repr(C)] 4576 pub struct NDIS_STATISTICS_VALUE_EX { 4577 pub Oid: u32, 4578 pub DataLength: u32, 4579 pub Length: u32, 4580 pub Data: [u8; 1], 4581 } 4582 impl NDIS_STATISTICS_VALUE_EX {} 4583 impl ::std::default::Default for NDIS_STATISTICS_VALUE_EX { default() -> Self4584 fn default() -> Self { 4585 unsafe { ::std::mem::zeroed() } 4586 } 4587 } 4588 impl ::std::fmt::Debug for NDIS_STATISTICS_VALUE_EX { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4589 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4590 fmt.debug_struct("NDIS_STATISTICS_VALUE_EX").field("Oid", &self.Oid).field("DataLength", &self.DataLength).field("Length", &self.Length).field("Data", &self.Data).finish() 4591 } 4592 } 4593 impl ::std::cmp::PartialEq for NDIS_STATISTICS_VALUE_EX { eq(&self, other: &Self) -> bool4594 fn eq(&self, other: &Self) -> bool { 4595 self.Oid == other.Oid && self.DataLength == other.DataLength && self.Length == other.Length && self.Data == other.Data 4596 } 4597 } 4598 impl ::std::cmp::Eq for NDIS_STATISTICS_VALUE_EX {} 4599 unsafe impl ::windows::runtime::Abi for NDIS_STATISTICS_VALUE_EX { 4600 type Abi = Self; 4601 type DefaultType = Self; 4602 } 4603 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 4604 #[repr(transparent)] 4605 pub struct NDIS_SUPPORTED_PAUSE_FUNCTIONS(pub i32); 4606 pub const NdisPauseFunctionsUnsupported: NDIS_SUPPORTED_PAUSE_FUNCTIONS = NDIS_SUPPORTED_PAUSE_FUNCTIONS(0i32); 4607 pub const NdisPauseFunctionsSendOnly: NDIS_SUPPORTED_PAUSE_FUNCTIONS = NDIS_SUPPORTED_PAUSE_FUNCTIONS(1i32); 4608 pub const NdisPauseFunctionsReceiveOnly: NDIS_SUPPORTED_PAUSE_FUNCTIONS = NDIS_SUPPORTED_PAUSE_FUNCTIONS(2i32); 4609 pub const NdisPauseFunctionsSendAndReceive: NDIS_SUPPORTED_PAUSE_FUNCTIONS = NDIS_SUPPORTED_PAUSE_FUNCTIONS(3i32); 4610 pub const NdisPauseFunctionsUnknown: NDIS_SUPPORTED_PAUSE_FUNCTIONS = NDIS_SUPPORTED_PAUSE_FUNCTIONS(4i32); 4611 impl ::std::convert::From<i32> for NDIS_SUPPORTED_PAUSE_FUNCTIONS { from(value: i32) -> Self4612 fn from(value: i32) -> Self { 4613 Self(value) 4614 } 4615 } 4616 unsafe impl ::windows::runtime::Abi for NDIS_SUPPORTED_PAUSE_FUNCTIONS { 4617 type Abi = Self; 4618 type DefaultType = Self; 4619 } 4620 pub const NDIS_SUPPORT_NDIS6: u32 = 1u32; 4621 pub const NDIS_SUPPORT_NDIS61: u32 = 1u32; 4622 pub const NDIS_SUPPORT_NDIS620: u32 = 1u32; 4623 pub const NDIS_SUPPORT_NDIS630: u32 = 1u32; 4624 pub const NDIS_SUPPORT_NDIS640: u32 = 1u32; 4625 pub const NDIS_SUPPORT_NDIS650: u32 = 1u32; 4626 pub const NDIS_SUPPORT_NDIS651: u32 = 1u32; 4627 pub const NDIS_SUPPORT_NDIS660: u32 = 1u32; 4628 pub const NDIS_SUPPORT_NDIS670: u32 = 1u32; 4629 pub const NDIS_SUPPORT_NDIS680: u32 = 1u32; 4630 pub const NDIS_SUPPORT_NDIS681: u32 = 1u32; 4631 pub const NDIS_SUPPORT_NDIS682: u32 = 1u32; 4632 pub const NDIS_SUPPORT_NDIS683: u32 = 1u32; 4633 pub const NDIS_SUPPORT_NDIS684: u32 = 1u32; 4634 pub const NDIS_SUPPORT_NDIS685: u32 = 1u32; 4635 pub const NDIS_SUPPORT_NDIS686: u32 = 1u32; 4636 pub const NDIS_SWITCH_FEATURE_STATUS_CUSTOM_REVISION_1: u32 = 1u32; 4637 pub const NDIS_SWITCH_FEATURE_STATUS_PARAMETERS_REVISION_1: u32 = 1u32; 4638 pub const NDIS_SWITCH_NIC_ARRAY_REVISION_1: u32 = 1u32; 4639 pub const NDIS_SWITCH_NIC_FLAGS_MAPPED_NIC_UPDATED: u32 = 4u32; 4640 pub const NDIS_SWITCH_NIC_FLAGS_NIC_INITIALIZING: u32 = 1u32; 4641 pub const NDIS_SWITCH_NIC_FLAGS_NIC_SUSPENDED: u32 = 2u32; 4642 pub const NDIS_SWITCH_NIC_FLAGS_NIC_SUSPENDED_LM: u32 = 16u32; 4643 pub const NDIS_SWITCH_NIC_OID_REQUEST_REVISION_1: u32 = 1u32; 4644 pub const NDIS_SWITCH_NIC_PARAMETERS_REVISION_1: u32 = 1u32; 4645 pub const NDIS_SWITCH_NIC_PARAMETERS_REVISION_2: u32 = 2u32; 4646 pub const NDIS_SWITCH_NIC_SAVE_STATE_REVISION_1: u32 = 1u32; 4647 pub const NDIS_SWITCH_NIC_SAVE_STATE_REVISION_2: u32 = 2u32; 4648 pub const NDIS_SWITCH_OBJECT_SERIALIZATION_VERSION_1: u32 = 1u32; 4649 pub const NDIS_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; 4650 pub const NDIS_SWITCH_PORT_ARRAY_REVISION_1: u32 = 1u32; 4651 pub const NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM_REVISION_1: u32 = 1u32; 4652 pub const NDIS_SWITCH_PORT_FEATURE_STATUS_PARAMETERS_REVISION_1: u32 = 1u32; 4653 pub const NDIS_SWITCH_PORT_PARAMETERS_FLAG_RESTORING_PORT: u32 = 2u32; 4654 pub const NDIS_SWITCH_PORT_PARAMETERS_FLAG_UNTRUSTED_INTERNAL_PORT: u32 = 1u32; 4655 pub const NDIS_SWITCH_PORT_PARAMETERS_REVISION_1: u32 = 1u32; 4656 pub const NDIS_SWITCH_PORT_PROPERTY_CUSTOM_REVISION_1: u32 = 1u32; 4657 pub const NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS_REVISION_1: u32 = 1u32; 4658 pub const NDIS_SWITCH_PORT_PROPERTY_ENUM_INFO_REVISION_1: u32 = 1u32; 4659 pub const NDIS_SWITCH_PORT_PROPERTY_ENUM_PARAMETERS_REVISION_1: u32 = 1u32; 4660 pub const NDIS_SWITCH_PORT_PROPERTY_ISOLATION_REVISION_1: u32 = 1u32; 4661 pub const NDIS_SWITCH_PORT_PROPERTY_PARAMETERS_REVISION_1: u32 = 1u32; 4662 pub const NDIS_SWITCH_PORT_PROPERTY_PROFILE_REVISION_1: u32 = 1u32; 4663 pub const NDIS_SWITCH_PORT_PROPERTY_ROUTING_DOMAIN_REVISION_1: u32 = 1u32; 4664 pub const NDIS_SWITCH_PORT_PROPERTY_SECURITY_REVISION_1: u32 = 1u32; 4665 pub const NDIS_SWITCH_PORT_PROPERTY_SECURITY_REVISION_2: u32 = 2u32; 4666 pub const NDIS_SWITCH_PORT_PROPERTY_VLAN_REVISION_1: u32 = 1u32; 4667 pub const NDIS_SWITCH_PROPERTY_CUSTOM_REVISION_1: u32 = 1u32; 4668 pub const NDIS_SWITCH_PROPERTY_DELETE_PARAMETERS_REVISION_1: u32 = 1u32; 4669 pub const NDIS_SWITCH_PROPERTY_ENUM_INFO_REVISION_1: u32 = 1u32; 4670 pub const NDIS_SWITCH_PROPERTY_ENUM_PARAMETERS_REVISION_1: u32 = 1u32; 4671 pub const NDIS_SWITCH_PROPERTY_PARAMETERS_REVISION_1: u32 = 1u32; 4672 pub const NDIS_SYSTEM_PROCESSOR_INFO_EX_REVISION_1: u32 = 1u32; 4673 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4674 #[repr(C)] 4675 pub struct NDIS_TCP_CONNECTION_OFFLOAD { 4676 pub Header: NDIS_OBJECT_HEADER, 4677 pub Encapsulation: u32, 4678 pub _bitfield: u32, 4679 pub TcpConnectionOffloadCapacity: u32, 4680 pub Flags: u32, 4681 } 4682 impl NDIS_TCP_CONNECTION_OFFLOAD {} 4683 impl ::std::default::Default for NDIS_TCP_CONNECTION_OFFLOAD { default() -> Self4684 fn default() -> Self { 4685 unsafe { ::std::mem::zeroed() } 4686 } 4687 } 4688 impl ::std::fmt::Debug for NDIS_TCP_CONNECTION_OFFLOAD { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4689 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4690 fmt.debug_struct("NDIS_TCP_CONNECTION_OFFLOAD").field("Header", &self.Header).field("Encapsulation", &self.Encapsulation).field("_bitfield", &self._bitfield).field("TcpConnectionOffloadCapacity", &self.TcpConnectionOffloadCapacity).field("Flags", &self.Flags).finish() 4691 } 4692 } 4693 impl ::std::cmp::PartialEq for NDIS_TCP_CONNECTION_OFFLOAD { eq(&self, other: &Self) -> bool4694 fn eq(&self, other: &Self) -> bool { 4695 self.Header == other.Header && self.Encapsulation == other.Encapsulation && self._bitfield == other._bitfield && self.TcpConnectionOffloadCapacity == other.TcpConnectionOffloadCapacity && self.Flags == other.Flags 4696 } 4697 } 4698 impl ::std::cmp::Eq for NDIS_TCP_CONNECTION_OFFLOAD {} 4699 unsafe impl ::windows::runtime::Abi for NDIS_TCP_CONNECTION_OFFLOAD { 4700 type Abi = Self; 4701 type DefaultType = Self; 4702 } 4703 pub const NDIS_TCP_CONNECTION_OFFLOAD_REVISION_1: u32 = 1u32; 4704 pub const NDIS_TCP_CONNECTION_OFFLOAD_REVISION_2: u32 = 2u32; 4705 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4706 #[repr(C)] 4707 pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD { 4708 pub IPv4Transmit: NDIS_TCP_IP_CHECKSUM_OFFLOAD_1, 4709 pub IPv4Receive: NDIS_TCP_IP_CHECKSUM_OFFLOAD_0, 4710 pub IPv6Transmit: NDIS_TCP_IP_CHECKSUM_OFFLOAD_3, 4711 pub IPv6Receive: NDIS_TCP_IP_CHECKSUM_OFFLOAD_2, 4712 } 4713 impl NDIS_TCP_IP_CHECKSUM_OFFLOAD {} 4714 impl ::std::default::Default for NDIS_TCP_IP_CHECKSUM_OFFLOAD { default() -> Self4715 fn default() -> Self { 4716 unsafe { ::std::mem::zeroed() } 4717 } 4718 } 4719 impl ::std::fmt::Debug for NDIS_TCP_IP_CHECKSUM_OFFLOAD { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4720 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4721 fmt.debug_struct("NDIS_TCP_IP_CHECKSUM_OFFLOAD").field("IPv4Transmit", &self.IPv4Transmit).field("IPv4Receive", &self.IPv4Receive).field("IPv6Transmit", &self.IPv6Transmit).field("IPv6Receive", &self.IPv6Receive).finish() 4722 } 4723 } 4724 impl ::std::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_OFFLOAD { eq(&self, other: &Self) -> bool4725 fn eq(&self, other: &Self) -> bool { 4726 self.IPv4Transmit == other.IPv4Transmit && self.IPv4Receive == other.IPv4Receive && self.IPv6Transmit == other.IPv6Transmit && self.IPv6Receive == other.IPv6Receive 4727 } 4728 } 4729 impl ::std::cmp::Eq for NDIS_TCP_IP_CHECKSUM_OFFLOAD {} 4730 unsafe impl ::windows::runtime::Abi for NDIS_TCP_IP_CHECKSUM_OFFLOAD { 4731 type Abi = Self; 4732 type DefaultType = Self; 4733 } 4734 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4735 #[repr(C)] 4736 pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { 4737 pub Encapsulation: u32, 4738 pub _bitfield: u32, 4739 } 4740 impl NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 {} 4741 impl ::std::default::Default for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { default() -> Self4742 fn default() -> Self { 4743 unsafe { ::std::mem::zeroed() } 4744 } 4745 } 4746 impl ::std::fmt::Debug for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4747 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4748 fmt.debug_struct("_IPv4Receive_e__Struct").field("Encapsulation", &self.Encapsulation).field("_bitfield", &self._bitfield).finish() 4749 } 4750 } 4751 impl ::std::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { eq(&self, other: &Self) -> bool4752 fn eq(&self, other: &Self) -> bool { 4753 self.Encapsulation == other.Encapsulation && self._bitfield == other._bitfield 4754 } 4755 } 4756 impl ::std::cmp::Eq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 {} 4757 unsafe impl ::windows::runtime::Abi for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { 4758 type Abi = Self; 4759 type DefaultType = Self; 4760 } 4761 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4762 #[repr(C)] 4763 pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { 4764 pub Encapsulation: u32, 4765 pub _bitfield: u32, 4766 } 4767 impl NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 {} 4768 impl ::std::default::Default for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { default() -> Self4769 fn default() -> Self { 4770 unsafe { ::std::mem::zeroed() } 4771 } 4772 } 4773 impl ::std::fmt::Debug for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4774 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4775 fmt.debug_struct("_IPv4Transmit_e__Struct").field("Encapsulation", &self.Encapsulation).field("_bitfield", &self._bitfield).finish() 4776 } 4777 } 4778 impl ::std::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { eq(&self, other: &Self) -> bool4779 fn eq(&self, other: &Self) -> bool { 4780 self.Encapsulation == other.Encapsulation && self._bitfield == other._bitfield 4781 } 4782 } 4783 impl ::std::cmp::Eq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 {} 4784 unsafe impl ::windows::runtime::Abi for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { 4785 type Abi = Self; 4786 type DefaultType = Self; 4787 } 4788 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4789 #[repr(C)] 4790 pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { 4791 pub Encapsulation: u32, 4792 pub _bitfield: u32, 4793 } 4794 impl NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 {} 4795 impl ::std::default::Default for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { default() -> Self4796 fn default() -> Self { 4797 unsafe { ::std::mem::zeroed() } 4798 } 4799 } 4800 impl ::std::fmt::Debug for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4801 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4802 fmt.debug_struct("_IPv6Receive_e__Struct").field("Encapsulation", &self.Encapsulation).field("_bitfield", &self._bitfield).finish() 4803 } 4804 } 4805 impl ::std::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { eq(&self, other: &Self) -> bool4806 fn eq(&self, other: &Self) -> bool { 4807 self.Encapsulation == other.Encapsulation && self._bitfield == other._bitfield 4808 } 4809 } 4810 impl ::std::cmp::Eq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 {} 4811 unsafe impl ::windows::runtime::Abi for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { 4812 type Abi = Self; 4813 type DefaultType = Self; 4814 } 4815 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4816 #[repr(C)] 4817 pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { 4818 pub Encapsulation: u32, 4819 pub _bitfield: u32, 4820 } 4821 impl NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 {} 4822 impl ::std::default::Default for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { default() -> Self4823 fn default() -> Self { 4824 unsafe { ::std::mem::zeroed() } 4825 } 4826 } 4827 impl ::std::fmt::Debug for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4828 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4829 fmt.debug_struct("_IPv6Transmit_e__Struct").field("Encapsulation", &self.Encapsulation).field("_bitfield", &self._bitfield).finish() 4830 } 4831 } 4832 impl ::std::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { eq(&self, other: &Self) -> bool4833 fn eq(&self, other: &Self) -> bool { 4834 self.Encapsulation == other.Encapsulation && self._bitfield == other._bitfield 4835 } 4836 } 4837 impl ::std::cmp::Eq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 {} 4838 unsafe impl ::windows::runtime::Abi for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { 4839 type Abi = Self; 4840 type DefaultType = Self; 4841 } 4842 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4843 #[repr(C)] 4844 pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { 4845 pub IPv4: NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0, 4846 } 4847 impl NDIS_TCP_LARGE_SEND_OFFLOAD_V1 {} 4848 impl ::std::default::Default for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { default() -> Self4849 fn default() -> Self { 4850 unsafe { ::std::mem::zeroed() } 4851 } 4852 } 4853 impl ::std::fmt::Debug for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4854 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4855 fmt.debug_struct("NDIS_TCP_LARGE_SEND_OFFLOAD_V1").field("IPv4", &self.IPv4).finish() 4856 } 4857 } 4858 impl ::std::cmp::PartialEq for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { eq(&self, other: &Self) -> bool4859 fn eq(&self, other: &Self) -> bool { 4860 self.IPv4 == other.IPv4 4861 } 4862 } 4863 impl ::std::cmp::Eq for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 {} 4864 unsafe impl ::windows::runtime::Abi for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { 4865 type Abi = Self; 4866 type DefaultType = Self; 4867 } 4868 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4869 #[repr(C)] 4870 pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { 4871 pub Encapsulation: u32, 4872 pub MaxOffLoadSize: u32, 4873 pub MinSegmentCount: u32, 4874 pub _bitfield: u32, 4875 } 4876 impl NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 {} 4877 impl ::std::default::Default for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { default() -> Self4878 fn default() -> Self { 4879 unsafe { ::std::mem::zeroed() } 4880 } 4881 } 4882 impl ::std::fmt::Debug for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4883 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4884 fmt.debug_struct("_IPv4_e__Struct").field("Encapsulation", &self.Encapsulation).field("MaxOffLoadSize", &self.MaxOffLoadSize).field("MinSegmentCount", &self.MinSegmentCount).field("_bitfield", &self._bitfield).finish() 4885 } 4886 } 4887 impl ::std::cmp::PartialEq for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { eq(&self, other: &Self) -> bool4888 fn eq(&self, other: &Self) -> bool { 4889 self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount && self._bitfield == other._bitfield 4890 } 4891 } 4892 impl ::std::cmp::Eq for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 {} 4893 unsafe impl ::windows::runtime::Abi for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { 4894 type Abi = Self; 4895 type DefaultType = Self; 4896 } 4897 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4898 #[repr(C)] 4899 pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { 4900 pub IPv4: NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0, 4901 pub IPv6: NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1, 4902 } 4903 impl NDIS_TCP_LARGE_SEND_OFFLOAD_V2 {} 4904 impl ::std::default::Default for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { default() -> Self4905 fn default() -> Self { 4906 unsafe { ::std::mem::zeroed() } 4907 } 4908 } 4909 impl ::std::fmt::Debug for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4910 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4911 fmt.debug_struct("NDIS_TCP_LARGE_SEND_OFFLOAD_V2").field("IPv4", &self.IPv4).field("IPv6", &self.IPv6).finish() 4912 } 4913 } 4914 impl ::std::cmp::PartialEq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { eq(&self, other: &Self) -> bool4915 fn eq(&self, other: &Self) -> bool { 4916 self.IPv4 == other.IPv4 && self.IPv6 == other.IPv6 4917 } 4918 } 4919 impl ::std::cmp::Eq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 {} 4920 unsafe impl ::windows::runtime::Abi for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { 4921 type Abi = Self; 4922 type DefaultType = Self; 4923 } 4924 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4925 #[repr(C)] 4926 pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { 4927 pub Encapsulation: u32, 4928 pub MaxOffLoadSize: u32, 4929 pub MinSegmentCount: u32, 4930 } 4931 impl NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 {} 4932 impl ::std::default::Default for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { default() -> Self4933 fn default() -> Self { 4934 unsafe { ::std::mem::zeroed() } 4935 } 4936 } 4937 impl ::std::fmt::Debug for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4938 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4939 fmt.debug_struct("_IPv4_e__Struct").field("Encapsulation", &self.Encapsulation).field("MaxOffLoadSize", &self.MaxOffLoadSize).field("MinSegmentCount", &self.MinSegmentCount).finish() 4940 } 4941 } 4942 impl ::std::cmp::PartialEq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { eq(&self, other: &Self) -> bool4943 fn eq(&self, other: &Self) -> bool { 4944 self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount 4945 } 4946 } 4947 impl ::std::cmp::Eq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 {} 4948 unsafe impl ::windows::runtime::Abi for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { 4949 type Abi = Self; 4950 type DefaultType = Self; 4951 } 4952 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4953 #[repr(C)] 4954 pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { 4955 pub Encapsulation: u32, 4956 pub MaxOffLoadSize: u32, 4957 pub MinSegmentCount: u32, 4958 pub _bitfield: u32, 4959 } 4960 impl NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 {} 4961 impl ::std::default::Default for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { default() -> Self4962 fn default() -> Self { 4963 unsafe { ::std::mem::zeroed() } 4964 } 4965 } 4966 impl ::std::fmt::Debug for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4967 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4968 fmt.debug_struct("_IPv6_e__Struct").field("Encapsulation", &self.Encapsulation).field("MaxOffLoadSize", &self.MaxOffLoadSize).field("MinSegmentCount", &self.MinSegmentCount).field("_bitfield", &self._bitfield).finish() 4969 } 4970 } 4971 impl ::std::cmp::PartialEq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { eq(&self, other: &Self) -> bool4972 fn eq(&self, other: &Self) -> bool { 4973 self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount && self._bitfield == other._bitfield 4974 } 4975 } 4976 impl ::std::cmp::Eq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 {} 4977 unsafe impl ::windows::runtime::Abi for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { 4978 type Abi = Self; 4979 type DefaultType = Self; 4980 } 4981 pub const NDIS_TCP_RECV_SEG_COALESC_OFFLOAD_REVISION_1: u32 = 1u32; 4982 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 4983 #[repr(C)] 4984 pub struct NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { 4985 pub Header: NDIS_OBJECT_HEADER, 4986 pub Flags: u32, 4987 pub TimeoutArrayLength: u32, 4988 pub TimeoutArray: [u32; 1], 4989 } 4990 impl NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES {} 4991 impl ::std::default::Default for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { default() -> Self4992 fn default() -> Self { 4993 unsafe { ::std::mem::zeroed() } 4994 } 4995 } 4996 impl ::std::fmt::Debug for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4997 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 4998 fmt.debug_struct("NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES").field("Header", &self.Header).field("Flags", &self.Flags).field("TimeoutArrayLength", &self.TimeoutArrayLength).field("TimeoutArray", &self.TimeoutArray).finish() 4999 } 5000 } 5001 impl ::std::cmp::PartialEq for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { eq(&self, other: &Self) -> bool5002 fn eq(&self, other: &Self) -> bool { 5003 self.Header == other.Header && self.Flags == other.Flags && self.TimeoutArrayLength == other.TimeoutArrayLength && self.TimeoutArray == other.TimeoutArray 5004 } 5005 } 5006 impl ::std::cmp::Eq for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES {} 5007 unsafe impl ::windows::runtime::Abi for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { 5008 type Abi = Self; 5009 type DefaultType = Self; 5010 } 5011 pub const NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES_REVISION_1: u32 = 1u32; 5012 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5013 #[repr(C)] 5014 #[cfg(feature = "Win32_Foundation")] 5015 pub struct NDIS_TIMESTAMP_CAPABILITIES { 5016 pub Header: NDIS_OBJECT_HEADER, 5017 pub HardwareClockFrequencyHz: u64, 5018 pub CrossTimestamp: super::super::Foundation::BOOLEAN, 5019 pub Reserved1: u64, 5020 pub Reserved2: u64, 5021 pub TimestampFlags: NDIS_TIMESTAMP_CAPABILITY_FLAGS, 5022 } 5023 #[cfg(feature = "Win32_Foundation")] 5024 impl NDIS_TIMESTAMP_CAPABILITIES {} 5025 #[cfg(feature = "Win32_Foundation")] 5026 impl ::std::default::Default for NDIS_TIMESTAMP_CAPABILITIES { default() -> Self5027 fn default() -> Self { 5028 unsafe { ::std::mem::zeroed() } 5029 } 5030 } 5031 #[cfg(feature = "Win32_Foundation")] 5032 impl ::std::fmt::Debug for NDIS_TIMESTAMP_CAPABILITIES { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5033 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5034 fmt.debug_struct("NDIS_TIMESTAMP_CAPABILITIES") 5035 .field("Header", &self.Header) 5036 .field("HardwareClockFrequencyHz", &self.HardwareClockFrequencyHz) 5037 .field("CrossTimestamp", &self.CrossTimestamp) 5038 .field("Reserved1", &self.Reserved1) 5039 .field("Reserved2", &self.Reserved2) 5040 .field("TimestampFlags", &self.TimestampFlags) 5041 .finish() 5042 } 5043 } 5044 #[cfg(feature = "Win32_Foundation")] 5045 impl ::std::cmp::PartialEq for NDIS_TIMESTAMP_CAPABILITIES { eq(&self, other: &Self) -> bool5046 fn eq(&self, other: &Self) -> bool { 5047 self.Header == other.Header && self.HardwareClockFrequencyHz == other.HardwareClockFrequencyHz && self.CrossTimestamp == other.CrossTimestamp && self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2 && self.TimestampFlags == other.TimestampFlags 5048 } 5049 } 5050 #[cfg(feature = "Win32_Foundation")] 5051 impl ::std::cmp::Eq for NDIS_TIMESTAMP_CAPABILITIES {} 5052 #[cfg(feature = "Win32_Foundation")] 5053 unsafe impl ::windows::runtime::Abi for NDIS_TIMESTAMP_CAPABILITIES { 5054 type Abi = Self; 5055 type DefaultType = Self; 5056 } 5057 pub const NDIS_TIMESTAMP_CAPABILITIES_REVISION_1: u32 = 1u32; 5058 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5059 #[repr(C)] 5060 #[cfg(feature = "Win32_Foundation")] 5061 pub struct NDIS_TIMESTAMP_CAPABILITY_FLAGS { 5062 pub PtpV2OverUdpIPv4EventMsgReceiveHw: super::super::Foundation::BOOLEAN, 5063 pub PtpV2OverUdpIPv4AllMsgReceiveHw: super::super::Foundation::BOOLEAN, 5064 pub PtpV2OverUdpIPv4EventMsgTransmitHw: super::super::Foundation::BOOLEAN, 5065 pub PtpV2OverUdpIPv4AllMsgTransmitHw: super::super::Foundation::BOOLEAN, 5066 pub PtpV2OverUdpIPv6EventMsgReceiveHw: super::super::Foundation::BOOLEAN, 5067 pub PtpV2OverUdpIPv6AllMsgReceiveHw: super::super::Foundation::BOOLEAN, 5068 pub PtpV2OverUdpIPv6EventMsgTransmitHw: super::super::Foundation::BOOLEAN, 5069 pub PtpV2OverUdpIPv6AllMsgTransmitHw: super::super::Foundation::BOOLEAN, 5070 pub AllReceiveHw: super::super::Foundation::BOOLEAN, 5071 pub AllTransmitHw: super::super::Foundation::BOOLEAN, 5072 pub TaggedTransmitHw: super::super::Foundation::BOOLEAN, 5073 pub AllReceiveSw: super::super::Foundation::BOOLEAN, 5074 pub AllTransmitSw: super::super::Foundation::BOOLEAN, 5075 pub TaggedTransmitSw: super::super::Foundation::BOOLEAN, 5076 } 5077 #[cfg(feature = "Win32_Foundation")] 5078 impl NDIS_TIMESTAMP_CAPABILITY_FLAGS {} 5079 #[cfg(feature = "Win32_Foundation")] 5080 impl ::std::default::Default for NDIS_TIMESTAMP_CAPABILITY_FLAGS { default() -> Self5081 fn default() -> Self { 5082 unsafe { ::std::mem::zeroed() } 5083 } 5084 } 5085 #[cfg(feature = "Win32_Foundation")] 5086 impl ::std::fmt::Debug for NDIS_TIMESTAMP_CAPABILITY_FLAGS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5087 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5088 fmt.debug_struct("NDIS_TIMESTAMP_CAPABILITY_FLAGS") 5089 .field("PtpV2OverUdpIPv4EventMsgReceiveHw", &self.PtpV2OverUdpIPv4EventMsgReceiveHw) 5090 .field("PtpV2OverUdpIPv4AllMsgReceiveHw", &self.PtpV2OverUdpIPv4AllMsgReceiveHw) 5091 .field("PtpV2OverUdpIPv4EventMsgTransmitHw", &self.PtpV2OverUdpIPv4EventMsgTransmitHw) 5092 .field("PtpV2OverUdpIPv4AllMsgTransmitHw", &self.PtpV2OverUdpIPv4AllMsgTransmitHw) 5093 .field("PtpV2OverUdpIPv6EventMsgReceiveHw", &self.PtpV2OverUdpIPv6EventMsgReceiveHw) 5094 .field("PtpV2OverUdpIPv6AllMsgReceiveHw", &self.PtpV2OverUdpIPv6AllMsgReceiveHw) 5095 .field("PtpV2OverUdpIPv6EventMsgTransmitHw", &self.PtpV2OverUdpIPv6EventMsgTransmitHw) 5096 .field("PtpV2OverUdpIPv6AllMsgTransmitHw", &self.PtpV2OverUdpIPv6AllMsgTransmitHw) 5097 .field("AllReceiveHw", &self.AllReceiveHw) 5098 .field("AllTransmitHw", &self.AllTransmitHw) 5099 .field("TaggedTransmitHw", &self.TaggedTransmitHw) 5100 .field("AllReceiveSw", &self.AllReceiveSw) 5101 .field("AllTransmitSw", &self.AllTransmitSw) 5102 .field("TaggedTransmitSw", &self.TaggedTransmitSw) 5103 .finish() 5104 } 5105 } 5106 #[cfg(feature = "Win32_Foundation")] 5107 impl ::std::cmp::PartialEq for NDIS_TIMESTAMP_CAPABILITY_FLAGS { eq(&self, other: &Self) -> bool5108 fn eq(&self, other: &Self) -> bool { 5109 self.PtpV2OverUdpIPv4EventMsgReceiveHw == other.PtpV2OverUdpIPv4EventMsgReceiveHw 5110 && self.PtpV2OverUdpIPv4AllMsgReceiveHw == other.PtpV2OverUdpIPv4AllMsgReceiveHw 5111 && self.PtpV2OverUdpIPv4EventMsgTransmitHw == other.PtpV2OverUdpIPv4EventMsgTransmitHw 5112 && self.PtpV2OverUdpIPv4AllMsgTransmitHw == other.PtpV2OverUdpIPv4AllMsgTransmitHw 5113 && self.PtpV2OverUdpIPv6EventMsgReceiveHw == other.PtpV2OverUdpIPv6EventMsgReceiveHw 5114 && self.PtpV2OverUdpIPv6AllMsgReceiveHw == other.PtpV2OverUdpIPv6AllMsgReceiveHw 5115 && self.PtpV2OverUdpIPv6EventMsgTransmitHw == other.PtpV2OverUdpIPv6EventMsgTransmitHw 5116 && self.PtpV2OverUdpIPv6AllMsgTransmitHw == other.PtpV2OverUdpIPv6AllMsgTransmitHw 5117 && self.AllReceiveHw == other.AllReceiveHw 5118 && self.AllTransmitHw == other.AllTransmitHw 5119 && self.TaggedTransmitHw == other.TaggedTransmitHw 5120 && self.AllReceiveSw == other.AllReceiveSw 5121 && self.AllTransmitSw == other.AllTransmitSw 5122 && self.TaggedTransmitSw == other.TaggedTransmitSw 5123 } 5124 } 5125 #[cfg(feature = "Win32_Foundation")] 5126 impl ::std::cmp::Eq for NDIS_TIMESTAMP_CAPABILITY_FLAGS {} 5127 #[cfg(feature = "Win32_Foundation")] 5128 unsafe impl ::windows::runtime::Abi for NDIS_TIMESTAMP_CAPABILITY_FLAGS { 5129 type Abi = Self; 5130 type DefaultType = Self; 5131 } 5132 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5133 #[repr(C)] 5134 pub struct NDIS_VAR_DATA_DESC { 5135 pub Length: u16, 5136 pub MaximumLength: u16, 5137 pub Offset: usize, 5138 } 5139 impl NDIS_VAR_DATA_DESC {} 5140 impl ::std::default::Default for NDIS_VAR_DATA_DESC { default() -> Self5141 fn default() -> Self { 5142 unsafe { ::std::mem::zeroed() } 5143 } 5144 } 5145 impl ::std::fmt::Debug for NDIS_VAR_DATA_DESC { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5146 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5147 fmt.debug_struct("NDIS_VAR_DATA_DESC").field("Length", &self.Length).field("MaximumLength", &self.MaximumLength).field("Offset", &self.Offset).finish() 5148 } 5149 } 5150 impl ::std::cmp::PartialEq for NDIS_VAR_DATA_DESC { eq(&self, other: &Self) -> bool5151 fn eq(&self, other: &Self) -> bool { 5152 self.Length == other.Length && self.MaximumLength == other.MaximumLength && self.Offset == other.Offset 5153 } 5154 } 5155 impl ::std::cmp::Eq for NDIS_VAR_DATA_DESC {} 5156 unsafe impl ::windows::runtime::Abi for NDIS_VAR_DATA_DESC { 5157 type Abi = Self; 5158 type DefaultType = Self; 5159 } 5160 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 5161 #[repr(transparent)] 5162 pub struct NDIS_WAN_HEADER_FORMAT(pub i32); 5163 pub const NdisWanHeaderNative: NDIS_WAN_HEADER_FORMAT = NDIS_WAN_HEADER_FORMAT(0i32); 5164 pub const NdisWanHeaderEthernet: NDIS_WAN_HEADER_FORMAT = NDIS_WAN_HEADER_FORMAT(1i32); 5165 impl ::std::convert::From<i32> for NDIS_WAN_HEADER_FORMAT { from(value: i32) -> Self5166 fn from(value: i32) -> Self { 5167 Self(value) 5168 } 5169 } 5170 unsafe impl ::windows::runtime::Abi for NDIS_WAN_HEADER_FORMAT { 5171 type Abi = Self; 5172 type DefaultType = Self; 5173 } 5174 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 5175 #[repr(transparent)] 5176 pub struct NDIS_WAN_MEDIUM_SUBTYPE(pub i32); 5177 pub const NdisWanMediumHub: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(0i32); 5178 pub const NdisWanMediumX_25: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(1i32); 5179 pub const NdisWanMediumIsdn: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(2i32); 5180 pub const NdisWanMediumSerial: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(3i32); 5181 pub const NdisWanMediumFrameRelay: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(4i32); 5182 pub const NdisWanMediumAtm: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(5i32); 5183 pub const NdisWanMediumSonet: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(6i32); 5184 pub const NdisWanMediumSW56K: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(7i32); 5185 pub const NdisWanMediumPPTP: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(8i32); 5186 pub const NdisWanMediumL2TP: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(9i32); 5187 pub const NdisWanMediumIrda: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(10i32); 5188 pub const NdisWanMediumParallel: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(11i32); 5189 pub const NdisWanMediumPppoe: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(12i32); 5190 pub const NdisWanMediumSSTP: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(13i32); 5191 pub const NdisWanMediumAgileVPN: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(14i32); 5192 pub const NdisWanMediumGre: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(15i32); 5193 pub const NdisWanMediumSubTypeMax: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(16i32); 5194 impl ::std::convert::From<i32> for NDIS_WAN_MEDIUM_SUBTYPE { from(value: i32) -> Self5195 fn from(value: i32) -> Self { 5196 Self(value) 5197 } 5198 } 5199 unsafe impl ::windows::runtime::Abi for NDIS_WAN_MEDIUM_SUBTYPE { 5200 type Abi = Self; 5201 type DefaultType = Self; 5202 } 5203 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5204 #[repr(C)] 5205 pub struct NDIS_WAN_PROTOCOL_CAPS { 5206 pub Flags: u32, 5207 pub Reserved: u32, 5208 } 5209 impl NDIS_WAN_PROTOCOL_CAPS {} 5210 impl ::std::default::Default for NDIS_WAN_PROTOCOL_CAPS { default() -> Self5211 fn default() -> Self { 5212 unsafe { ::std::mem::zeroed() } 5213 } 5214 } 5215 impl ::std::fmt::Debug for NDIS_WAN_PROTOCOL_CAPS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5216 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5217 fmt.debug_struct("NDIS_WAN_PROTOCOL_CAPS").field("Flags", &self.Flags).field("Reserved", &self.Reserved).finish() 5218 } 5219 } 5220 impl ::std::cmp::PartialEq for NDIS_WAN_PROTOCOL_CAPS { eq(&self, other: &Self) -> bool5221 fn eq(&self, other: &Self) -> bool { 5222 self.Flags == other.Flags && self.Reserved == other.Reserved 5223 } 5224 } 5225 impl ::std::cmp::Eq for NDIS_WAN_PROTOCOL_CAPS {} 5226 unsafe impl ::windows::runtime::Abi for NDIS_WAN_PROTOCOL_CAPS { 5227 type Abi = Self; 5228 type DefaultType = Self; 5229 } 5230 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 5231 #[repr(transparent)] 5232 pub struct NDIS_WAN_QUALITY(pub i32); 5233 pub const NdisWanRaw: NDIS_WAN_QUALITY = NDIS_WAN_QUALITY(0i32); 5234 pub const NdisWanErrorControl: NDIS_WAN_QUALITY = NDIS_WAN_QUALITY(1i32); 5235 pub const NdisWanReliable: NDIS_WAN_QUALITY = NDIS_WAN_QUALITY(2i32); 5236 impl ::std::convert::From<i32> for NDIS_WAN_QUALITY { from(value: i32) -> Self5237 fn from(value: i32) -> Self { 5238 Self(value) 5239 } 5240 } 5241 unsafe impl ::windows::runtime::Abi for NDIS_WAN_QUALITY { 5242 type Abi = Self; 5243 type DefaultType = Self; 5244 } 5245 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5246 #[repr(C)] 5247 pub struct NDIS_WLAN_BSSID { 5248 pub Length: u32, 5249 pub MacAddress: [u8; 6], 5250 pub Reserved: [u8; 2], 5251 pub Ssid: NDIS_802_11_SSID, 5252 pub Privacy: u32, 5253 pub Rssi: i32, 5254 pub NetworkTypeInUse: NDIS_802_11_NETWORK_TYPE, 5255 pub Configuration: NDIS_802_11_CONFIGURATION, 5256 pub InfrastructureMode: NDIS_802_11_NETWORK_INFRASTRUCTURE, 5257 pub SupportedRates: [u8; 8], 5258 } 5259 impl NDIS_WLAN_BSSID {} 5260 impl ::std::default::Default for NDIS_WLAN_BSSID { default() -> Self5261 fn default() -> Self { 5262 unsafe { ::std::mem::zeroed() } 5263 } 5264 } 5265 impl ::std::fmt::Debug for NDIS_WLAN_BSSID { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5266 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5267 fmt.debug_struct("NDIS_WLAN_BSSID") 5268 .field("Length", &self.Length) 5269 .field("MacAddress", &self.MacAddress) 5270 .field("Reserved", &self.Reserved) 5271 .field("Ssid", &self.Ssid) 5272 .field("Privacy", &self.Privacy) 5273 .field("Rssi", &self.Rssi) 5274 .field("NetworkTypeInUse", &self.NetworkTypeInUse) 5275 .field("Configuration", &self.Configuration) 5276 .field("InfrastructureMode", &self.InfrastructureMode) 5277 .field("SupportedRates", &self.SupportedRates) 5278 .finish() 5279 } 5280 } 5281 impl ::std::cmp::PartialEq for NDIS_WLAN_BSSID { eq(&self, other: &Self) -> bool5282 fn eq(&self, other: &Self) -> bool { 5283 self.Length == other.Length && self.MacAddress == other.MacAddress && self.Reserved == other.Reserved && self.Ssid == other.Ssid && self.Privacy == other.Privacy && self.Rssi == other.Rssi && self.NetworkTypeInUse == other.NetworkTypeInUse && self.Configuration == other.Configuration && self.InfrastructureMode == other.InfrastructureMode && self.SupportedRates == other.SupportedRates 5284 } 5285 } 5286 impl ::std::cmp::Eq for NDIS_WLAN_BSSID {} 5287 unsafe impl ::windows::runtime::Abi for NDIS_WLAN_BSSID { 5288 type Abi = Self; 5289 type DefaultType = Self; 5290 } 5291 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5292 #[repr(C)] 5293 pub struct NDIS_WLAN_BSSID_EX { 5294 pub Length: u32, 5295 pub MacAddress: [u8; 6], 5296 pub Reserved: [u8; 2], 5297 pub Ssid: NDIS_802_11_SSID, 5298 pub Privacy: u32, 5299 pub Rssi: i32, 5300 pub NetworkTypeInUse: NDIS_802_11_NETWORK_TYPE, 5301 pub Configuration: NDIS_802_11_CONFIGURATION, 5302 pub InfrastructureMode: NDIS_802_11_NETWORK_INFRASTRUCTURE, 5303 pub SupportedRates: [u8; 16], 5304 pub IELength: u32, 5305 pub IEs: [u8; 1], 5306 } 5307 impl NDIS_WLAN_BSSID_EX {} 5308 impl ::std::default::Default for NDIS_WLAN_BSSID_EX { default() -> Self5309 fn default() -> Self { 5310 unsafe { ::std::mem::zeroed() } 5311 } 5312 } 5313 impl ::std::fmt::Debug for NDIS_WLAN_BSSID_EX { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5314 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5315 fmt.debug_struct("NDIS_WLAN_BSSID_EX") 5316 .field("Length", &self.Length) 5317 .field("MacAddress", &self.MacAddress) 5318 .field("Reserved", &self.Reserved) 5319 .field("Ssid", &self.Ssid) 5320 .field("Privacy", &self.Privacy) 5321 .field("Rssi", &self.Rssi) 5322 .field("NetworkTypeInUse", &self.NetworkTypeInUse) 5323 .field("Configuration", &self.Configuration) 5324 .field("InfrastructureMode", &self.InfrastructureMode) 5325 .field("SupportedRates", &self.SupportedRates) 5326 .field("IELength", &self.IELength) 5327 .field("IEs", &self.IEs) 5328 .finish() 5329 } 5330 } 5331 impl ::std::cmp::PartialEq for NDIS_WLAN_BSSID_EX { eq(&self, other: &Self) -> bool5332 fn eq(&self, other: &Self) -> bool { 5333 self.Length == other.Length && self.MacAddress == other.MacAddress && self.Reserved == other.Reserved && self.Ssid == other.Ssid && self.Privacy == other.Privacy && self.Rssi == other.Rssi && self.NetworkTypeInUse == other.NetworkTypeInUse && self.Configuration == other.Configuration && self.InfrastructureMode == other.InfrastructureMode && self.SupportedRates == other.SupportedRates && self.IELength == other.IELength && self.IEs == other.IEs 5334 } 5335 } 5336 impl ::std::cmp::Eq for NDIS_WLAN_BSSID_EX {} 5337 unsafe impl ::windows::runtime::Abi for NDIS_WLAN_BSSID_EX { 5338 type Abi = Self; 5339 type DefaultType = Self; 5340 } 5341 pub const NDIS_WLAN_WAKE_ON_4WAY_HANDSHAKE_REQUEST_ENABLED: u32 = 8u32; 5342 pub const NDIS_WLAN_WAKE_ON_4WAY_HANDSHAKE_REQUEST_SUPPORTED: u32 = 8u32; 5343 pub const NDIS_WLAN_WAKE_ON_AP_ASSOCIATION_LOST_ENABLED: u32 = 2u32; 5344 pub const NDIS_WLAN_WAKE_ON_AP_ASSOCIATION_LOST_SUPPORTED: u32 = 2u32; 5345 pub const NDIS_WLAN_WAKE_ON_GTK_HANDSHAKE_ERROR_ENABLED: u32 = 4u32; 5346 pub const NDIS_WLAN_WAKE_ON_GTK_HANDSHAKE_ERROR_SUPPORTED: u32 = 4u32; 5347 pub const NDIS_WLAN_WAKE_ON_NLO_DISCOVERY_ENABLED: u32 = 1u32; 5348 pub const NDIS_WLAN_WAKE_ON_NLO_DISCOVERY_SUPPORTED: u32 = 1u32; 5349 pub const NDIS_WMI_DEFAULT_METHOD_ID: u32 = 1u32; 5350 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5351 #[repr(C)] 5352 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_IpHelper"))] 5353 pub struct NDIS_WMI_ENUM_ADAPTER { 5354 pub Header: NDIS_OBJECT_HEADER, 5355 pub IfIndex: u32, 5356 pub NetLuid: super::IpHelper::NET_LUID_LH, 5357 pub DeviceNameLength: u16, 5358 pub DeviceName: [super::super::Foundation::CHAR; 1], 5359 } 5360 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_IpHelper"))] 5361 impl NDIS_WMI_ENUM_ADAPTER {} 5362 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_IpHelper"))] 5363 impl ::std::default::Default for NDIS_WMI_ENUM_ADAPTER { default() -> Self5364 fn default() -> Self { 5365 unsafe { ::std::mem::zeroed() } 5366 } 5367 } 5368 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_IpHelper"))] 5369 impl ::std::cmp::PartialEq for NDIS_WMI_ENUM_ADAPTER { eq(&self, _other: &Self) -> bool5370 fn eq(&self, _other: &Self) -> bool { 5371 unimplemented!() 5372 } 5373 } 5374 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_IpHelper"))] 5375 impl ::std::cmp::Eq for NDIS_WMI_ENUM_ADAPTER {} 5376 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_IpHelper"))] 5377 unsafe impl ::windows::runtime::Abi for NDIS_WMI_ENUM_ADAPTER { 5378 type Abi = Self; 5379 type DefaultType = Self; 5380 } 5381 pub const NDIS_WMI_ENUM_ADAPTER_REVISION_1: u32 = 1u32; 5382 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5383 #[repr(C)] 5384 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5385 pub struct NDIS_WMI_EVENT_HEADER { 5386 pub Header: NDIS_OBJECT_HEADER, 5387 pub IfIndex: u32, 5388 pub NetLuid: super::IpHelper::NET_LUID_LH, 5389 pub RequestId: u64, 5390 pub PortNumber: u32, 5391 pub DeviceNameLength: u32, 5392 pub DeviceNameOffset: u32, 5393 pub Padding: [u8; 4], 5394 } 5395 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5396 impl NDIS_WMI_EVENT_HEADER {} 5397 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5398 impl ::std::default::Default for NDIS_WMI_EVENT_HEADER { default() -> Self5399 fn default() -> Self { 5400 unsafe { ::std::mem::zeroed() } 5401 } 5402 } 5403 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5404 impl ::std::cmp::PartialEq for NDIS_WMI_EVENT_HEADER { eq(&self, _other: &Self) -> bool5405 fn eq(&self, _other: &Self) -> bool { 5406 unimplemented!() 5407 } 5408 } 5409 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5410 impl ::std::cmp::Eq for NDIS_WMI_EVENT_HEADER {} 5411 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5412 unsafe impl ::windows::runtime::Abi for NDIS_WMI_EVENT_HEADER { 5413 type Abi = Self; 5414 type DefaultType = Self; 5415 } 5416 pub const NDIS_WMI_EVENT_HEADER_REVISION_1: u32 = 1u32; 5417 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5418 #[repr(C)] 5419 pub struct NDIS_WMI_IPSEC_OFFLOAD_V1 { 5420 pub Supported: NDIS_WMI_IPSEC_OFFLOAD_V1_2, 5421 pub IPv4AH: NDIS_WMI_IPSEC_OFFLOAD_V1_0, 5422 pub IPv4ESP: NDIS_WMI_IPSEC_OFFLOAD_V1_1, 5423 } 5424 impl NDIS_WMI_IPSEC_OFFLOAD_V1 {} 5425 impl ::std::default::Default for NDIS_WMI_IPSEC_OFFLOAD_V1 { default() -> Self5426 fn default() -> Self { 5427 unsafe { ::std::mem::zeroed() } 5428 } 5429 } 5430 impl ::std::fmt::Debug for NDIS_WMI_IPSEC_OFFLOAD_V1 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5431 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5432 fmt.debug_struct("NDIS_WMI_IPSEC_OFFLOAD_V1").field("Supported", &self.Supported).field("IPv4AH", &self.IPv4AH).field("IPv4ESP", &self.IPv4ESP).finish() 5433 } 5434 } 5435 impl ::std::cmp::PartialEq for NDIS_WMI_IPSEC_OFFLOAD_V1 { eq(&self, other: &Self) -> bool5436 fn eq(&self, other: &Self) -> bool { 5437 self.Supported == other.Supported && self.IPv4AH == other.IPv4AH && self.IPv4ESP == other.IPv4ESP 5438 } 5439 } 5440 impl ::std::cmp::Eq for NDIS_WMI_IPSEC_OFFLOAD_V1 {} 5441 unsafe impl ::windows::runtime::Abi for NDIS_WMI_IPSEC_OFFLOAD_V1 { 5442 type Abi = Self; 5443 type DefaultType = Self; 5444 } 5445 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5446 #[repr(C)] 5447 pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_0 { 5448 pub Md5: u32, 5449 pub Sha_1: u32, 5450 pub Transport: u32, 5451 pub Tunnel: u32, 5452 pub Send: u32, 5453 pub Receive: u32, 5454 } 5455 impl NDIS_WMI_IPSEC_OFFLOAD_V1_0 {} 5456 impl ::std::default::Default for NDIS_WMI_IPSEC_OFFLOAD_V1_0 { default() -> Self5457 fn default() -> Self { 5458 unsafe { ::std::mem::zeroed() } 5459 } 5460 } 5461 impl ::std::fmt::Debug for NDIS_WMI_IPSEC_OFFLOAD_V1_0 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5462 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5463 fmt.debug_struct("_IPv4AH_e__Struct").field("Md5", &self.Md5).field("Sha_1", &self.Sha_1).field("Transport", &self.Transport).field("Tunnel", &self.Tunnel).field("Send", &self.Send).field("Receive", &self.Receive).finish() 5464 } 5465 } 5466 impl ::std::cmp::PartialEq for NDIS_WMI_IPSEC_OFFLOAD_V1_0 { eq(&self, other: &Self) -> bool5467 fn eq(&self, other: &Self) -> bool { 5468 self.Md5 == other.Md5 && self.Sha_1 == other.Sha_1 && self.Transport == other.Transport && self.Tunnel == other.Tunnel && self.Send == other.Send && self.Receive == other.Receive 5469 } 5470 } 5471 impl ::std::cmp::Eq for NDIS_WMI_IPSEC_OFFLOAD_V1_0 {} 5472 unsafe impl ::windows::runtime::Abi for NDIS_WMI_IPSEC_OFFLOAD_V1_0 { 5473 type Abi = Self; 5474 type DefaultType = Self; 5475 } 5476 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5477 #[repr(C)] 5478 pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_1 { 5479 pub Des: u32, 5480 pub Reserved: u32, 5481 pub TripleDes: u32, 5482 pub NullEsp: u32, 5483 pub Transport: u32, 5484 pub Tunnel: u32, 5485 pub Send: u32, 5486 pub Receive: u32, 5487 } 5488 impl NDIS_WMI_IPSEC_OFFLOAD_V1_1 {} 5489 impl ::std::default::Default for NDIS_WMI_IPSEC_OFFLOAD_V1_1 { default() -> Self5490 fn default() -> Self { 5491 unsafe { ::std::mem::zeroed() } 5492 } 5493 } 5494 impl ::std::fmt::Debug for NDIS_WMI_IPSEC_OFFLOAD_V1_1 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5495 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5496 fmt.debug_struct("_IPv4ESP_e__Struct").field("Des", &self.Des).field("Reserved", &self.Reserved).field("TripleDes", &self.TripleDes).field("NullEsp", &self.NullEsp).field("Transport", &self.Transport).field("Tunnel", &self.Tunnel).field("Send", &self.Send).field("Receive", &self.Receive).finish() 5497 } 5498 } 5499 impl ::std::cmp::PartialEq for NDIS_WMI_IPSEC_OFFLOAD_V1_1 { eq(&self, other: &Self) -> bool5500 fn eq(&self, other: &Self) -> bool { 5501 self.Des == other.Des && self.Reserved == other.Reserved && self.TripleDes == other.TripleDes && self.NullEsp == other.NullEsp && self.Transport == other.Transport && self.Tunnel == other.Tunnel && self.Send == other.Send && self.Receive == other.Receive 5502 } 5503 } 5504 impl ::std::cmp::Eq for NDIS_WMI_IPSEC_OFFLOAD_V1_1 {} 5505 unsafe impl ::windows::runtime::Abi for NDIS_WMI_IPSEC_OFFLOAD_V1_1 { 5506 type Abi = Self; 5507 type DefaultType = Self; 5508 } 5509 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5510 #[repr(C)] 5511 pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_2 { 5512 pub Encapsulation: u32, 5513 pub AhEspCombined: u32, 5514 pub TransportTunnelCombined: u32, 5515 pub IPv4Options: u32, 5516 pub Flags: u32, 5517 } 5518 impl NDIS_WMI_IPSEC_OFFLOAD_V1_2 {} 5519 impl ::std::default::Default for NDIS_WMI_IPSEC_OFFLOAD_V1_2 { default() -> Self5520 fn default() -> Self { 5521 unsafe { ::std::mem::zeroed() } 5522 } 5523 } 5524 impl ::std::fmt::Debug for NDIS_WMI_IPSEC_OFFLOAD_V1_2 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5525 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5526 fmt.debug_struct("_Supported_e__Struct").field("Encapsulation", &self.Encapsulation).field("AhEspCombined", &self.AhEspCombined).field("TransportTunnelCombined", &self.TransportTunnelCombined).field("IPv4Options", &self.IPv4Options).field("Flags", &self.Flags).finish() 5527 } 5528 } 5529 impl ::std::cmp::PartialEq for NDIS_WMI_IPSEC_OFFLOAD_V1_2 { eq(&self, other: &Self) -> bool5530 fn eq(&self, other: &Self) -> bool { 5531 self.Encapsulation == other.Encapsulation && self.AhEspCombined == other.AhEspCombined && self.TransportTunnelCombined == other.TransportTunnelCombined && self.IPv4Options == other.IPv4Options && self.Flags == other.Flags 5532 } 5533 } 5534 impl ::std::cmp::Eq for NDIS_WMI_IPSEC_OFFLOAD_V1_2 {} 5535 unsafe impl ::windows::runtime::Abi for NDIS_WMI_IPSEC_OFFLOAD_V1_2 { 5536 type Abi = Self; 5537 type DefaultType = Self; 5538 } 5539 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5540 #[repr(C)] 5541 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5542 pub struct NDIS_WMI_METHOD_HEADER { 5543 pub Header: NDIS_OBJECT_HEADER, 5544 pub PortNumber: u32, 5545 pub NetLuid: super::IpHelper::NET_LUID_LH, 5546 pub RequestId: u64, 5547 pub Timeout: u32, 5548 pub Padding: [u8; 4], 5549 } 5550 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5551 impl NDIS_WMI_METHOD_HEADER {} 5552 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5553 impl ::std::default::Default for NDIS_WMI_METHOD_HEADER { default() -> Self5554 fn default() -> Self { 5555 unsafe { ::std::mem::zeroed() } 5556 } 5557 } 5558 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5559 impl ::std::cmp::PartialEq for NDIS_WMI_METHOD_HEADER { eq(&self, _other: &Self) -> bool5560 fn eq(&self, _other: &Self) -> bool { 5561 unimplemented!() 5562 } 5563 } 5564 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5565 impl ::std::cmp::Eq for NDIS_WMI_METHOD_HEADER {} 5566 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5567 unsafe impl ::windows::runtime::Abi for NDIS_WMI_METHOD_HEADER { 5568 type Abi = Self; 5569 type DefaultType = Self; 5570 } 5571 pub const NDIS_WMI_METHOD_HEADER_REVISION_1: u32 = 1u32; 5572 pub const NDIS_WMI_OBJECT_TYPE_ENUM_ADAPTER: u32 = 4u32; 5573 pub const NDIS_WMI_OBJECT_TYPE_EVENT: u32 = 3u32; 5574 pub const NDIS_WMI_OBJECT_TYPE_METHOD: u32 = 2u32; 5575 pub const NDIS_WMI_OBJECT_TYPE_OUTPUT_INFO: u32 = 5u32; 5576 pub const NDIS_WMI_OBJECT_TYPE_SET: u32 = 1u32; 5577 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5578 #[repr(C)] 5579 pub struct NDIS_WMI_OFFLOAD { 5580 pub Header: NDIS_OBJECT_HEADER, 5581 pub Checksum: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD, 5582 pub LsoV1: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1, 5583 pub IPsecV1: NDIS_WMI_IPSEC_OFFLOAD_V1, 5584 pub LsoV2: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2, 5585 pub Flags: u32, 5586 } 5587 impl NDIS_WMI_OFFLOAD {} 5588 impl ::std::default::Default for NDIS_WMI_OFFLOAD { default() -> Self5589 fn default() -> Self { 5590 unsafe { ::std::mem::zeroed() } 5591 } 5592 } 5593 impl ::std::fmt::Debug for NDIS_WMI_OFFLOAD { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5594 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5595 fmt.debug_struct("NDIS_WMI_OFFLOAD").field("Header", &self.Header).field("Checksum", &self.Checksum).field("LsoV1", &self.LsoV1).field("IPsecV1", &self.IPsecV1).field("LsoV2", &self.LsoV2).field("Flags", &self.Flags).finish() 5596 } 5597 } 5598 impl ::std::cmp::PartialEq for NDIS_WMI_OFFLOAD { eq(&self, other: &Self) -> bool5599 fn eq(&self, other: &Self) -> bool { 5600 self.Header == other.Header && self.Checksum == other.Checksum && self.LsoV1 == other.LsoV1 && self.IPsecV1 == other.IPsecV1 && self.LsoV2 == other.LsoV2 && self.Flags == other.Flags 5601 } 5602 } 5603 impl ::std::cmp::Eq for NDIS_WMI_OFFLOAD {} 5604 unsafe impl ::windows::runtime::Abi for NDIS_WMI_OFFLOAD { 5605 type Abi = Self; 5606 type DefaultType = Self; 5607 } 5608 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5609 #[repr(C)] 5610 pub struct NDIS_WMI_OUTPUT_INFO { 5611 pub Header: NDIS_OBJECT_HEADER, 5612 pub Flags: u32, 5613 pub SupportedRevision: u8, 5614 pub DataOffset: u32, 5615 } 5616 impl NDIS_WMI_OUTPUT_INFO {} 5617 impl ::std::default::Default for NDIS_WMI_OUTPUT_INFO { default() -> Self5618 fn default() -> Self { 5619 unsafe { ::std::mem::zeroed() } 5620 } 5621 } 5622 impl ::std::fmt::Debug for NDIS_WMI_OUTPUT_INFO { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5623 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5624 fmt.debug_struct("NDIS_WMI_OUTPUT_INFO").field("Header", &self.Header).field("Flags", &self.Flags).field("SupportedRevision", &self.SupportedRevision).field("DataOffset", &self.DataOffset).finish() 5625 } 5626 } 5627 impl ::std::cmp::PartialEq for NDIS_WMI_OUTPUT_INFO { eq(&self, other: &Self) -> bool5628 fn eq(&self, other: &Self) -> bool { 5629 self.Header == other.Header && self.Flags == other.Flags && self.SupportedRevision == other.SupportedRevision && self.DataOffset == other.DataOffset 5630 } 5631 } 5632 impl ::std::cmp::Eq for NDIS_WMI_OUTPUT_INFO {} 5633 unsafe impl ::windows::runtime::Abi for NDIS_WMI_OUTPUT_INFO { 5634 type Abi = Self; 5635 type DefaultType = Self; 5636 } 5637 pub const NDIS_WMI_PM_ACTIVE_CAPABILITIES_REVISION_1: u32 = 1u32; 5638 pub const NDIS_WMI_PM_ADMIN_CONFIG_REVISION_1: u32 = 1u32; 5639 pub const NDIS_WMI_RECEIVE_QUEUE_INFO_REVISION_1: u32 = 1u32; 5640 pub const NDIS_WMI_RECEIVE_QUEUE_PARAMETERS_REVISION_1: u32 = 1u32; 5641 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5642 #[repr(C)] 5643 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5644 pub struct NDIS_WMI_SET_HEADER { 5645 pub Header: NDIS_OBJECT_HEADER, 5646 pub PortNumber: u32, 5647 pub NetLuid: super::IpHelper::NET_LUID_LH, 5648 pub RequestId: u64, 5649 pub Timeout: u32, 5650 pub Padding: [u8; 4], 5651 } 5652 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5653 impl NDIS_WMI_SET_HEADER {} 5654 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5655 impl ::std::default::Default for NDIS_WMI_SET_HEADER { default() -> Self5656 fn default() -> Self { 5657 unsafe { ::std::mem::zeroed() } 5658 } 5659 } 5660 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5661 impl ::std::cmp::PartialEq for NDIS_WMI_SET_HEADER { eq(&self, _other: &Self) -> bool5662 fn eq(&self, _other: &Self) -> bool { 5663 unimplemented!() 5664 } 5665 } 5666 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5667 impl ::std::cmp::Eq for NDIS_WMI_SET_HEADER {} 5668 #[cfg(feature = "Win32_NetworkManagement_IpHelper")] 5669 unsafe impl ::windows::runtime::Abi for NDIS_WMI_SET_HEADER { 5670 type Abi = Self; 5671 type DefaultType = Self; 5672 } 5673 pub const NDIS_WMI_SET_HEADER_REVISION_1: u32 = 1u32; 5674 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5675 #[repr(C)] 5676 pub struct NDIS_WMI_TCP_CONNECTION_OFFLOAD { 5677 pub Header: NDIS_OBJECT_HEADER, 5678 pub Encapsulation: u32, 5679 pub SupportIPv4: u32, 5680 pub SupportIPv6: u32, 5681 pub SupportIPv6ExtensionHeaders: u32, 5682 pub SupportSack: u32, 5683 pub TcpConnectionOffloadCapacity: u32, 5684 pub Flags: u32, 5685 } 5686 impl NDIS_WMI_TCP_CONNECTION_OFFLOAD {} 5687 impl ::std::default::Default for NDIS_WMI_TCP_CONNECTION_OFFLOAD { default() -> Self5688 fn default() -> Self { 5689 unsafe { ::std::mem::zeroed() } 5690 } 5691 } 5692 impl ::std::fmt::Debug for NDIS_WMI_TCP_CONNECTION_OFFLOAD { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5693 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5694 fmt.debug_struct("NDIS_WMI_TCP_CONNECTION_OFFLOAD") 5695 .field("Header", &self.Header) 5696 .field("Encapsulation", &self.Encapsulation) 5697 .field("SupportIPv4", &self.SupportIPv4) 5698 .field("SupportIPv6", &self.SupportIPv6) 5699 .field("SupportIPv6ExtensionHeaders", &self.SupportIPv6ExtensionHeaders) 5700 .field("SupportSack", &self.SupportSack) 5701 .field("TcpConnectionOffloadCapacity", &self.TcpConnectionOffloadCapacity) 5702 .field("Flags", &self.Flags) 5703 .finish() 5704 } 5705 } 5706 impl ::std::cmp::PartialEq for NDIS_WMI_TCP_CONNECTION_OFFLOAD { eq(&self, other: &Self) -> bool5707 fn eq(&self, other: &Self) -> bool { 5708 self.Header == other.Header && self.Encapsulation == other.Encapsulation && self.SupportIPv4 == other.SupportIPv4 && self.SupportIPv6 == other.SupportIPv6 && self.SupportIPv6ExtensionHeaders == other.SupportIPv6ExtensionHeaders && self.SupportSack == other.SupportSack && self.TcpConnectionOffloadCapacity == other.TcpConnectionOffloadCapacity && self.Flags == other.Flags 5709 } 5710 } 5711 impl ::std::cmp::Eq for NDIS_WMI_TCP_CONNECTION_OFFLOAD {} 5712 unsafe impl ::windows::runtime::Abi for NDIS_WMI_TCP_CONNECTION_OFFLOAD { 5713 type Abi = Self; 5714 type DefaultType = Self; 5715 } 5716 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5717 #[repr(C)] 5718 pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { 5719 pub IPv4Transmit: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1, 5720 pub IPv4Receive: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0, 5721 pub IPv6Transmit: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3, 5722 pub IPv6Receive: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2, 5723 } 5724 impl NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD {} 5725 impl ::std::default::Default for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { default() -> Self5726 fn default() -> Self { 5727 unsafe { ::std::mem::zeroed() } 5728 } 5729 } 5730 impl ::std::fmt::Debug for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5731 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5732 fmt.debug_struct("NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD").field("IPv4Transmit", &self.IPv4Transmit).field("IPv4Receive", &self.IPv4Receive).field("IPv6Transmit", &self.IPv6Transmit).field("IPv6Receive", &self.IPv6Receive).finish() 5733 } 5734 } 5735 impl ::std::cmp::PartialEq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { eq(&self, other: &Self) -> bool5736 fn eq(&self, other: &Self) -> bool { 5737 self.IPv4Transmit == other.IPv4Transmit && self.IPv4Receive == other.IPv4Receive && self.IPv6Transmit == other.IPv6Transmit && self.IPv6Receive == other.IPv6Receive 5738 } 5739 } 5740 impl ::std::cmp::Eq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD {} 5741 unsafe impl ::windows::runtime::Abi for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { 5742 type Abi = Self; 5743 type DefaultType = Self; 5744 } 5745 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5746 #[repr(C)] 5747 pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { 5748 pub Encapsulation: u32, 5749 pub IpOptionsSupported: u32, 5750 pub TcpOptionsSupported: u32, 5751 pub TcpChecksum: u32, 5752 pub UdpChecksum: u32, 5753 pub IpChecksum: u32, 5754 } 5755 impl NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 {} 5756 impl ::std::default::Default for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { default() -> Self5757 fn default() -> Self { 5758 unsafe { ::std::mem::zeroed() } 5759 } 5760 } 5761 impl ::std::fmt::Debug for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5762 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5763 fmt.debug_struct("_IPv4Receive_e__Struct") 5764 .field("Encapsulation", &self.Encapsulation) 5765 .field("IpOptionsSupported", &self.IpOptionsSupported) 5766 .field("TcpOptionsSupported", &self.TcpOptionsSupported) 5767 .field("TcpChecksum", &self.TcpChecksum) 5768 .field("UdpChecksum", &self.UdpChecksum) 5769 .field("IpChecksum", &self.IpChecksum) 5770 .finish() 5771 } 5772 } 5773 impl ::std::cmp::PartialEq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { eq(&self, other: &Self) -> bool5774 fn eq(&self, other: &Self) -> bool { 5775 self.Encapsulation == other.Encapsulation && self.IpOptionsSupported == other.IpOptionsSupported && self.TcpOptionsSupported == other.TcpOptionsSupported && self.TcpChecksum == other.TcpChecksum && self.UdpChecksum == other.UdpChecksum && self.IpChecksum == other.IpChecksum 5776 } 5777 } 5778 impl ::std::cmp::Eq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 {} 5779 unsafe impl ::windows::runtime::Abi for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { 5780 type Abi = Self; 5781 type DefaultType = Self; 5782 } 5783 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5784 #[repr(C)] 5785 pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { 5786 pub Encapsulation: u32, 5787 pub IpOptionsSupported: u32, 5788 pub TcpOptionsSupported: u32, 5789 pub TcpChecksum: u32, 5790 pub UdpChecksum: u32, 5791 pub IpChecksum: u32, 5792 } 5793 impl NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 {} 5794 impl ::std::default::Default for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { default() -> Self5795 fn default() -> Self { 5796 unsafe { ::std::mem::zeroed() } 5797 } 5798 } 5799 impl ::std::fmt::Debug for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5800 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5801 fmt.debug_struct("_IPv4Transmit_e__Struct") 5802 .field("Encapsulation", &self.Encapsulation) 5803 .field("IpOptionsSupported", &self.IpOptionsSupported) 5804 .field("TcpOptionsSupported", &self.TcpOptionsSupported) 5805 .field("TcpChecksum", &self.TcpChecksum) 5806 .field("UdpChecksum", &self.UdpChecksum) 5807 .field("IpChecksum", &self.IpChecksum) 5808 .finish() 5809 } 5810 } 5811 impl ::std::cmp::PartialEq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { eq(&self, other: &Self) -> bool5812 fn eq(&self, other: &Self) -> bool { 5813 self.Encapsulation == other.Encapsulation && self.IpOptionsSupported == other.IpOptionsSupported && self.TcpOptionsSupported == other.TcpOptionsSupported && self.TcpChecksum == other.TcpChecksum && self.UdpChecksum == other.UdpChecksum && self.IpChecksum == other.IpChecksum 5814 } 5815 } 5816 impl ::std::cmp::Eq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 {} 5817 unsafe impl ::windows::runtime::Abi for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { 5818 type Abi = Self; 5819 type DefaultType = Self; 5820 } 5821 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5822 #[repr(C)] 5823 pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { 5824 pub Encapsulation: u32, 5825 pub IpExtensionHeadersSupported: u32, 5826 pub TcpOptionsSupported: u32, 5827 pub TcpChecksum: u32, 5828 pub UdpChecksum: u32, 5829 } 5830 impl NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 {} 5831 impl ::std::default::Default for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { default() -> Self5832 fn default() -> Self { 5833 unsafe { ::std::mem::zeroed() } 5834 } 5835 } 5836 impl ::std::fmt::Debug for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5837 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5838 fmt.debug_struct("_IPv6Receive_e__Struct") 5839 .field("Encapsulation", &self.Encapsulation) 5840 .field("IpExtensionHeadersSupported", &self.IpExtensionHeadersSupported) 5841 .field("TcpOptionsSupported", &self.TcpOptionsSupported) 5842 .field("TcpChecksum", &self.TcpChecksum) 5843 .field("UdpChecksum", &self.UdpChecksum) 5844 .finish() 5845 } 5846 } 5847 impl ::std::cmp::PartialEq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { eq(&self, other: &Self) -> bool5848 fn eq(&self, other: &Self) -> bool { 5849 self.Encapsulation == other.Encapsulation && self.IpExtensionHeadersSupported == other.IpExtensionHeadersSupported && self.TcpOptionsSupported == other.TcpOptionsSupported && self.TcpChecksum == other.TcpChecksum && self.UdpChecksum == other.UdpChecksum 5850 } 5851 } 5852 impl ::std::cmp::Eq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 {} 5853 unsafe impl ::windows::runtime::Abi for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { 5854 type Abi = Self; 5855 type DefaultType = Self; 5856 } 5857 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5858 #[repr(C)] 5859 pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { 5860 pub Encapsulation: u32, 5861 pub IpExtensionHeadersSupported: u32, 5862 pub TcpOptionsSupported: u32, 5863 pub TcpChecksum: u32, 5864 pub UdpChecksum: u32, 5865 } 5866 impl NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 {} 5867 impl ::std::default::Default for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { default() -> Self5868 fn default() -> Self { 5869 unsafe { ::std::mem::zeroed() } 5870 } 5871 } 5872 impl ::std::fmt::Debug for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5873 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5874 fmt.debug_struct("_IPv6Transmit_e__Struct") 5875 .field("Encapsulation", &self.Encapsulation) 5876 .field("IpExtensionHeadersSupported", &self.IpExtensionHeadersSupported) 5877 .field("TcpOptionsSupported", &self.TcpOptionsSupported) 5878 .field("TcpChecksum", &self.TcpChecksum) 5879 .field("UdpChecksum", &self.UdpChecksum) 5880 .finish() 5881 } 5882 } 5883 impl ::std::cmp::PartialEq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { eq(&self, other: &Self) -> bool5884 fn eq(&self, other: &Self) -> bool { 5885 self.Encapsulation == other.Encapsulation && self.IpExtensionHeadersSupported == other.IpExtensionHeadersSupported && self.TcpOptionsSupported == other.TcpOptionsSupported && self.TcpChecksum == other.TcpChecksum && self.UdpChecksum == other.UdpChecksum 5886 } 5887 } 5888 impl ::std::cmp::Eq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 {} 5889 unsafe impl ::windows::runtime::Abi for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { 5890 type Abi = Self; 5891 type DefaultType = Self; 5892 } 5893 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5894 #[repr(C)] 5895 pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { 5896 pub IPv4: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0, 5897 } 5898 impl NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 {} 5899 impl ::std::default::Default for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { default() -> Self5900 fn default() -> Self { 5901 unsafe { ::std::mem::zeroed() } 5902 } 5903 } 5904 impl ::std::fmt::Debug for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5905 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5906 fmt.debug_struct("NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1").field("IPv4", &self.IPv4).finish() 5907 } 5908 } 5909 impl ::std::cmp::PartialEq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { eq(&self, other: &Self) -> bool5910 fn eq(&self, other: &Self) -> bool { 5911 self.IPv4 == other.IPv4 5912 } 5913 } 5914 impl ::std::cmp::Eq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 {} 5915 unsafe impl ::windows::runtime::Abi for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { 5916 type Abi = Self; 5917 type DefaultType = Self; 5918 } 5919 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5920 #[repr(C)] 5921 pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { 5922 pub Encapsulation: u32, 5923 pub MaxOffLoadSize: u32, 5924 pub MinSegmentCount: u32, 5925 pub TcpOptions: u32, 5926 pub IpOptions: u32, 5927 } 5928 impl NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 {} 5929 impl ::std::default::Default for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { default() -> Self5930 fn default() -> Self { 5931 unsafe { ::std::mem::zeroed() } 5932 } 5933 } 5934 impl ::std::fmt::Debug for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5935 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5936 fmt.debug_struct("_IPv4_e__Struct").field("Encapsulation", &self.Encapsulation).field("MaxOffLoadSize", &self.MaxOffLoadSize).field("MinSegmentCount", &self.MinSegmentCount).field("TcpOptions", &self.TcpOptions).field("IpOptions", &self.IpOptions).finish() 5937 } 5938 } 5939 impl ::std::cmp::PartialEq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { eq(&self, other: &Self) -> bool5940 fn eq(&self, other: &Self) -> bool { 5941 self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount && self.TcpOptions == other.TcpOptions && self.IpOptions == other.IpOptions 5942 } 5943 } 5944 impl ::std::cmp::Eq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 {} 5945 unsafe impl ::windows::runtime::Abi for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { 5946 type Abi = Self; 5947 type DefaultType = Self; 5948 } 5949 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5950 #[repr(C)] 5951 pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { 5952 pub IPv4: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0, 5953 pub IPv6: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1, 5954 } 5955 impl NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 {} 5956 impl ::std::default::Default for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { default() -> Self5957 fn default() -> Self { 5958 unsafe { ::std::mem::zeroed() } 5959 } 5960 } 5961 impl ::std::fmt::Debug for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5962 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5963 fmt.debug_struct("NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2").field("IPv4", &self.IPv4).field("IPv6", &self.IPv6).finish() 5964 } 5965 } 5966 impl ::std::cmp::PartialEq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { eq(&self, other: &Self) -> bool5967 fn eq(&self, other: &Self) -> bool { 5968 self.IPv4 == other.IPv4 && self.IPv6 == other.IPv6 5969 } 5970 } 5971 impl ::std::cmp::Eq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 {} 5972 unsafe impl ::windows::runtime::Abi for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { 5973 type Abi = Self; 5974 type DefaultType = Self; 5975 } 5976 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 5977 #[repr(C)] 5978 pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { 5979 pub Encapsulation: u32, 5980 pub MaxOffLoadSize: u32, 5981 pub MinSegmentCount: u32, 5982 } 5983 impl NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 {} 5984 impl ::std::default::Default for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { default() -> Self5985 fn default() -> Self { 5986 unsafe { ::std::mem::zeroed() } 5987 } 5988 } 5989 impl ::std::fmt::Debug for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5990 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 5991 fmt.debug_struct("_IPv4_e__Struct").field("Encapsulation", &self.Encapsulation).field("MaxOffLoadSize", &self.MaxOffLoadSize).field("MinSegmentCount", &self.MinSegmentCount).finish() 5992 } 5993 } 5994 impl ::std::cmp::PartialEq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { eq(&self, other: &Self) -> bool5995 fn eq(&self, other: &Self) -> bool { 5996 self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount 5997 } 5998 } 5999 impl ::std::cmp::Eq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 {} 6000 unsafe impl ::windows::runtime::Abi for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { 6001 type Abi = Self; 6002 type DefaultType = Self; 6003 } 6004 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6005 #[repr(C)] 6006 pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { 6007 pub Encapsulation: u32, 6008 pub MaxOffLoadSize: u32, 6009 pub MinSegmentCount: u32, 6010 pub IpExtensionHeadersSupported: u32, 6011 pub TcpOptionsSupported: u32, 6012 } 6013 impl NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 {} 6014 impl ::std::default::Default for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { default() -> Self6015 fn default() -> Self { 6016 unsafe { ::std::mem::zeroed() } 6017 } 6018 } 6019 impl ::std::fmt::Debug for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6020 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6021 fmt.debug_struct("_IPv6_e__Struct") 6022 .field("Encapsulation", &self.Encapsulation) 6023 .field("MaxOffLoadSize", &self.MaxOffLoadSize) 6024 .field("MinSegmentCount", &self.MinSegmentCount) 6025 .field("IpExtensionHeadersSupported", &self.IpExtensionHeadersSupported) 6026 .field("TcpOptionsSupported", &self.TcpOptionsSupported) 6027 .finish() 6028 } 6029 } 6030 impl ::std::cmp::PartialEq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { eq(&self, other: &Self) -> bool6031 fn eq(&self, other: &Self) -> bool { 6032 self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount && self.IpExtensionHeadersSupported == other.IpExtensionHeadersSupported && self.TcpOptionsSupported == other.TcpOptionsSupported 6033 } 6034 } 6035 impl ::std::cmp::Eq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 {} 6036 unsafe impl ::windows::runtime::Abi for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { 6037 type Abi = Self; 6038 type DefaultType = Self; 6039 } 6040 pub const NDIS_WWAN_WAKE_ON_PACKET_STATE_ENABLED: u32 = 8u32; 6041 pub const NDIS_WWAN_WAKE_ON_PACKET_STATE_SUPPORTED: u32 = 8u32; 6042 pub const NDIS_WWAN_WAKE_ON_REGISTER_STATE_ENABLED: u32 = 1u32; 6043 pub const NDIS_WWAN_WAKE_ON_REGISTER_STATE_SUPPORTED: u32 = 1u32; 6044 pub const NDIS_WWAN_WAKE_ON_SMS_RECEIVE_ENABLED: u32 = 2u32; 6045 pub const NDIS_WWAN_WAKE_ON_SMS_RECEIVE_SUPPORTED: u32 = 2u32; 6046 pub const NDIS_WWAN_WAKE_ON_UICC_CHANGE_ENABLED: u32 = 16u32; 6047 pub const NDIS_WWAN_WAKE_ON_UICC_CHANGE_SUPPORTED: u32 = 16u32; 6048 pub const NDIS_WWAN_WAKE_ON_USSD_RECEIVE_ENABLED: u32 = 4u32; 6049 pub const NDIS_WWAN_WAKE_ON_USSD_RECEIVE_SUPPORTED: u32 = 4u32; 6050 pub const NDK_ADAPTER_FLAG_CQ_INTERRUPT_MODERATION_SUPPORTED: u32 = 4u32; 6051 pub const NDK_ADAPTER_FLAG_CQ_RESIZE_SUPPORTED: u32 = 256u32; 6052 pub const NDK_ADAPTER_FLAG_IN_ORDER_DMA_SUPPORTED: u32 = 1u32; 6053 pub const NDK_ADAPTER_FLAG_LOOPBACK_CONNECTIONS_SUPPORTED: u32 = 65536u32; 6054 pub const NDK_ADAPTER_FLAG_MULTI_ENGINE_SUPPORTED: u32 = 8u32; 6055 pub const NDK_ADAPTER_FLAG_RDMA_READ_LOCAL_INVALIDATE_SUPPORTED: u32 = 16u32; 6056 pub const NDK_ADAPTER_FLAG_RDMA_READ_SINK_NOT_REQUIRED: u32 = 2u32; 6057 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6058 #[repr(C)] 6059 pub struct NDK_ADAPTER_INFO { 6060 pub Version: NDK_VERSION, 6061 pub VendorId: u32, 6062 pub DeviceId: u32, 6063 pub MaxRegistrationSize: usize, 6064 pub MaxWindowSize: usize, 6065 pub FRMRPageCount: u32, 6066 pub MaxInitiatorRequestSge: u32, 6067 pub MaxReceiveRequestSge: u32, 6068 pub MaxReadRequestSge: u32, 6069 pub MaxTransferLength: u32, 6070 pub MaxInlineDataSize: u32, 6071 pub MaxInboundReadLimit: u32, 6072 pub MaxOutboundReadLimit: u32, 6073 pub MaxReceiveQueueDepth: u32, 6074 pub MaxInitiatorQueueDepth: u32, 6075 pub MaxSrqDepth: u32, 6076 pub MaxCqDepth: u32, 6077 pub LargeRequestThreshold: u32, 6078 pub MaxCallerData: u32, 6079 pub MaxCalleeData: u32, 6080 pub AdapterFlags: u32, 6081 pub RdmaTechnology: NDK_RDMA_TECHNOLOGY, 6082 } 6083 impl NDK_ADAPTER_INFO {} 6084 impl ::std::default::Default for NDK_ADAPTER_INFO { default() -> Self6085 fn default() -> Self { 6086 unsafe { ::std::mem::zeroed() } 6087 } 6088 } 6089 impl ::std::fmt::Debug for NDK_ADAPTER_INFO { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6090 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6091 fmt.debug_struct("NDK_ADAPTER_INFO") 6092 .field("Version", &self.Version) 6093 .field("VendorId", &self.VendorId) 6094 .field("DeviceId", &self.DeviceId) 6095 .field("MaxRegistrationSize", &self.MaxRegistrationSize) 6096 .field("MaxWindowSize", &self.MaxWindowSize) 6097 .field("FRMRPageCount", &self.FRMRPageCount) 6098 .field("MaxInitiatorRequestSge", &self.MaxInitiatorRequestSge) 6099 .field("MaxReceiveRequestSge", &self.MaxReceiveRequestSge) 6100 .field("MaxReadRequestSge", &self.MaxReadRequestSge) 6101 .field("MaxTransferLength", &self.MaxTransferLength) 6102 .field("MaxInlineDataSize", &self.MaxInlineDataSize) 6103 .field("MaxInboundReadLimit", &self.MaxInboundReadLimit) 6104 .field("MaxOutboundReadLimit", &self.MaxOutboundReadLimit) 6105 .field("MaxReceiveQueueDepth", &self.MaxReceiveQueueDepth) 6106 .field("MaxInitiatorQueueDepth", &self.MaxInitiatorQueueDepth) 6107 .field("MaxSrqDepth", &self.MaxSrqDepth) 6108 .field("MaxCqDepth", &self.MaxCqDepth) 6109 .field("LargeRequestThreshold", &self.LargeRequestThreshold) 6110 .field("MaxCallerData", &self.MaxCallerData) 6111 .field("MaxCalleeData", &self.MaxCalleeData) 6112 .field("AdapterFlags", &self.AdapterFlags) 6113 .field("RdmaTechnology", &self.RdmaTechnology) 6114 .finish() 6115 } 6116 } 6117 impl ::std::cmp::PartialEq for NDK_ADAPTER_INFO { eq(&self, other: &Self) -> bool6118 fn eq(&self, other: &Self) -> bool { 6119 self.Version == other.Version 6120 && self.VendorId == other.VendorId 6121 && self.DeviceId == other.DeviceId 6122 && self.MaxRegistrationSize == other.MaxRegistrationSize 6123 && self.MaxWindowSize == other.MaxWindowSize 6124 && self.FRMRPageCount == other.FRMRPageCount 6125 && self.MaxInitiatorRequestSge == other.MaxInitiatorRequestSge 6126 && self.MaxReceiveRequestSge == other.MaxReceiveRequestSge 6127 && self.MaxReadRequestSge == other.MaxReadRequestSge 6128 && self.MaxTransferLength == other.MaxTransferLength 6129 && self.MaxInlineDataSize == other.MaxInlineDataSize 6130 && self.MaxInboundReadLimit == other.MaxInboundReadLimit 6131 && self.MaxOutboundReadLimit == other.MaxOutboundReadLimit 6132 && self.MaxReceiveQueueDepth == other.MaxReceiveQueueDepth 6133 && self.MaxInitiatorQueueDepth == other.MaxInitiatorQueueDepth 6134 && self.MaxSrqDepth == other.MaxSrqDepth 6135 && self.MaxCqDepth == other.MaxCqDepth 6136 && self.LargeRequestThreshold == other.LargeRequestThreshold 6137 && self.MaxCallerData == other.MaxCallerData 6138 && self.MaxCalleeData == other.MaxCalleeData 6139 && self.AdapterFlags == other.AdapterFlags 6140 && self.RdmaTechnology == other.RdmaTechnology 6141 } 6142 } 6143 impl ::std::cmp::Eq for NDK_ADAPTER_INFO {} 6144 unsafe impl ::windows::runtime::Abi for NDK_ADAPTER_INFO { 6145 type Abi = Self; 6146 type DefaultType = Self; 6147 } 6148 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 6149 #[repr(transparent)] 6150 pub struct NDK_RDMA_TECHNOLOGY(pub i32); 6151 pub const NdkUndefined: NDK_RDMA_TECHNOLOGY = NDK_RDMA_TECHNOLOGY(0i32); 6152 pub const NdkiWarp: NDK_RDMA_TECHNOLOGY = NDK_RDMA_TECHNOLOGY(1i32); 6153 pub const NdkInfiniBand: NDK_RDMA_TECHNOLOGY = NDK_RDMA_TECHNOLOGY(2i32); 6154 pub const NdkRoCE: NDK_RDMA_TECHNOLOGY = NDK_RDMA_TECHNOLOGY(3i32); 6155 pub const NdkRoCEv2: NDK_RDMA_TECHNOLOGY = NDK_RDMA_TECHNOLOGY(4i32); 6156 pub const NdkMaxTechnology: NDK_RDMA_TECHNOLOGY = NDK_RDMA_TECHNOLOGY(5i32); 6157 impl ::std::convert::From<i32> for NDK_RDMA_TECHNOLOGY { from(value: i32) -> Self6158 fn from(value: i32) -> Self { 6159 Self(value) 6160 } 6161 } 6162 unsafe impl ::windows::runtime::Abi for NDK_RDMA_TECHNOLOGY { 6163 type Abi = Self; 6164 type DefaultType = Self; 6165 } 6166 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6167 #[repr(C)] 6168 pub struct NDK_VERSION { 6169 pub Major: u16, 6170 pub Minor: u16, 6171 } 6172 impl NDK_VERSION {} 6173 impl ::std::default::Default for NDK_VERSION { default() -> Self6174 fn default() -> Self { 6175 unsafe { ::std::mem::zeroed() } 6176 } 6177 } 6178 impl ::std::fmt::Debug for NDK_VERSION { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6179 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6180 fmt.debug_struct("NDK_VERSION").field("Major", &self.Major).field("Minor", &self.Minor).finish() 6181 } 6182 } 6183 impl ::std::cmp::PartialEq for NDK_VERSION { eq(&self, other: &Self) -> bool6184 fn eq(&self, other: &Self) -> bool { 6185 self.Major == other.Major && self.Minor == other.Minor 6186 } 6187 } 6188 impl ::std::cmp::Eq for NDK_VERSION {} 6189 unsafe impl ::windows::runtime::Abi for NDK_VERSION { 6190 type Abi = Self; 6191 type DefaultType = Self; 6192 } 6193 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6194 #[repr(C)] 6195 pub struct NETWORK_ADDRESS { 6196 pub AddressLength: u16, 6197 pub AddressType: u16, 6198 pub Address: [u8; 1], 6199 } 6200 impl NETWORK_ADDRESS {} 6201 impl ::std::default::Default for NETWORK_ADDRESS { default() -> Self6202 fn default() -> Self { 6203 unsafe { ::std::mem::zeroed() } 6204 } 6205 } 6206 impl ::std::fmt::Debug for NETWORK_ADDRESS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6207 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6208 fmt.debug_struct("NETWORK_ADDRESS").field("AddressLength", &self.AddressLength).field("AddressType", &self.AddressType).field("Address", &self.Address).finish() 6209 } 6210 } 6211 impl ::std::cmp::PartialEq for NETWORK_ADDRESS { eq(&self, other: &Self) -> bool6212 fn eq(&self, other: &Self) -> bool { 6213 self.AddressLength == other.AddressLength && self.AddressType == other.AddressType && self.Address == other.Address 6214 } 6215 } 6216 impl ::std::cmp::Eq for NETWORK_ADDRESS {} 6217 unsafe impl ::windows::runtime::Abi for NETWORK_ADDRESS { 6218 type Abi = Self; 6219 type DefaultType = Self; 6220 } 6221 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6222 #[repr(C)] 6223 pub struct NETWORK_ADDRESS_IP { 6224 pub sin_port: u16, 6225 pub IN_ADDR: u32, 6226 pub sin_zero: [u8; 8], 6227 } 6228 impl NETWORK_ADDRESS_IP {} 6229 impl ::std::default::Default for NETWORK_ADDRESS_IP { default() -> Self6230 fn default() -> Self { 6231 unsafe { ::std::mem::zeroed() } 6232 } 6233 } 6234 impl ::std::fmt::Debug for NETWORK_ADDRESS_IP { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6235 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6236 fmt.debug_struct("NETWORK_ADDRESS_IP").field("sin_port", &self.sin_port).field("IN_ADDR", &self.IN_ADDR).field("sin_zero", &self.sin_zero).finish() 6237 } 6238 } 6239 impl ::std::cmp::PartialEq for NETWORK_ADDRESS_IP { eq(&self, other: &Self) -> bool6240 fn eq(&self, other: &Self) -> bool { 6241 self.sin_port == other.sin_port && self.IN_ADDR == other.IN_ADDR && self.sin_zero == other.sin_zero 6242 } 6243 } 6244 impl ::std::cmp::Eq for NETWORK_ADDRESS_IP {} 6245 unsafe impl ::windows::runtime::Abi for NETWORK_ADDRESS_IP { 6246 type Abi = Self; 6247 type DefaultType = Self; 6248 } 6249 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6250 #[repr(C)] 6251 pub struct NETWORK_ADDRESS_IP6 { 6252 pub sin6_port: u16, 6253 pub sin6_flowinfo: u32, 6254 pub sin6_addr: [u16; 8], 6255 pub sin6_scope_id: u32, 6256 } 6257 impl NETWORK_ADDRESS_IP6 {} 6258 impl ::std::default::Default for NETWORK_ADDRESS_IP6 { default() -> Self6259 fn default() -> Self { 6260 unsafe { ::std::mem::zeroed() } 6261 } 6262 } 6263 impl ::std::fmt::Debug for NETWORK_ADDRESS_IP6 { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6264 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6265 fmt.debug_struct("NETWORK_ADDRESS_IP6").field("sin6_port", &self.sin6_port).field("sin6_flowinfo", &self.sin6_flowinfo).field("sin6_addr", &self.sin6_addr).field("sin6_scope_id", &self.sin6_scope_id).finish() 6266 } 6267 } 6268 impl ::std::cmp::PartialEq for NETWORK_ADDRESS_IP6 { eq(&self, other: &Self) -> bool6269 fn eq(&self, other: &Self) -> bool { 6270 self.sin6_port == other.sin6_port && self.sin6_flowinfo == other.sin6_flowinfo && self.sin6_addr == other.sin6_addr && self.sin6_scope_id == other.sin6_scope_id 6271 } 6272 } 6273 impl ::std::cmp::Eq for NETWORK_ADDRESS_IP6 {} 6274 unsafe impl ::windows::runtime::Abi for NETWORK_ADDRESS_IP6 { 6275 type Abi = Self; 6276 type DefaultType = Self; 6277 } 6278 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6279 #[repr(C)] 6280 pub struct NETWORK_ADDRESS_IPX { 6281 pub NetworkAddress: u32, 6282 pub NodeAddress: [u8; 6], 6283 pub Socket: u16, 6284 } 6285 impl NETWORK_ADDRESS_IPX {} 6286 impl ::std::default::Default for NETWORK_ADDRESS_IPX { default() -> Self6287 fn default() -> Self { 6288 unsafe { ::std::mem::zeroed() } 6289 } 6290 } 6291 impl ::std::fmt::Debug for NETWORK_ADDRESS_IPX { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6292 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6293 fmt.debug_struct("NETWORK_ADDRESS_IPX").field("NetworkAddress", &self.NetworkAddress).field("NodeAddress", &self.NodeAddress).field("Socket", &self.Socket).finish() 6294 } 6295 } 6296 impl ::std::cmp::PartialEq for NETWORK_ADDRESS_IPX { eq(&self, other: &Self) -> bool6297 fn eq(&self, other: &Self) -> bool { 6298 self.NetworkAddress == other.NetworkAddress && self.NodeAddress == other.NodeAddress && self.Socket == other.Socket 6299 } 6300 } 6301 impl ::std::cmp::Eq for NETWORK_ADDRESS_IPX {} 6302 unsafe impl ::windows::runtime::Abi for NETWORK_ADDRESS_IPX { 6303 type Abi = Self; 6304 type DefaultType = Self; 6305 } 6306 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6307 #[repr(C)] 6308 pub struct NETWORK_ADDRESS_LIST { 6309 pub AddressCount: i32, 6310 pub AddressType: u16, 6311 pub Address: [NETWORK_ADDRESS; 1], 6312 } 6313 impl NETWORK_ADDRESS_LIST {} 6314 impl ::std::default::Default for NETWORK_ADDRESS_LIST { default() -> Self6315 fn default() -> Self { 6316 unsafe { ::std::mem::zeroed() } 6317 } 6318 } 6319 impl ::std::fmt::Debug for NETWORK_ADDRESS_LIST { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6320 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6321 fmt.debug_struct("NETWORK_ADDRESS_LIST").field("AddressCount", &self.AddressCount).field("AddressType", &self.AddressType).field("Address", &self.Address).finish() 6322 } 6323 } 6324 impl ::std::cmp::PartialEq for NETWORK_ADDRESS_LIST { eq(&self, other: &Self) -> bool6325 fn eq(&self, other: &Self) -> bool { 6326 self.AddressCount == other.AddressCount && self.AddressType == other.AddressType && self.Address == other.Address 6327 } 6328 } 6329 impl ::std::cmp::Eq for NETWORK_ADDRESS_LIST {} 6330 unsafe impl ::windows::runtime::Abi for NETWORK_ADDRESS_LIST { 6331 type Abi = Self; 6332 type DefaultType = Self; 6333 } 6334 pub const NdisHashFunctionReserved1: u32 = 2u32; 6335 pub const NdisHashFunctionReserved2: u32 = 4u32; 6336 pub const NdisHashFunctionReserved3: u32 = 8u32; 6337 pub const NdisHashFunctionToeplitz: u32 = 1u32; 6338 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6339 #[repr(C)] 6340 pub struct OFFLOAD_ALGO_INFO { 6341 pub algoIdentifier: u32, 6342 pub algoKeylen: u32, 6343 pub algoRounds: u32, 6344 } 6345 impl OFFLOAD_ALGO_INFO {} 6346 impl ::std::default::Default for OFFLOAD_ALGO_INFO { default() -> Self6347 fn default() -> Self { 6348 unsafe { ::std::mem::zeroed() } 6349 } 6350 } 6351 impl ::std::fmt::Debug for OFFLOAD_ALGO_INFO { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6352 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6353 fmt.debug_struct("OFFLOAD_ALGO_INFO").field("algoIdentifier", &self.algoIdentifier).field("algoKeylen", &self.algoKeylen).field("algoRounds", &self.algoRounds).finish() 6354 } 6355 } 6356 impl ::std::cmp::PartialEq for OFFLOAD_ALGO_INFO { eq(&self, other: &Self) -> bool6357 fn eq(&self, other: &Self) -> bool { 6358 self.algoIdentifier == other.algoIdentifier && self.algoKeylen == other.algoKeylen && self.algoRounds == other.algoRounds 6359 } 6360 } 6361 impl ::std::cmp::Eq for OFFLOAD_ALGO_INFO {} 6362 unsafe impl ::windows::runtime::Abi for OFFLOAD_ALGO_INFO { 6363 type Abi = Self; 6364 type DefaultType = Self; 6365 } 6366 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 6367 #[repr(transparent)] 6368 pub struct OFFLOAD_CONF_ALGO(pub i32); 6369 pub const OFFLOAD_IPSEC_CONF_NONE: OFFLOAD_CONF_ALGO = OFFLOAD_CONF_ALGO(0i32); 6370 pub const OFFLOAD_IPSEC_CONF_DES: OFFLOAD_CONF_ALGO = OFFLOAD_CONF_ALGO(1i32); 6371 pub const OFFLOAD_IPSEC_CONF_RESERVED: OFFLOAD_CONF_ALGO = OFFLOAD_CONF_ALGO(2i32); 6372 pub const OFFLOAD_IPSEC_CONF_3_DES: OFFLOAD_CONF_ALGO = OFFLOAD_CONF_ALGO(3i32); 6373 pub const OFFLOAD_IPSEC_CONF_MAX: OFFLOAD_CONF_ALGO = OFFLOAD_CONF_ALGO(4i32); 6374 impl ::std::convert::From<i32> for OFFLOAD_CONF_ALGO { from(value: i32) -> Self6375 fn from(value: i32) -> Self { 6376 Self(value) 6377 } 6378 } 6379 unsafe impl ::windows::runtime::Abi for OFFLOAD_CONF_ALGO { 6380 type Abi = Self; 6381 type DefaultType = Self; 6382 } 6383 pub const OFFLOAD_INBOUND_SA: u32 = 1u32; 6384 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 6385 #[repr(transparent)] 6386 pub struct OFFLOAD_INTEGRITY_ALGO(pub i32); 6387 pub const OFFLOAD_IPSEC_INTEGRITY_NONE: OFFLOAD_INTEGRITY_ALGO = OFFLOAD_INTEGRITY_ALGO(0i32); 6388 pub const OFFLOAD_IPSEC_INTEGRITY_MD5: OFFLOAD_INTEGRITY_ALGO = OFFLOAD_INTEGRITY_ALGO(1i32); 6389 pub const OFFLOAD_IPSEC_INTEGRITY_SHA: OFFLOAD_INTEGRITY_ALGO = OFFLOAD_INTEGRITY_ALGO(2i32); 6390 pub const OFFLOAD_IPSEC_INTEGRITY_MAX: OFFLOAD_INTEGRITY_ALGO = OFFLOAD_INTEGRITY_ALGO(3i32); 6391 impl ::std::convert::From<i32> for OFFLOAD_INTEGRITY_ALGO { from(value: i32) -> Self6392 fn from(value: i32) -> Self { 6393 Self(value) 6394 } 6395 } 6396 unsafe impl ::windows::runtime::Abi for OFFLOAD_INTEGRITY_ALGO { 6397 type Abi = Self; 6398 type DefaultType = Self; 6399 } 6400 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6401 #[repr(C)] 6402 #[cfg(feature = "Win32_Foundation")] 6403 pub struct OFFLOAD_IPSEC_ADD_SA { 6404 pub SrcAddr: u32, 6405 pub SrcMask: u32, 6406 pub DestAddr: u32, 6407 pub DestMask: u32, 6408 pub Protocol: u32, 6409 pub SrcPort: u16, 6410 pub DestPort: u16, 6411 pub SrcTunnelAddr: u32, 6412 pub DestTunnelAddr: u32, 6413 pub Flags: u16, 6414 pub NumSAs: i16, 6415 pub SecAssoc: [OFFLOAD_SECURITY_ASSOCIATION; 3], 6416 pub OffloadHandle: super::super::Foundation::HANDLE, 6417 pub KeyLen: u32, 6418 pub KeyMat: [u8; 1], 6419 } 6420 #[cfg(feature = "Win32_Foundation")] 6421 impl OFFLOAD_IPSEC_ADD_SA {} 6422 #[cfg(feature = "Win32_Foundation")] 6423 impl ::std::default::Default for OFFLOAD_IPSEC_ADD_SA { default() -> Self6424 fn default() -> Self { 6425 unsafe { ::std::mem::zeroed() } 6426 } 6427 } 6428 #[cfg(feature = "Win32_Foundation")] 6429 impl ::std::fmt::Debug for OFFLOAD_IPSEC_ADD_SA { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6430 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6431 fmt.debug_struct("OFFLOAD_IPSEC_ADD_SA") 6432 .field("SrcAddr", &self.SrcAddr) 6433 .field("SrcMask", &self.SrcMask) 6434 .field("DestAddr", &self.DestAddr) 6435 .field("DestMask", &self.DestMask) 6436 .field("Protocol", &self.Protocol) 6437 .field("SrcPort", &self.SrcPort) 6438 .field("DestPort", &self.DestPort) 6439 .field("SrcTunnelAddr", &self.SrcTunnelAddr) 6440 .field("DestTunnelAddr", &self.DestTunnelAddr) 6441 .field("Flags", &self.Flags) 6442 .field("NumSAs", &self.NumSAs) 6443 .field("SecAssoc", &self.SecAssoc) 6444 .field("OffloadHandle", &self.OffloadHandle) 6445 .field("KeyLen", &self.KeyLen) 6446 .field("KeyMat", &self.KeyMat) 6447 .finish() 6448 } 6449 } 6450 #[cfg(feature = "Win32_Foundation")] 6451 impl ::std::cmp::PartialEq for OFFLOAD_IPSEC_ADD_SA { eq(&self, other: &Self) -> bool6452 fn eq(&self, other: &Self) -> bool { 6453 self.SrcAddr == other.SrcAddr 6454 && self.SrcMask == other.SrcMask 6455 && self.DestAddr == other.DestAddr 6456 && self.DestMask == other.DestMask 6457 && self.Protocol == other.Protocol 6458 && self.SrcPort == other.SrcPort 6459 && self.DestPort == other.DestPort 6460 && self.SrcTunnelAddr == other.SrcTunnelAddr 6461 && self.DestTunnelAddr == other.DestTunnelAddr 6462 && self.Flags == other.Flags 6463 && self.NumSAs == other.NumSAs 6464 && self.SecAssoc == other.SecAssoc 6465 && self.OffloadHandle == other.OffloadHandle 6466 && self.KeyLen == other.KeyLen 6467 && self.KeyMat == other.KeyMat 6468 } 6469 } 6470 #[cfg(feature = "Win32_Foundation")] 6471 impl ::std::cmp::Eq for OFFLOAD_IPSEC_ADD_SA {} 6472 #[cfg(feature = "Win32_Foundation")] 6473 unsafe impl ::windows::runtime::Abi for OFFLOAD_IPSEC_ADD_SA { 6474 type Abi = Self; 6475 type DefaultType = Self; 6476 } 6477 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6478 #[repr(C)] 6479 #[cfg(feature = "Win32_Foundation")] 6480 pub struct OFFLOAD_IPSEC_ADD_UDPESP_SA { 6481 pub SrcAddr: u32, 6482 pub SrcMask: u32, 6483 pub DstAddr: u32, 6484 pub DstMask: u32, 6485 pub Protocol: u32, 6486 pub SrcPort: u16, 6487 pub DstPort: u16, 6488 pub SrcTunnelAddr: u32, 6489 pub DstTunnelAddr: u32, 6490 pub Flags: u16, 6491 pub NumSAs: i16, 6492 pub SecAssoc: [OFFLOAD_SECURITY_ASSOCIATION; 3], 6493 pub OffloadHandle: super::super::Foundation::HANDLE, 6494 pub EncapTypeEntry: OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY, 6495 pub EncapTypeEntryOffldHandle: super::super::Foundation::HANDLE, 6496 pub KeyLen: u32, 6497 pub KeyMat: [u8; 1], 6498 } 6499 #[cfg(feature = "Win32_Foundation")] 6500 impl OFFLOAD_IPSEC_ADD_UDPESP_SA {} 6501 #[cfg(feature = "Win32_Foundation")] 6502 impl ::std::default::Default for OFFLOAD_IPSEC_ADD_UDPESP_SA { default() -> Self6503 fn default() -> Self { 6504 unsafe { ::std::mem::zeroed() } 6505 } 6506 } 6507 #[cfg(feature = "Win32_Foundation")] 6508 impl ::std::fmt::Debug for OFFLOAD_IPSEC_ADD_UDPESP_SA { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6509 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6510 fmt.debug_struct("OFFLOAD_IPSEC_ADD_UDPESP_SA") 6511 .field("SrcAddr", &self.SrcAddr) 6512 .field("SrcMask", &self.SrcMask) 6513 .field("DstAddr", &self.DstAddr) 6514 .field("DstMask", &self.DstMask) 6515 .field("Protocol", &self.Protocol) 6516 .field("SrcPort", &self.SrcPort) 6517 .field("DstPort", &self.DstPort) 6518 .field("SrcTunnelAddr", &self.SrcTunnelAddr) 6519 .field("DstTunnelAddr", &self.DstTunnelAddr) 6520 .field("Flags", &self.Flags) 6521 .field("NumSAs", &self.NumSAs) 6522 .field("SecAssoc", &self.SecAssoc) 6523 .field("OffloadHandle", &self.OffloadHandle) 6524 .field("EncapTypeEntry", &self.EncapTypeEntry) 6525 .field("EncapTypeEntryOffldHandle", &self.EncapTypeEntryOffldHandle) 6526 .field("KeyLen", &self.KeyLen) 6527 .field("KeyMat", &self.KeyMat) 6528 .finish() 6529 } 6530 } 6531 #[cfg(feature = "Win32_Foundation")] 6532 impl ::std::cmp::PartialEq for OFFLOAD_IPSEC_ADD_UDPESP_SA { eq(&self, other: &Self) -> bool6533 fn eq(&self, other: &Self) -> bool { 6534 self.SrcAddr == other.SrcAddr 6535 && self.SrcMask == other.SrcMask 6536 && self.DstAddr == other.DstAddr 6537 && self.DstMask == other.DstMask 6538 && self.Protocol == other.Protocol 6539 && self.SrcPort == other.SrcPort 6540 && self.DstPort == other.DstPort 6541 && self.SrcTunnelAddr == other.SrcTunnelAddr 6542 && self.DstTunnelAddr == other.DstTunnelAddr 6543 && self.Flags == other.Flags 6544 && self.NumSAs == other.NumSAs 6545 && self.SecAssoc == other.SecAssoc 6546 && self.OffloadHandle == other.OffloadHandle 6547 && self.EncapTypeEntry == other.EncapTypeEntry 6548 && self.EncapTypeEntryOffldHandle == other.EncapTypeEntryOffldHandle 6549 && self.KeyLen == other.KeyLen 6550 && self.KeyMat == other.KeyMat 6551 } 6552 } 6553 #[cfg(feature = "Win32_Foundation")] 6554 impl ::std::cmp::Eq for OFFLOAD_IPSEC_ADD_UDPESP_SA {} 6555 #[cfg(feature = "Win32_Foundation")] 6556 unsafe impl ::windows::runtime::Abi for OFFLOAD_IPSEC_ADD_UDPESP_SA { 6557 type Abi = Self; 6558 type DefaultType = Self; 6559 } 6560 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6561 #[repr(C)] 6562 #[cfg(feature = "Win32_Foundation")] 6563 pub struct OFFLOAD_IPSEC_DELETE_SA { 6564 pub OffloadHandle: super::super::Foundation::HANDLE, 6565 } 6566 #[cfg(feature = "Win32_Foundation")] 6567 impl OFFLOAD_IPSEC_DELETE_SA {} 6568 #[cfg(feature = "Win32_Foundation")] 6569 impl ::std::default::Default for OFFLOAD_IPSEC_DELETE_SA { default() -> Self6570 fn default() -> Self { 6571 unsafe { ::std::mem::zeroed() } 6572 } 6573 } 6574 #[cfg(feature = "Win32_Foundation")] 6575 impl ::std::fmt::Debug for OFFLOAD_IPSEC_DELETE_SA { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6576 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6577 fmt.debug_struct("OFFLOAD_IPSEC_DELETE_SA").field("OffloadHandle", &self.OffloadHandle).finish() 6578 } 6579 } 6580 #[cfg(feature = "Win32_Foundation")] 6581 impl ::std::cmp::PartialEq for OFFLOAD_IPSEC_DELETE_SA { eq(&self, other: &Self) -> bool6582 fn eq(&self, other: &Self) -> bool { 6583 self.OffloadHandle == other.OffloadHandle 6584 } 6585 } 6586 #[cfg(feature = "Win32_Foundation")] 6587 impl ::std::cmp::Eq for OFFLOAD_IPSEC_DELETE_SA {} 6588 #[cfg(feature = "Win32_Foundation")] 6589 unsafe impl ::windows::runtime::Abi for OFFLOAD_IPSEC_DELETE_SA { 6590 type Abi = Self; 6591 type DefaultType = Self; 6592 } 6593 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6594 #[repr(C)] 6595 #[cfg(feature = "Win32_Foundation")] 6596 pub struct OFFLOAD_IPSEC_DELETE_UDPESP_SA { 6597 pub OffloadHandle: super::super::Foundation::HANDLE, 6598 pub EncapTypeEntryOffldHandle: super::super::Foundation::HANDLE, 6599 } 6600 #[cfg(feature = "Win32_Foundation")] 6601 impl OFFLOAD_IPSEC_DELETE_UDPESP_SA {} 6602 #[cfg(feature = "Win32_Foundation")] 6603 impl ::std::default::Default for OFFLOAD_IPSEC_DELETE_UDPESP_SA { default() -> Self6604 fn default() -> Self { 6605 unsafe { ::std::mem::zeroed() } 6606 } 6607 } 6608 #[cfg(feature = "Win32_Foundation")] 6609 impl ::std::fmt::Debug for OFFLOAD_IPSEC_DELETE_UDPESP_SA { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6610 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6611 fmt.debug_struct("OFFLOAD_IPSEC_DELETE_UDPESP_SA").field("OffloadHandle", &self.OffloadHandle).field("EncapTypeEntryOffldHandle", &self.EncapTypeEntryOffldHandle).finish() 6612 } 6613 } 6614 #[cfg(feature = "Win32_Foundation")] 6615 impl ::std::cmp::PartialEq for OFFLOAD_IPSEC_DELETE_UDPESP_SA { eq(&self, other: &Self) -> bool6616 fn eq(&self, other: &Self) -> bool { 6617 self.OffloadHandle == other.OffloadHandle && self.EncapTypeEntryOffldHandle == other.EncapTypeEntryOffldHandle 6618 } 6619 } 6620 #[cfg(feature = "Win32_Foundation")] 6621 impl ::std::cmp::Eq for OFFLOAD_IPSEC_DELETE_UDPESP_SA {} 6622 #[cfg(feature = "Win32_Foundation")] 6623 unsafe impl ::windows::runtime::Abi for OFFLOAD_IPSEC_DELETE_UDPESP_SA { 6624 type Abi = Self; 6625 type DefaultType = Self; 6626 } 6627 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6628 #[repr(C)] 6629 pub struct OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { 6630 pub UdpEncapType: UDP_ENCAP_TYPE, 6631 pub DstEncapPort: u16, 6632 } 6633 impl OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY {} 6634 impl ::std::default::Default for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { default() -> Self6635 fn default() -> Self { 6636 unsafe { ::std::mem::zeroed() } 6637 } 6638 } 6639 impl ::std::fmt::Debug for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6640 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6641 fmt.debug_struct("OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY").field("UdpEncapType", &self.UdpEncapType).field("DstEncapPort", &self.DstEncapPort).finish() 6642 } 6643 } 6644 impl ::std::cmp::PartialEq for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { eq(&self, other: &Self) -> bool6645 fn eq(&self, other: &Self) -> bool { 6646 self.UdpEncapType == other.UdpEncapType && self.DstEncapPort == other.DstEncapPort 6647 } 6648 } 6649 impl ::std::cmp::Eq for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY {} 6650 unsafe impl ::windows::runtime::Abi for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { 6651 type Abi = Self; 6652 type DefaultType = Self; 6653 } 6654 pub const OFFLOAD_MAX_SAS: u32 = 3u32; 6655 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 6656 #[repr(transparent)] 6657 pub struct OFFLOAD_OPERATION_E(pub i32); 6658 pub const AUTHENTICATE: OFFLOAD_OPERATION_E = OFFLOAD_OPERATION_E(1i32); 6659 pub const ENCRYPT: OFFLOAD_OPERATION_E = OFFLOAD_OPERATION_E(2i32); 6660 impl ::std::convert::From<i32> for OFFLOAD_OPERATION_E { from(value: i32) -> Self6661 fn from(value: i32) -> Self { 6662 Self(value) 6663 } 6664 } 6665 unsafe impl ::windows::runtime::Abi for OFFLOAD_OPERATION_E { 6666 type Abi = Self; 6667 type DefaultType = Self; 6668 } 6669 pub const OFFLOAD_OUTBOUND_SA: u32 = 2u32; 6670 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 6671 #[repr(C)] 6672 pub struct OFFLOAD_SECURITY_ASSOCIATION { 6673 pub Operation: OFFLOAD_OPERATION_E, 6674 pub SPI: u32, 6675 pub IntegrityAlgo: OFFLOAD_ALGO_INFO, 6676 pub ConfAlgo: OFFLOAD_ALGO_INFO, 6677 pub Reserved: OFFLOAD_ALGO_INFO, 6678 } 6679 impl OFFLOAD_SECURITY_ASSOCIATION {} 6680 impl ::std::default::Default for OFFLOAD_SECURITY_ASSOCIATION { default() -> Self6681 fn default() -> Self { 6682 unsafe { ::std::mem::zeroed() } 6683 } 6684 } 6685 impl ::std::fmt::Debug for OFFLOAD_SECURITY_ASSOCIATION { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6686 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 6687 fmt.debug_struct("OFFLOAD_SECURITY_ASSOCIATION").field("Operation", &self.Operation).field("SPI", &self.SPI).field("IntegrityAlgo", &self.IntegrityAlgo).field("ConfAlgo", &self.ConfAlgo).field("Reserved", &self.Reserved).finish() 6688 } 6689 } 6690 impl ::std::cmp::PartialEq for OFFLOAD_SECURITY_ASSOCIATION { eq(&self, other: &Self) -> bool6691 fn eq(&self, other: &Self) -> bool { 6692 self.Operation == other.Operation && self.SPI == other.SPI && self.IntegrityAlgo == other.IntegrityAlgo && self.ConfAlgo == other.ConfAlgo && self.Reserved == other.Reserved 6693 } 6694 } 6695 impl ::std::cmp::Eq for OFFLOAD_SECURITY_ASSOCIATION {} 6696 unsafe impl ::windows::runtime::Abi for OFFLOAD_SECURITY_ASSOCIATION { 6697 type Abi = Self; 6698 type DefaultType = Self; 6699 } 6700 pub const OID_1394_LOCAL_NODE_INFO: u32 = 201392385u32; 6701 pub const OID_1394_VC_INFO: u32 = 201392386u32; 6702 pub const OID_802_11_ADD_KEY: u32 = 218169629u32; 6703 pub const OID_802_11_ADD_WEP: u32 = 218169619u32; 6704 pub const OID_802_11_ASSOCIATION_INFORMATION: u32 = 218169631u32; 6705 pub const OID_802_11_AUTHENTICATION_MODE: u32 = 218169624u32; 6706 pub const OID_802_11_BSSID: u32 = 218169601u32; 6707 pub const OID_802_11_BSSID_LIST: u32 = 218169879u32; 6708 pub const OID_802_11_BSSID_LIST_SCAN: u32 = 218169626u32; 6709 pub const OID_802_11_CAPABILITY: u32 = 218169634u32; 6710 pub const OID_802_11_CONFIGURATION: u32 = 218169873u32; 6711 pub const OID_802_11_DESIRED_RATES: u32 = 218169872u32; 6712 pub const OID_802_11_DISASSOCIATE: u32 = 218169621u32; 6713 pub const OID_802_11_ENCRYPTION_STATUS: u32 = 218169627u32; 6714 pub const OID_802_11_FRAGMENTATION_THRESHOLD: u32 = 218169865u32; 6715 pub const OID_802_11_INFRASTRUCTURE_MODE: u32 = 218169608u32; 6716 pub const OID_802_11_MEDIA_STREAM_MODE: u32 = 218169633u32; 6717 pub const OID_802_11_NETWORK_TYPES_SUPPORTED: u32 = 218169859u32; 6718 pub const OID_802_11_NETWORK_TYPE_IN_USE: u32 = 218169860u32; 6719 pub const OID_802_11_NON_BCAST_SSID_LIST: u32 = 218169636u32; 6720 pub const OID_802_11_NUMBER_OF_ANTENNAS: u32 = 218169867u32; 6721 pub const OID_802_11_PMKID: u32 = 218169635u32; 6722 pub const OID_802_11_POWER_MODE: u32 = 218169878u32; 6723 pub const OID_802_11_PRIVACY_FILTER: u32 = 218169625u32; 6724 pub const OID_802_11_RADIO_STATUS: u32 = 218169637u32; 6725 pub const OID_802_11_RELOAD_DEFAULTS: u32 = 218169628u32; 6726 pub const OID_802_11_REMOVE_KEY: u32 = 218169630u32; 6727 pub const OID_802_11_REMOVE_WEP: u32 = 218169620u32; 6728 pub const OID_802_11_RSSI: u32 = 218169862u32; 6729 pub const OID_802_11_RSSI_TRIGGER: u32 = 218169863u32; 6730 pub const OID_802_11_RTS_THRESHOLD: u32 = 218169866u32; 6731 pub const OID_802_11_RX_ANTENNA_SELECTED: u32 = 218169868u32; 6732 pub const OID_802_11_SSID: u32 = 218169602u32; 6733 pub const OID_802_11_STATISTICS: u32 = 218235410u32; 6734 pub const OID_802_11_SUPPORTED_RATES: u32 = 218169870u32; 6735 pub const OID_802_11_TEST: u32 = 218169632u32; 6736 pub const OID_802_11_TX_ANTENNA_SELECTED: u32 = 218169869u32; 6737 pub const OID_802_11_TX_POWER_LEVEL: u32 = 218169861u32; 6738 pub const OID_802_11_WEP_STATUS: u32 = 218169627u32; 6739 pub const OID_802_3_ADD_MULTICAST_ADDRESS: u32 = 16843272u32; 6740 pub const OID_802_3_CURRENT_ADDRESS: u32 = 16843010u32; 6741 pub const OID_802_3_DELETE_MULTICAST_ADDRESS: u32 = 16843273u32; 6742 pub const OID_802_3_MAC_OPTIONS: u32 = 16843013u32; 6743 pub const OID_802_3_MAXIMUM_LIST_SIZE: u32 = 16843012u32; 6744 pub const OID_802_3_MULTICAST_LIST: u32 = 16843011u32; 6745 pub const OID_802_3_PERMANENT_ADDRESS: u32 = 16843009u32; 6746 pub const OID_802_3_RCV_ERROR_ALIGNMENT: u32 = 16908545u32; 6747 pub const OID_802_3_RCV_OVERRUN: u32 = 16908803u32; 6748 pub const OID_802_3_XMIT_DEFERRED: u32 = 16908801u32; 6749 pub const OID_802_3_XMIT_HEARTBEAT_FAILURE: u32 = 16908805u32; 6750 pub const OID_802_3_XMIT_LATE_COLLISIONS: u32 = 16908807u32; 6751 pub const OID_802_3_XMIT_MAX_COLLISIONS: u32 = 16908802u32; 6752 pub const OID_802_3_XMIT_MORE_COLLISIONS: u32 = 16908547u32; 6753 pub const OID_802_3_XMIT_ONE_COLLISION: u32 = 16908546u32; 6754 pub const OID_802_3_XMIT_TIMES_CRS_LOST: u32 = 16908806u32; 6755 pub const OID_802_3_XMIT_UNDERRUN: u32 = 16908804u32; 6756 pub const OID_802_5_ABORT_DELIMETERS: u32 = 33686019u32; 6757 pub const OID_802_5_AC_ERRORS: u32 = 33686018u32; 6758 pub const OID_802_5_BURST_ERRORS: u32 = 33686017u32; 6759 pub const OID_802_5_CURRENT_ADDRESS: u32 = 33620226u32; 6760 pub const OID_802_5_CURRENT_FUNCTIONAL: u32 = 33620227u32; 6761 pub const OID_802_5_CURRENT_GROUP: u32 = 33620228u32; 6762 pub const OID_802_5_CURRENT_RING_STATE: u32 = 33620231u32; 6763 pub const OID_802_5_CURRENT_RING_STATUS: u32 = 33620230u32; 6764 pub const OID_802_5_FRAME_COPIED_ERRORS: u32 = 33686020u32; 6765 pub const OID_802_5_FREQUENCY_ERRORS: u32 = 33686021u32; 6766 pub const OID_802_5_INTERNAL_ERRORS: u32 = 33686023u32; 6767 pub const OID_802_5_LAST_OPEN_STATUS: u32 = 33620229u32; 6768 pub const OID_802_5_LINE_ERRORS: u32 = 33685761u32; 6769 pub const OID_802_5_LOST_FRAMES: u32 = 33685762u32; 6770 pub const OID_802_5_PERMANENT_ADDRESS: u32 = 33620225u32; 6771 pub const OID_802_5_TOKEN_ERRORS: u32 = 33686022u32; 6772 pub const OID_ARCNET_CURRENT_ADDRESS: u32 = 100729090u32; 6773 pub const OID_ARCNET_PERMANENT_ADDRESS: u32 = 100729089u32; 6774 pub const OID_ARCNET_RECONFIGURATIONS: u32 = 100794881u32; 6775 pub const OID_ATM_ACQUIRE_ACCESS_NET_RESOURCES: u32 = 134283779u32; 6776 pub const OID_ATM_ALIGNMENT_REQUIRED: u32 = 134283784u32; 6777 pub const OID_ATM_ASSIGNED_VPI: u32 = 134283778u32; 6778 pub const OID_ATM_CALL_ALERTING: u32 = 134283788u32; 6779 pub const OID_ATM_CALL_NOTIFY: u32 = 134283790u32; 6780 pub const OID_ATM_CALL_PROCEEDING: u32 = 134283787u32; 6781 pub const OID_ATM_CELLS_HEC_ERROR: u32 = 134349314u32; 6782 pub const OID_ATM_DIGITAL_BROADCAST_VPIVCI: u32 = 134283782u32; 6783 pub const OID_ATM_GET_NEAREST_FLOW: u32 = 134283783u32; 6784 pub const OID_ATM_HW_CURRENT_ADDRESS: u32 = 134283524u32; 6785 pub const OID_ATM_ILMI_VPIVCI: u32 = 134283781u32; 6786 pub const OID_ATM_LECS_ADDRESS: u32 = 134283785u32; 6787 pub const OID_ATM_MAX_AAL0_PACKET_SIZE: u32 = 134283528u32; 6788 pub const OID_ATM_MAX_AAL1_PACKET_SIZE: u32 = 134283529u32; 6789 pub const OID_ATM_MAX_AAL34_PACKET_SIZE: u32 = 134283530u32; 6790 pub const OID_ATM_MAX_AAL5_PACKET_SIZE: u32 = 134283531u32; 6791 pub const OID_ATM_MAX_ACTIVE_VCI_BITS: u32 = 134283526u32; 6792 pub const OID_ATM_MAX_ACTIVE_VCS: u32 = 134283525u32; 6793 pub const OID_ATM_MAX_ACTIVE_VPI_BITS: u32 = 134283527u32; 6794 pub const OID_ATM_MY_IP_NM_ADDRESS: u32 = 134283791u32; 6795 pub const OID_ATM_PARTY_ALERTING: u32 = 134283789u32; 6796 pub const OID_ATM_RCV_CELLS_DROPPED: u32 = 134349059u32; 6797 pub const OID_ATM_RCV_CELLS_OK: u32 = 134349057u32; 6798 pub const OID_ATM_RCV_INVALID_VPI_VCI: u32 = 134349313u32; 6799 pub const OID_ATM_RCV_REASSEMBLY_ERROR: u32 = 134349315u32; 6800 pub const OID_ATM_RELEASE_ACCESS_NET_RESOURCES: u32 = 134283780u32; 6801 pub const OID_ATM_SERVICE_ADDRESS: u32 = 134283786u32; 6802 pub const OID_ATM_SIGNALING_VPIVCI: u32 = 134283777u32; 6803 pub const OID_ATM_SUPPORTED_AAL_TYPES: u32 = 134283523u32; 6804 pub const OID_ATM_SUPPORTED_SERVICE_CATEGORY: u32 = 134283522u32; 6805 pub const OID_ATM_SUPPORTED_VC_RATES: u32 = 134283521u32; 6806 pub const OID_ATM_XMIT_CELLS_OK: u32 = 134349058u32; 6807 pub const OID_CO_ADDRESS_CHANGE: u32 = 4261412871u32; 6808 pub const OID_CO_ADD_ADDRESS: u32 = 4261412868u32; 6809 pub const OID_CO_ADD_PVC: u32 = 4261412865u32; 6810 pub const OID_CO_AF_CLOSE: u32 = 4261412874u32; 6811 pub const OID_CO_DELETE_ADDRESS: u32 = 4261412869u32; 6812 pub const OID_CO_DELETE_PVC: u32 = 4261412866u32; 6813 pub const OID_CO_GET_ADDRESSES: u32 = 4261412870u32; 6814 pub const OID_CO_GET_CALL_INFORMATION: u32 = 4261412867u32; 6815 pub const OID_CO_SIGNALING_DISABLED: u32 = 4261412873u32; 6816 pub const OID_CO_SIGNALING_ENABLED: u32 = 4261412872u32; 6817 pub const OID_CO_TAPI_ADDRESS_CAPS: u32 = 4261416963u32; 6818 pub const OID_CO_TAPI_CM_CAPS: u32 = 4261416961u32; 6819 pub const OID_CO_TAPI_DONT_REPORT_DIGITS: u32 = 4261416969u32; 6820 pub const OID_CO_TAPI_GET_CALL_DIAGNOSTICS: u32 = 4261416967u32; 6821 pub const OID_CO_TAPI_LINE_CAPS: u32 = 4261416962u32; 6822 pub const OID_CO_TAPI_REPORT_DIGITS: u32 = 4261416968u32; 6823 pub const OID_CO_TAPI_TRANSLATE_NDIS_CALLPARAMS: u32 = 4261416965u32; 6824 pub const OID_CO_TAPI_TRANSLATE_TAPI_CALLPARAMS: u32 = 4261416964u32; 6825 pub const OID_CO_TAPI_TRANSLATE_TAPI_SAP: u32 = 4261416966u32; 6826 pub const OID_FDDI_ATTACHMENT_TYPE: u32 = 50462977u32; 6827 pub const OID_FDDI_DOWNSTREAM_NODE_LONG: u32 = 50462979u32; 6828 pub const OID_FDDI_FRAMES_LOST: u32 = 50462981u32; 6829 pub const OID_FDDI_FRAME_ERRORS: u32 = 50462980u32; 6830 pub const OID_FDDI_IF_ADMIN_STATUS: u32 = 50528894u32; 6831 pub const OID_FDDI_IF_DESCR: u32 = 50528889u32; 6832 pub const OID_FDDI_IF_IN_DISCARDS: u32 = 50528900u32; 6833 pub const OID_FDDI_IF_IN_ERRORS: u32 = 50528901u32; 6834 pub const OID_FDDI_IF_IN_NUCAST_PKTS: u32 = 50528899u32; 6835 pub const OID_FDDI_IF_IN_OCTETS: u32 = 50528897u32; 6836 pub const OID_FDDI_IF_IN_UCAST_PKTS: u32 = 50528898u32; 6837 pub const OID_FDDI_IF_IN_UNKNOWN_PROTOS: u32 = 50528902u32; 6838 pub const OID_FDDI_IF_LAST_CHANGE: u32 = 50528896u32; 6839 pub const OID_FDDI_IF_MTU: u32 = 50528891u32; 6840 pub const OID_FDDI_IF_OPER_STATUS: u32 = 50528895u32; 6841 pub const OID_FDDI_IF_OUT_DISCARDS: u32 = 50528906u32; 6842 pub const OID_FDDI_IF_OUT_ERRORS: u32 = 50528907u32; 6843 pub const OID_FDDI_IF_OUT_NUCAST_PKTS: u32 = 50528905u32; 6844 pub const OID_FDDI_IF_OUT_OCTETS: u32 = 50528903u32; 6845 pub const OID_FDDI_IF_OUT_QLEN: u32 = 50528908u32; 6846 pub const OID_FDDI_IF_OUT_UCAST_PKTS: u32 = 50528904u32; 6847 pub const OID_FDDI_IF_PHYS_ADDRESS: u32 = 50528893u32; 6848 pub const OID_FDDI_IF_SPECIFIC: u32 = 50528909u32; 6849 pub const OID_FDDI_IF_SPEED: u32 = 50528892u32; 6850 pub const OID_FDDI_IF_TYPE: u32 = 50528890u32; 6851 pub const OID_FDDI_LCONNECTION_STATE: u32 = 50462985u32; 6852 pub const OID_FDDI_LCT_FAILURES: u32 = 50462983u32; 6853 pub const OID_FDDI_LEM_REJECTS: u32 = 50462984u32; 6854 pub const OID_FDDI_LONG_CURRENT_ADDR: u32 = 50397442u32; 6855 pub const OID_FDDI_LONG_MAX_LIST_SIZE: u32 = 50397444u32; 6856 pub const OID_FDDI_LONG_MULTICAST_LIST: u32 = 50397443u32; 6857 pub const OID_FDDI_LONG_PERMANENT_ADDR: u32 = 50397441u32; 6858 pub const OID_FDDI_MAC_AVAILABLE_PATHS: u32 = 50528803u32; 6859 pub const OID_FDDI_MAC_BRIDGE_FUNCTIONS: u32 = 50528800u32; 6860 pub const OID_FDDI_MAC_COPIED_CT: u32 = 50528828u32; 6861 pub const OID_FDDI_MAC_CURRENT_PATH: u32 = 50528804u32; 6862 pub const OID_FDDI_MAC_DA_FLAG: u32 = 50528842u32; 6863 pub const OID_FDDI_MAC_DOWNSTREAM_NBR: u32 = 50528806u32; 6864 pub const OID_FDDI_MAC_DOWNSTREAM_PORT_TYPE: u32 = 50528811u32; 6865 pub const OID_FDDI_MAC_DUP_ADDRESS_TEST: u32 = 50528809u32; 6866 pub const OID_FDDI_MAC_ERROR_CT: u32 = 50528831u32; 6867 pub const OID_FDDI_MAC_FRAME_CT: u32 = 50528827u32; 6868 pub const OID_FDDI_MAC_FRAME_ERROR_FLAG: u32 = 50528844u32; 6869 pub const OID_FDDI_MAC_FRAME_ERROR_RATIO: u32 = 50528838u32; 6870 pub const OID_FDDI_MAC_FRAME_ERROR_THRESHOLD: u32 = 50528837u32; 6871 pub const OID_FDDI_MAC_FRAME_STATUS_FUNCTIONS: u32 = 50528799u32; 6872 pub const OID_FDDI_MAC_HARDWARE_PRESENT: u32 = 50528847u32; 6873 pub const OID_FDDI_MAC_INDEX: u32 = 50528812u32; 6874 pub const OID_FDDI_MAC_LATE_CT: u32 = 50528835u32; 6875 pub const OID_FDDI_MAC_LONG_GRP_ADDRESS: u32 = 50528814u32; 6876 pub const OID_FDDI_MAC_LOST_CT: u32 = 50528832u32; 6877 pub const OID_FDDI_MAC_MA_UNITDATA_AVAILABLE: u32 = 50528846u32; 6878 pub const OID_FDDI_MAC_MA_UNITDATA_ENABLE: u32 = 50528848u32; 6879 pub const OID_FDDI_MAC_NOT_COPIED_CT: u32 = 50528834u32; 6880 pub const OID_FDDI_MAC_NOT_COPIED_FLAG: u32 = 50528845u32; 6881 pub const OID_FDDI_MAC_NOT_COPIED_RATIO: u32 = 50528840u32; 6882 pub const OID_FDDI_MAC_NOT_COPIED_THRESHOLD: u32 = 50528839u32; 6883 pub const OID_FDDI_MAC_OLD_DOWNSTREAM_NBR: u32 = 50528808u32; 6884 pub const OID_FDDI_MAC_OLD_UPSTREAM_NBR: u32 = 50528807u32; 6885 pub const OID_FDDI_MAC_REQUESTED_PATHS: u32 = 50528810u32; 6886 pub const OID_FDDI_MAC_RING_OP_CT: u32 = 50528836u32; 6887 pub const OID_FDDI_MAC_RMT_STATE: u32 = 50528841u32; 6888 pub const OID_FDDI_MAC_SHORT_GRP_ADDRESS: u32 = 50528815u32; 6889 pub const OID_FDDI_MAC_SMT_ADDRESS: u32 = 50528813u32; 6890 pub const OID_FDDI_MAC_TOKEN_CT: u32 = 50528830u32; 6891 pub const OID_FDDI_MAC_TRANSMIT_CT: u32 = 50528829u32; 6892 pub const OID_FDDI_MAC_TVX_CAPABILITY: u32 = 50528802u32; 6893 pub const OID_FDDI_MAC_TVX_EXPIRED_CT: u32 = 50528833u32; 6894 pub const OID_FDDI_MAC_TVX_VALUE: u32 = 50528819u32; 6895 pub const OID_FDDI_MAC_T_MAX: u32 = 50528818u32; 6896 pub const OID_FDDI_MAC_T_MAX_CAPABILITY: u32 = 50528801u32; 6897 pub const OID_FDDI_MAC_T_NEG: u32 = 50528817u32; 6898 pub const OID_FDDI_MAC_T_PRI0: u32 = 50528820u32; 6899 pub const OID_FDDI_MAC_T_PRI1: u32 = 50528821u32; 6900 pub const OID_FDDI_MAC_T_PRI2: u32 = 50528822u32; 6901 pub const OID_FDDI_MAC_T_PRI3: u32 = 50528823u32; 6902 pub const OID_FDDI_MAC_T_PRI4: u32 = 50528824u32; 6903 pub const OID_FDDI_MAC_T_PRI5: u32 = 50528825u32; 6904 pub const OID_FDDI_MAC_T_PRI6: u32 = 50528826u32; 6905 pub const OID_FDDI_MAC_T_REQ: u32 = 50528816u32; 6906 pub const OID_FDDI_MAC_UNDA_FLAG: u32 = 50528843u32; 6907 pub const OID_FDDI_MAC_UPSTREAM_NBR: u32 = 50528805u32; 6908 pub const OID_FDDI_PATH_CONFIGURATION: u32 = 50528854u32; 6909 pub const OID_FDDI_PATH_INDEX: u32 = 50528849u32; 6910 pub const OID_FDDI_PATH_MAX_T_REQ: u32 = 50528859u32; 6911 pub const OID_FDDI_PATH_RING_LATENCY: u32 = 50528850u32; 6912 pub const OID_FDDI_PATH_SBA_AVAILABLE: u32 = 50528856u32; 6913 pub const OID_FDDI_PATH_SBA_OVERHEAD: u32 = 50528853u32; 6914 pub const OID_FDDI_PATH_SBA_PAYLOAD: u32 = 50528852u32; 6915 pub const OID_FDDI_PATH_TRACE_STATUS: u32 = 50528851u32; 6916 pub const OID_FDDI_PATH_TVX_LOWER_BOUND: u32 = 50528857u32; 6917 pub const OID_FDDI_PATH_T_MAX_LOWER_BOUND: u32 = 50528858u32; 6918 pub const OID_FDDI_PATH_T_R_MODE: u32 = 50528855u32; 6919 pub const OID_FDDI_PORT_ACTION: u32 = 50528888u32; 6920 pub const OID_FDDI_PORT_AVAILABLE_PATHS: u32 = 50528867u32; 6921 pub const OID_FDDI_PORT_BS_FLAG: u32 = 50528873u32; 6922 pub const OID_FDDI_PORT_CONNECTION_CAPABILITIES: u32 = 50528870u32; 6923 pub const OID_FDDI_PORT_CONNECTION_POLICIES: u32 = 50528862u32; 6924 pub const OID_FDDI_PORT_CONNNECT_STATE: u32 = 50528882u32; 6925 pub const OID_FDDI_PORT_CURRENT_PATH: u32 = 50528864u32; 6926 pub const OID_FDDI_PORT_EB_ERROR_CT: u32 = 50528875u32; 6927 pub const OID_FDDI_PORT_HARDWARE_PRESENT: u32 = 50528886u32; 6928 pub const OID_FDDI_PORT_INDEX: u32 = 50528871u32; 6929 pub const OID_FDDI_PORT_LCT_FAIL_CT: u32 = 50528876u32; 6930 pub const OID_FDDI_PORT_LEM_CT: u32 = 50528879u32; 6931 pub const OID_FDDI_PORT_LEM_REJECT_CT: u32 = 50528878u32; 6932 pub const OID_FDDI_PORT_LER_ALARM: u32 = 50528881u32; 6933 pub const OID_FDDI_PORT_LER_CUTOFF: u32 = 50528880u32; 6934 pub const OID_FDDI_PORT_LER_ESTIMATE: u32 = 50528877u32; 6935 pub const OID_FDDI_PORT_LER_FLAG: u32 = 50528885u32; 6936 pub const OID_FDDI_PORT_MAC_INDICATED: u32 = 50528863u32; 6937 pub const OID_FDDI_PORT_MAC_LOOP_TIME: u32 = 50528868u32; 6938 pub const OID_FDDI_PORT_MAC_PLACEMENT: u32 = 50528866u32; 6939 pub const OID_FDDI_PORT_MAINT_LS: u32 = 50528872u32; 6940 pub const OID_FDDI_PORT_MY_TYPE: u32 = 50528860u32; 6941 pub const OID_FDDI_PORT_NEIGHBOR_TYPE: u32 = 50528861u32; 6942 pub const OID_FDDI_PORT_PCM_STATE: u32 = 50528883u32; 6943 pub const OID_FDDI_PORT_PC_LS: u32 = 50528874u32; 6944 pub const OID_FDDI_PORT_PC_WITHHOLD: u32 = 50528884u32; 6945 pub const OID_FDDI_PORT_PMD_CLASS: u32 = 50528869u32; 6946 pub const OID_FDDI_PORT_REQUESTED_PATHS: u32 = 50528865u32; 6947 pub const OID_FDDI_RING_MGT_STATE: u32 = 50462982u32; 6948 pub const OID_FDDI_SHORT_CURRENT_ADDR: u32 = 50397446u32; 6949 pub const OID_FDDI_SHORT_MAX_LIST_SIZE: u32 = 50397448u32; 6950 pub const OID_FDDI_SHORT_MULTICAST_LIST: u32 = 50397447u32; 6951 pub const OID_FDDI_SHORT_PERMANENT_ADDR: u32 = 50397445u32; 6952 pub const OID_FDDI_SMT_AVAILABLE_PATHS: u32 = 50528779u32; 6953 pub const OID_FDDI_SMT_BYPASS_PRESENT: u32 = 50528788u32; 6954 pub const OID_FDDI_SMT_CF_STATE: u32 = 50528790u32; 6955 pub const OID_FDDI_SMT_CONFIG_CAPABILITIES: u32 = 50528780u32; 6956 pub const OID_FDDI_SMT_CONFIG_POLICY: u32 = 50528781u32; 6957 pub const OID_FDDI_SMT_CONNECTION_POLICY: u32 = 50528782u32; 6958 pub const OID_FDDI_SMT_ECM_STATE: u32 = 50528789u32; 6959 pub const OID_FDDI_SMT_HI_VERSION_ID: u32 = 50528771u32; 6960 pub const OID_FDDI_SMT_HOLD_STATE: u32 = 50528791u32; 6961 pub const OID_FDDI_SMT_LAST_SET_STATION_ID: u32 = 50528798u32; 6962 pub const OID_FDDI_SMT_LO_VERSION_ID: u32 = 50528772u32; 6963 pub const OID_FDDI_SMT_MAC_CT: u32 = 50528776u32; 6964 pub const OID_FDDI_SMT_MAC_INDEXES: u32 = 50528787u32; 6965 pub const OID_FDDI_SMT_MANUFACTURER_DATA: u32 = 50528773u32; 6966 pub const OID_FDDI_SMT_MASTER_CT: u32 = 50528778u32; 6967 pub const OID_FDDI_SMT_MIB_VERSION_ID: u32 = 50528775u32; 6968 pub const OID_FDDI_SMT_MSG_TIME_STAMP: u32 = 50528795u32; 6969 pub const OID_FDDI_SMT_NON_MASTER_CT: u32 = 50528777u32; 6970 pub const OID_FDDI_SMT_OP_VERSION_ID: u32 = 50528770u32; 6971 pub const OID_FDDI_SMT_PEER_WRAP_FLAG: u32 = 50528794u32; 6972 pub const OID_FDDI_SMT_PORT_INDEXES: u32 = 50528786u32; 6973 pub const OID_FDDI_SMT_REMOTE_DISCONNECT_FLAG: u32 = 50528792u32; 6974 pub const OID_FDDI_SMT_SET_COUNT: u32 = 50528797u32; 6975 pub const OID_FDDI_SMT_STATION_ACTION: u32 = 50528887u32; 6976 pub const OID_FDDI_SMT_STATION_ID: u32 = 50528769u32; 6977 pub const OID_FDDI_SMT_STATION_STATUS: u32 = 50528793u32; 6978 pub const OID_FDDI_SMT_STAT_RPT_POLICY: u32 = 50528784u32; 6979 pub const OID_FDDI_SMT_TRACE_MAX_EXPIRATION: u32 = 50528785u32; 6980 pub const OID_FDDI_SMT_TRANSITION_TIME_STAMP: u32 = 50528796u32; 6981 pub const OID_FDDI_SMT_T_NOTIFY: u32 = 50528783u32; 6982 pub const OID_FDDI_SMT_USER_DATA: u32 = 50528774u32; 6983 pub const OID_FDDI_UPSTREAM_NODE_LONG: u32 = 50462978u32; 6984 pub const OID_FFP_ADAPTER_STATS: u32 = 4227990033u32; 6985 pub const OID_FFP_CONTROL: u32 = 4227924498u32; 6986 pub const OID_FFP_DATA: u32 = 4227924500u32; 6987 pub const OID_FFP_DRIVER_STATS: u32 = 4227990032u32; 6988 pub const OID_FFP_FLUSH: u32 = 4227924497u32; 6989 pub const OID_FFP_PARAMS: u32 = 4227924499u32; 6990 pub const OID_FFP_SUPPORT: u32 = 4227924496u32; 6991 pub const OID_GEN_ADMIN_STATUS: u32 = 66184u32; 6992 pub const OID_GEN_ALIAS: u32 = 66185u32; 6993 pub const OID_GEN_BROADCAST_BYTES_RCV: u32 = 131595u32; 6994 pub const OID_GEN_BROADCAST_BYTES_XMIT: u32 = 131589u32; 6995 pub const OID_GEN_BROADCAST_FRAMES_RCV: u32 = 131596u32; 6996 pub const OID_GEN_BROADCAST_FRAMES_XMIT: u32 = 131590u32; 6997 pub const OID_GEN_BYTES_RCV: u32 = 131609u32; 6998 pub const OID_GEN_BYTES_XMIT: u32 = 131610u32; 6999 pub const OID_GEN_CO_BYTES_RCV: u32 = 131591u32; 7000 pub const OID_GEN_CO_BYTES_XMIT: u32 = 131585u32; 7001 pub const OID_GEN_CO_BYTES_XMIT_OUTSTANDING: u32 = 131617u32; 7002 pub const OID_GEN_CO_DEVICE_PROFILE: u32 = 131602u32; 7003 pub const OID_GEN_CO_DRIVER_VERSION: u32 = 65808u32; 7004 pub const OID_GEN_CO_GET_NETCARD_TIME: u32 = 131600u32; 7005 pub const OID_GEN_CO_GET_TIME_CAPS: u32 = 131599u32; 7006 pub const OID_GEN_CO_HARDWARE_STATUS: u32 = 65794u32; 7007 pub const OID_GEN_CO_LINK_SPEED: u32 = 65799u32; 7008 pub const OID_GEN_CO_MAC_OPTIONS: u32 = 65811u32; 7009 pub const OID_GEN_CO_MEDIA_CONNECT_STATUS: u32 = 65812u32; 7010 pub const OID_GEN_CO_MEDIA_IN_USE: u32 = 65796u32; 7011 pub const OID_GEN_CO_MEDIA_SUPPORTED: u32 = 65795u32; 7012 pub const OID_GEN_CO_MINIMUM_LINK_SPEED: u32 = 131360u32; 7013 pub const OID_GEN_CO_NETCARD_LOAD: u32 = 131601u32; 7014 pub const OID_GEN_CO_PROTOCOL_OPTIONS: u32 = 65810u32; 7015 pub const OID_GEN_CO_RCV_CRC_ERROR: u32 = 131597u32; 7016 pub const OID_GEN_CO_RCV_PDUS_ERROR: u32 = 131332u32; 7017 pub const OID_GEN_CO_RCV_PDUS_NO_BUFFER: u32 = 131333u32; 7018 pub const OID_GEN_CO_RCV_PDUS_OK: u32 = 131330u32; 7019 pub const OID_GEN_CO_SUPPORTED_GUIDS: u32 = 65815u32; 7020 pub const OID_GEN_CO_SUPPORTED_LIST: u32 = 65793u32; 7021 pub const OID_GEN_CO_TRANSMIT_QUEUE_LENGTH: u32 = 131598u32; 7022 pub const OID_GEN_CO_VENDOR_DESCRIPTION: u32 = 65805u32; 7023 pub const OID_GEN_CO_VENDOR_DRIVER_VERSION: u32 = 65814u32; 7024 pub const OID_GEN_CO_VENDOR_ID: u32 = 65804u32; 7025 pub const OID_GEN_CO_XMIT_PDUS_ERROR: u32 = 131331u32; 7026 pub const OID_GEN_CO_XMIT_PDUS_OK: u32 = 131329u32; 7027 pub const OID_GEN_CURRENT_LOOKAHEAD: u32 = 65807u32; 7028 pub const OID_GEN_CURRENT_PACKET_FILTER: u32 = 65806u32; 7029 pub const OID_GEN_DEVICE_PROFILE: u32 = 131602u32; 7030 pub const OID_GEN_DIRECTED_BYTES_RCV: u32 = 131591u32; 7031 pub const OID_GEN_DIRECTED_BYTES_XMIT: u32 = 131585u32; 7032 pub const OID_GEN_DIRECTED_FRAMES_RCV: u32 = 131592u32; 7033 pub const OID_GEN_DIRECTED_FRAMES_XMIT: u32 = 131586u32; 7034 pub const OID_GEN_DISCONTINUITY_TIME: u32 = 66178u32; 7035 pub const OID_GEN_DRIVER_VERSION: u32 = 65808u32; 7036 pub const OID_GEN_ENUMERATE_PORTS: u32 = 66061u32; 7037 pub const OID_GEN_FRIENDLY_NAME: u32 = 131606u32; 7038 pub const OID_GEN_GET_NETCARD_TIME: u32 = 131600u32; 7039 pub const OID_GEN_GET_TIME_CAPS: u32 = 131599u32; 7040 pub const OID_GEN_HARDWARE_STATUS: u32 = 65794u32; 7041 pub const OID_GEN_HD_SPLIT_CURRENT_CONFIG: u32 = 66080u32; 7042 pub const OID_GEN_HD_SPLIT_PARAMETERS: u32 = 66078u32; 7043 pub const OID_GEN_INIT_TIME_MS: u32 = 131603u32; 7044 pub const OID_GEN_INTERFACE_INFO: u32 = 66183u32; 7045 pub const OID_GEN_INTERRUPT_MODERATION: u32 = 66057u32; 7046 pub const OID_GEN_IP_OPER_STATUS: u32 = 66189u32; 7047 pub const OID_GEN_ISOLATION_PARAMETERS: u32 = 66304u32; 7048 pub const OID_GEN_LAST_CHANGE: u32 = 66177u32; 7049 pub const OID_GEN_LINK_PARAMETERS: u32 = 66056u32; 7050 pub const OID_GEN_LINK_SPEED: u32 = 65799u32; 7051 pub const OID_GEN_LINK_SPEED_EX: u32 = 66187u32; 7052 pub const OID_GEN_LINK_STATE: u32 = 66055u32; 7053 pub const OID_GEN_MACHINE_NAME: u32 = 66074u32; 7054 pub const OID_GEN_MAC_ADDRESS: u32 = 66053u32; 7055 pub const OID_GEN_MAC_OPTIONS: u32 = 65811u32; 7056 pub const OID_GEN_MAXIMUM_FRAME_SIZE: u32 = 65798u32; 7057 pub const OID_GEN_MAXIMUM_LOOKAHEAD: u32 = 65797u32; 7058 pub const OID_GEN_MAXIMUM_SEND_PACKETS: u32 = 65813u32; 7059 pub const OID_GEN_MAXIMUM_TOTAL_SIZE: u32 = 65809u32; 7060 pub const OID_GEN_MAX_LINK_SPEED: u32 = 66054u32; 7061 pub const OID_GEN_MEDIA_CAPABILITIES: u32 = 66049u32; 7062 pub const OID_GEN_MEDIA_CONNECT_STATUS: u32 = 65812u32; 7063 pub const OID_GEN_MEDIA_CONNECT_STATUS_EX: u32 = 66186u32; 7064 pub const OID_GEN_MEDIA_DUPLEX_STATE: u32 = 66188u32; 7065 pub const OID_GEN_MEDIA_IN_USE: u32 = 65796u32; 7066 pub const OID_GEN_MEDIA_SENSE_COUNTS: u32 = 131605u32; 7067 pub const OID_GEN_MEDIA_SUPPORTED: u32 = 65795u32; 7068 pub const OID_GEN_MINIPORT_RESTART_ATTRIBUTES: u32 = 66077u32; 7069 pub const OID_GEN_MULTICAST_BYTES_RCV: u32 = 131593u32; 7070 pub const OID_GEN_MULTICAST_BYTES_XMIT: u32 = 131587u32; 7071 pub const OID_GEN_MULTICAST_FRAMES_RCV: u32 = 131594u32; 7072 pub const OID_GEN_MULTICAST_FRAMES_XMIT: u32 = 131588u32; 7073 pub const OID_GEN_NDIS_RESERVED_1: u32 = 131607u32; 7074 pub const OID_GEN_NDIS_RESERVED_2: u32 = 131608u32; 7075 pub const OID_GEN_NDIS_RESERVED_3: u32 = 66058u32; 7076 pub const OID_GEN_NDIS_RESERVED_4: u32 = 66059u32; 7077 pub const OID_GEN_NDIS_RESERVED_5: u32 = 66060u32; 7078 pub const OID_GEN_NDIS_RESERVED_6: u32 = 66066u32; 7079 pub const OID_GEN_NDIS_RESERVED_7: u32 = 131614u32; 7080 pub const OID_GEN_NETCARD_LOAD: u32 = 131601u32; 7081 pub const OID_GEN_NETWORK_LAYER_ADDRESSES: u32 = 65816u32; 7082 pub const OID_GEN_OPERATIONAL_STATUS: u32 = 66179u32; 7083 pub const OID_GEN_PCI_DEVICE_CUSTOM_PROPERTIES: u32 = 66065u32; 7084 pub const OID_GEN_PHYSICAL_MEDIUM: u32 = 66050u32; 7085 pub const OID_GEN_PHYSICAL_MEDIUM_EX: u32 = 66067u32; 7086 pub const OID_GEN_PORT_AUTHENTICATION_PARAMETERS: u32 = 66063u32; 7087 pub const OID_GEN_PORT_STATE: u32 = 66062u32; 7088 pub const OID_GEN_PROMISCUOUS_MODE: u32 = 66176u32; 7089 pub const OID_GEN_PROTOCOL_OPTIONS: u32 = 65810u32; 7090 pub const OID_GEN_RCV_CRC_ERROR: u32 = 131597u32; 7091 pub const OID_GEN_RCV_DISCARDS: u32 = 131611u32; 7092 pub const OID_GEN_RCV_ERROR: u32 = 131332u32; 7093 pub const OID_GEN_RCV_LINK_SPEED: u32 = 66181u32; 7094 pub const OID_GEN_RCV_NO_BUFFER: u32 = 131333u32; 7095 pub const OID_GEN_RCV_OK: u32 = 131330u32; 7096 pub const OID_GEN_RECEIVE_BLOCK_SIZE: u32 = 65803u32; 7097 pub const OID_GEN_RECEIVE_BUFFER_SPACE: u32 = 65801u32; 7098 pub const OID_GEN_RECEIVE_HASH: u32 = 66079u32; 7099 pub const OID_GEN_RECEIVE_SCALE_CAPABILITIES: u32 = 66051u32; 7100 pub const OID_GEN_RECEIVE_SCALE_PARAMETERS: u32 = 66052u32; 7101 pub const OID_GEN_RECEIVE_SCALE_PARAMETERS_V2: u32 = 66068u32; 7102 pub const OID_GEN_RESET_COUNTS: u32 = 131604u32; 7103 pub const OID_GEN_RNDIS_CONFIG_PARAMETER: u32 = 66075u32; 7104 pub const OID_GEN_RSS_SET_INDIRECTION_TABLE_ENTRIES: u32 = 66240u32; 7105 pub const OID_GEN_STATISTICS: u32 = 131334u32; 7106 pub const OID_GEN_SUPPORTED_GUIDS: u32 = 65815u32; 7107 pub const OID_GEN_SUPPORTED_LIST: u32 = 65793u32; 7108 pub const OID_GEN_TIMEOUT_DPC_REQUEST_CAPABILITIES: u32 = 66064u32; 7109 pub const OID_GEN_TRANSMIT_BLOCK_SIZE: u32 = 65802u32; 7110 pub const OID_GEN_TRANSMIT_BUFFER_SPACE: u32 = 65800u32; 7111 pub const OID_GEN_TRANSMIT_QUEUE_LENGTH: u32 = 131598u32; 7112 pub const OID_GEN_TRANSPORT_HEADER_OFFSET: u32 = 65817u32; 7113 pub const OID_GEN_UNKNOWN_PROTOS: u32 = 66182u32; 7114 pub const OID_GEN_VENDOR_DESCRIPTION: u32 = 65805u32; 7115 pub const OID_GEN_VENDOR_DRIVER_VERSION: u32 = 65814u32; 7116 pub const OID_GEN_VENDOR_ID: u32 = 65804u32; 7117 pub const OID_GEN_VLAN_ID: u32 = 66076u32; 7118 pub const OID_GEN_XMIT_DISCARDS: u32 = 131612u32; 7119 pub const OID_GEN_XMIT_ERROR: u32 = 131331u32; 7120 pub const OID_GEN_XMIT_LINK_SPEED: u32 = 66180u32; 7121 pub const OID_GEN_XMIT_OK: u32 = 131329u32; 7122 pub const OID_GFT_ACTIVATE_FLOW_ENTRIES: u32 = 66575u32; 7123 pub const OID_GFT_ADD_FLOW_ENTRIES: u32 = 66572u32; 7124 pub const OID_GFT_ALLOCATE_COUNTERS: u32 = 66567u32; 7125 pub const OID_GFT_COUNTER_VALUES: u32 = 66570u32; 7126 pub const OID_GFT_CREATE_LOGICAL_VPORT: u32 = 66584u32; 7127 pub const OID_GFT_CREATE_TABLE: u32 = 66564u32; 7128 pub const OID_GFT_CURRENT_CAPABILITIES: u32 = 66562u32; 7129 pub const OID_GFT_DEACTIVATE_FLOW_ENTRIES: u32 = 66576u32; 7130 pub const OID_GFT_DELETE_FLOW_ENTRIES: u32 = 66573u32; 7131 pub const OID_GFT_DELETE_LOGICAL_VPORT: u32 = 66585u32; 7132 pub const OID_GFT_DELETE_PROFILE: u32 = 66582u32; 7133 pub const OID_GFT_DELETE_TABLE: u32 = 66565u32; 7134 pub const OID_GFT_ENUM_COUNTERS: u32 = 66569u32; 7135 pub const OID_GFT_ENUM_FLOW_ENTRIES: u32 = 66574u32; 7136 pub const OID_GFT_ENUM_LOGICAL_VPORTS: u32 = 66586u32; 7137 pub const OID_GFT_ENUM_PROFILES: u32 = 66581u32; 7138 pub const OID_GFT_ENUM_TABLES: u32 = 66566u32; 7139 pub const OID_GFT_EXACT_MATCH_PROFILE: u32 = 66578u32; 7140 pub const OID_GFT_FLOW_ENTRY_PARAMETERS: u32 = 66577u32; 7141 pub const OID_GFT_FREE_COUNTERS: u32 = 66568u32; 7142 pub const OID_GFT_GLOBAL_PARAMETERS: u32 = 66563u32; 7143 pub const OID_GFT_HARDWARE_CAPABILITIES: u32 = 66561u32; 7144 pub const OID_GFT_HEADER_TRANSPOSITION_PROFILE: u32 = 66579u32; 7145 pub const OID_GFT_STATISTICS: u32 = 66571u32; 7146 pub const OID_GFT_VPORT_PARAMETERS: u32 = 66583u32; 7147 pub const OID_GFT_WILDCARD_MATCH_PROFILE: u32 = 66580u32; 7148 pub const OID_IP4_OFFLOAD_STATS: u32 = 4227924489u32; 7149 pub const OID_IP6_OFFLOAD_STATS: u32 = 4227924490u32; 7150 pub const OID_IRDA_EXTRA_RCV_BOFS: u32 = 167838208u32; 7151 pub const OID_IRDA_LINK_SPEED: u32 = 167837955u32; 7152 pub const OID_IRDA_MAX_RECEIVE_WINDOW_SIZE: u32 = 167838212u32; 7153 pub const OID_IRDA_MAX_SEND_WINDOW_SIZE: u32 = 167838213u32; 7154 pub const OID_IRDA_MAX_UNICAST_LIST_SIZE: u32 = 167838211u32; 7155 pub const OID_IRDA_MEDIA_BUSY: u32 = 167837956u32; 7156 pub const OID_IRDA_RATE_SNIFF: u32 = 167838209u32; 7157 pub const OID_IRDA_RECEIVING: u32 = 167837952u32; 7158 pub const OID_IRDA_RESERVED1: u32 = 167838218u32; 7159 pub const OID_IRDA_RESERVED2: u32 = 167838223u32; 7160 pub const OID_IRDA_SUPPORTED_SPEEDS: u32 = 167837954u32; 7161 pub const OID_IRDA_TURNAROUND_TIME: u32 = 167837953u32; 7162 pub const OID_IRDA_UNICAST_LIST: u32 = 167838210u32; 7163 pub const OID_KDNET_ADD_PF: u32 = 131619u32; 7164 pub const OID_KDNET_ENUMERATE_PFS: u32 = 131618u32; 7165 pub const OID_KDNET_QUERY_PF_INFORMATION: u32 = 131621u32; 7166 pub const OID_KDNET_REMOVE_PF: u32 = 131620u32; 7167 pub const OID_LTALK_COLLISIONS: u32 = 84017666u32; 7168 pub const OID_LTALK_CURRENT_NODE_ID: u32 = 83951874u32; 7169 pub const OID_LTALK_DEFERS: u32 = 84017667u32; 7170 pub const OID_LTALK_FCS_ERRORS: u32 = 84017670u32; 7171 pub const OID_LTALK_IN_BROADCASTS: u32 = 84017409u32; 7172 pub const OID_LTALK_IN_LENGTH_ERRORS: u32 = 84017410u32; 7173 pub const OID_LTALK_NO_DATA_ERRORS: u32 = 84017668u32; 7174 pub const OID_LTALK_OUT_NO_HANDLERS: u32 = 84017665u32; 7175 pub const OID_LTALK_RANDOM_CTS_ERRORS: u32 = 84017669u32; 7176 pub const OID_NDK_CONNECTIONS: u32 = 4228121091u32; 7177 pub const OID_NDK_LOCAL_ENDPOINTS: u32 = 4228121092u32; 7178 pub const OID_NDK_SET_STATE: u32 = 4228121089u32; 7179 pub const OID_NDK_STATISTICS: u32 = 4228121090u32; 7180 pub const OID_NIC_SWITCH_ALLOCATE_VF: u32 = 66117u32; 7181 pub const OID_NIC_SWITCH_CREATE_SWITCH: u32 = 66103u32; 7182 pub const OID_NIC_SWITCH_CREATE_VPORT: u32 = 66113u32; 7183 pub const OID_NIC_SWITCH_CURRENT_CAPABILITIES: u32 = 66095u32; 7184 pub const OID_NIC_SWITCH_DELETE_SWITCH: u32 = 66105u32; 7185 pub const OID_NIC_SWITCH_DELETE_VPORT: u32 = 66116u32; 7186 pub const OID_NIC_SWITCH_ENUM_SWITCHES: u32 = 66112u32; 7187 pub const OID_NIC_SWITCH_ENUM_VFS: u32 = 66120u32; 7188 pub const OID_NIC_SWITCH_ENUM_VPORTS: u32 = 66115u32; 7189 pub const OID_NIC_SWITCH_FREE_VF: u32 = 66118u32; 7190 pub const OID_NIC_SWITCH_HARDWARE_CAPABILITIES: u32 = 66094u32; 7191 pub const OID_NIC_SWITCH_PARAMETERS: u32 = 66104u32; 7192 pub const OID_NIC_SWITCH_VF_PARAMETERS: u32 = 66119u32; 7193 pub const OID_NIC_SWITCH_VPORT_PARAMETERS: u32 = 66114u32; 7194 pub const OID_OFFLOAD_ENCAPSULATION: u32 = 16843018u32; 7195 pub const OID_PACKET_COALESCING_FILTER_MATCH_COUNT: u32 = 66101u32; 7196 pub const OID_PD_CLOSE_PROVIDER: u32 = 66818u32; 7197 pub const OID_PD_OPEN_PROVIDER: u32 = 66817u32; 7198 pub const OID_PD_QUERY_CURRENT_CONFIG: u32 = 66819u32; 7199 pub const OID_PM_ADD_PROTOCOL_OFFLOAD: u32 = 4244701453u32; 7200 pub const OID_PM_ADD_WOL_PATTERN: u32 = 4244701450u32; 7201 pub const OID_PM_CURRENT_CAPABILITIES: u32 = 4244701447u32; 7202 pub const OID_PM_GET_PROTOCOL_OFFLOAD: u32 = 4244701454u32; 7203 pub const OID_PM_HARDWARE_CAPABILITIES: u32 = 4244701448u32; 7204 pub const OID_PM_PARAMETERS: u32 = 4244701449u32; 7205 pub const OID_PM_PROTOCOL_OFFLOAD_LIST: u32 = 4244701456u32; 7206 pub const OID_PM_REMOVE_PROTOCOL_OFFLOAD: u32 = 4244701455u32; 7207 pub const OID_PM_REMOVE_WOL_PATTERN: u32 = 4244701451u32; 7208 pub const OID_PM_RESERVED_1: u32 = 4244701457u32; 7209 pub const OID_PM_WOL_PATTERN_LIST: u32 = 4244701452u32; 7210 pub const OID_PNP_ADD_WAKE_UP_PATTERN: u32 = 4244701443u32; 7211 pub const OID_PNP_CAPABILITIES: u32 = 4244701440u32; 7212 pub const OID_PNP_ENABLE_WAKE_UP: u32 = 4244701446u32; 7213 pub const OID_PNP_QUERY_POWER: u32 = 4244701442u32; 7214 pub const OID_PNP_REMOVE_WAKE_UP_PATTERN: u32 = 4244701444u32; 7215 pub const OID_PNP_SET_POWER: u32 = 4244701441u32; 7216 pub const OID_PNP_WAKE_UP_ERROR: u32 = 4244767233u32; 7217 pub const OID_PNP_WAKE_UP_OK: u32 = 4244767232u32; 7218 pub const OID_PNP_WAKE_UP_PATTERN_LIST: u32 = 4244701445u32; 7219 pub const OID_QOS_CURRENT_CAPABILITIES: u32 = 4228186114u32; 7220 pub const OID_QOS_HARDWARE_CAPABILITIES: u32 = 4228186113u32; 7221 pub const OID_QOS_OFFLOAD_CREATE_SQ: u32 = 67075u32; 7222 pub const OID_QOS_OFFLOAD_CURRENT_CAPABILITIES: u32 = 67074u32; 7223 pub const OID_QOS_OFFLOAD_DELETE_SQ: u32 = 67076u32; 7224 pub const OID_QOS_OFFLOAD_ENUM_SQS: u32 = 67078u32; 7225 pub const OID_QOS_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 67073u32; 7226 pub const OID_QOS_OFFLOAD_SQ_STATS: u32 = 67079u32; 7227 pub const OID_QOS_OFFLOAD_UPDATE_SQ: u32 = 67077u32; 7228 pub const OID_QOS_OPERATIONAL_PARAMETERS: u32 = 4228186116u32; 7229 pub const OID_QOS_PARAMETERS: u32 = 4228186115u32; 7230 pub const OID_QOS_REMOTE_PARAMETERS: u32 = 4228186117u32; 7231 pub const OID_QOS_RESERVED1: u32 = 4211147008u32; 7232 pub const OID_QOS_RESERVED10: u32 = 4211147017u32; 7233 pub const OID_QOS_RESERVED11: u32 = 4211147018u32; 7234 pub const OID_QOS_RESERVED12: u32 = 4211147019u32; 7235 pub const OID_QOS_RESERVED13: u32 = 4211147020u32; 7236 pub const OID_QOS_RESERVED14: u32 = 4211147021u32; 7237 pub const OID_QOS_RESERVED15: u32 = 4211147022u32; 7238 pub const OID_QOS_RESERVED16: u32 = 4211147023u32; 7239 pub const OID_QOS_RESERVED17: u32 = 4211147024u32; 7240 pub const OID_QOS_RESERVED18: u32 = 4211147025u32; 7241 pub const OID_QOS_RESERVED19: u32 = 4211147026u32; 7242 pub const OID_QOS_RESERVED2: u32 = 4211147009u32; 7243 pub const OID_QOS_RESERVED20: u32 = 4211147027u32; 7244 pub const OID_QOS_RESERVED3: u32 = 4211147010u32; 7245 pub const OID_QOS_RESERVED4: u32 = 4211147011u32; 7246 pub const OID_QOS_RESERVED5: u32 = 4211147012u32; 7247 pub const OID_QOS_RESERVED6: u32 = 4211147013u32; 7248 pub const OID_QOS_RESERVED7: u32 = 4211147014u32; 7249 pub const OID_QOS_RESERVED8: u32 = 4211147015u32; 7250 pub const OID_QOS_RESERVED9: u32 = 4211147016u32; 7251 pub const OID_RECEIVE_FILTER_ALLOCATE_QUEUE: u32 = 66083u32; 7252 pub const OID_RECEIVE_FILTER_CLEAR_FILTER: u32 = 66088u32; 7253 pub const OID_RECEIVE_FILTER_CURRENT_CAPABILITIES: u32 = 66093u32; 7254 pub const OID_RECEIVE_FILTER_ENUM_FILTERS: u32 = 66089u32; 7255 pub const OID_RECEIVE_FILTER_ENUM_QUEUES: u32 = 66085u32; 7256 pub const OID_RECEIVE_FILTER_FREE_QUEUE: u32 = 66084u32; 7257 pub const OID_RECEIVE_FILTER_GLOBAL_PARAMETERS: u32 = 66082u32; 7258 pub const OID_RECEIVE_FILTER_HARDWARE_CAPABILITIES: u32 = 66081u32; 7259 pub const OID_RECEIVE_FILTER_MOVE_FILTER: u32 = 66096u32; 7260 pub const OID_RECEIVE_FILTER_PARAMETERS: u32 = 66090u32; 7261 pub const OID_RECEIVE_FILTER_QUEUE_ALLOCATION_COMPLETE: u32 = 66091u32; 7262 pub const OID_RECEIVE_FILTER_QUEUE_PARAMETERS: u32 = 66086u32; 7263 pub const OID_RECEIVE_FILTER_SET_FILTER: u32 = 66087u32; 7264 pub const OID_SRIOV_BAR_RESOURCES: u32 = 66137u32; 7265 pub const OID_SRIOV_CONFIG_STATE: u32 = 66145u32; 7266 pub const OID_SRIOV_CURRENT_CAPABILITIES: u32 = 66128u32; 7267 pub const OID_SRIOV_HARDWARE_CAPABILITIES: u32 = 66121u32; 7268 pub const OID_SRIOV_OVERLYING_ADAPTER_INFO: u32 = 66152u32; 7269 pub const OID_SRIOV_PF_LUID: u32 = 66144u32; 7270 pub const OID_SRIOV_PROBED_BARS: u32 = 66136u32; 7271 pub const OID_SRIOV_READ_VF_CONFIG_BLOCK: u32 = 66131u32; 7272 pub const OID_SRIOV_READ_VF_CONFIG_SPACE: u32 = 66129u32; 7273 pub const OID_SRIOV_RESET_VF: u32 = 66133u32; 7274 pub const OID_SRIOV_SET_VF_POWER_STATE: u32 = 66134u32; 7275 pub const OID_SRIOV_VF_INVALIDATE_CONFIG_BLOCK: u32 = 66153u32; 7276 pub const OID_SRIOV_VF_SERIAL_NUMBER: u32 = 66146u32; 7277 pub const OID_SRIOV_VF_VENDOR_DEVICE_ID: u32 = 66135u32; 7278 pub const OID_SRIOV_WRITE_VF_CONFIG_BLOCK: u32 = 66132u32; 7279 pub const OID_SRIOV_WRITE_VF_CONFIG_SPACE: u32 = 66130u32; 7280 pub const OID_SWITCH_FEATURE_STATUS_QUERY: u32 = 66151u32; 7281 pub const OID_SWITCH_NIC_ARRAY: u32 = 66167u32; 7282 pub const OID_SWITCH_NIC_CONNECT: u32 = 66171u32; 7283 pub const OID_SWITCH_NIC_CREATE: u32 = 66170u32; 7284 pub const OID_SWITCH_NIC_DELETE: u32 = 66173u32; 7285 pub const OID_SWITCH_NIC_DIRECT_REQUEST: u32 = 66198u32; 7286 pub const OID_SWITCH_NIC_DISCONNECT: u32 = 66172u32; 7287 pub const OID_SWITCH_NIC_REQUEST: u32 = 66160u32; 7288 pub const OID_SWITCH_NIC_RESTORE: u32 = 66194u32; 7289 pub const OID_SWITCH_NIC_RESTORE_COMPLETE: u32 = 66195u32; 7290 pub const OID_SWITCH_NIC_RESUME: u32 = 66200u32; 7291 pub const OID_SWITCH_NIC_SAVE: u32 = 66192u32; 7292 pub const OID_SWITCH_NIC_SAVE_COMPLETE: u32 = 66193u32; 7293 pub const OID_SWITCH_NIC_SUSPEND: u32 = 66199u32; 7294 pub const OID_SWITCH_NIC_SUSPENDED_LM_SOURCE_FINISHED: u32 = 66202u32; 7295 pub const OID_SWITCH_NIC_SUSPENDED_LM_SOURCE_STARTED: u32 = 66201u32; 7296 pub const OID_SWITCH_NIC_UPDATED: u32 = 66196u32; 7297 pub const OID_SWITCH_PARAMETERS: u32 = 66165u32; 7298 pub const OID_SWITCH_PORT_ARRAY: u32 = 66166u32; 7299 pub const OID_SWITCH_PORT_CREATE: u32 = 66168u32; 7300 pub const OID_SWITCH_PORT_DELETE: u32 = 66169u32; 7301 pub const OID_SWITCH_PORT_FEATURE_STATUS_QUERY: u32 = 66174u32; 7302 pub const OID_SWITCH_PORT_PROPERTY_ADD: u32 = 66161u32; 7303 pub const OID_SWITCH_PORT_PROPERTY_DELETE: u32 = 66163u32; 7304 pub const OID_SWITCH_PORT_PROPERTY_ENUM: u32 = 66164u32; 7305 pub const OID_SWITCH_PORT_PROPERTY_UPDATE: u32 = 66162u32; 7306 pub const OID_SWITCH_PORT_TEARDOWN: u32 = 66175u32; 7307 pub const OID_SWITCH_PORT_UPDATED: u32 = 66197u32; 7308 pub const OID_SWITCH_PROPERTY_ADD: u32 = 66147u32; 7309 pub const OID_SWITCH_PROPERTY_DELETE: u32 = 66149u32; 7310 pub const OID_SWITCH_PROPERTY_ENUM: u32 = 66150u32; 7311 pub const OID_SWITCH_PROPERTY_UPDATE: u32 = 66148u32; 7312 pub const OID_TAPI_ACCEPT: u32 = 117637377u32; 7313 pub const OID_TAPI_ANSWER: u32 = 117637378u32; 7314 pub const OID_TAPI_CLOSE: u32 = 117637379u32; 7315 pub const OID_TAPI_CLOSE_CALL: u32 = 117637380u32; 7316 pub const OID_TAPI_CONDITIONAL_MEDIA_DETECTION: u32 = 117637381u32; 7317 pub const OID_TAPI_CONFIG_DIALOG: u32 = 117637382u32; 7318 pub const OID_TAPI_DEV_SPECIFIC: u32 = 117637383u32; 7319 pub const OID_TAPI_DIAL: u32 = 117637384u32; 7320 pub const OID_TAPI_DROP: u32 = 117637385u32; 7321 pub const OID_TAPI_GATHER_DIGITS: u32 = 117637411u32; 7322 pub const OID_TAPI_GET_ADDRESS_CAPS: u32 = 117637386u32; 7323 pub const OID_TAPI_GET_ADDRESS_ID: u32 = 117637387u32; 7324 pub const OID_TAPI_GET_ADDRESS_STATUS: u32 = 117637388u32; 7325 pub const OID_TAPI_GET_CALL_ADDRESS_ID: u32 = 117637389u32; 7326 pub const OID_TAPI_GET_CALL_INFO: u32 = 117637390u32; 7327 pub const OID_TAPI_GET_CALL_STATUS: u32 = 117637391u32; 7328 pub const OID_TAPI_GET_DEV_CAPS: u32 = 117637392u32; 7329 pub const OID_TAPI_GET_DEV_CONFIG: u32 = 117637393u32; 7330 pub const OID_TAPI_GET_EXTENSION_ID: u32 = 117637394u32; 7331 pub const OID_TAPI_GET_ID: u32 = 117637395u32; 7332 pub const OID_TAPI_GET_LINE_DEV_STATUS: u32 = 117637396u32; 7333 pub const OID_TAPI_MAKE_CALL: u32 = 117637397u32; 7334 pub const OID_TAPI_MONITOR_DIGITS: u32 = 117637412u32; 7335 pub const OID_TAPI_NEGOTIATE_EXT_VERSION: u32 = 117637398u32; 7336 pub const OID_TAPI_OPEN: u32 = 117637399u32; 7337 pub const OID_TAPI_PROVIDER_INITIALIZE: u32 = 117637400u32; 7338 pub const OID_TAPI_PROVIDER_SHUTDOWN: u32 = 117637401u32; 7339 pub const OID_TAPI_SECURE_CALL: u32 = 117637402u32; 7340 pub const OID_TAPI_SELECT_EXT_VERSION: u32 = 117637403u32; 7341 pub const OID_TAPI_SEND_USER_USER_INFO: u32 = 117637404u32; 7342 pub const OID_TAPI_SET_APP_SPECIFIC: u32 = 117637405u32; 7343 pub const OID_TAPI_SET_CALL_PARAMS: u32 = 117637406u32; 7344 pub const OID_TAPI_SET_DEFAULT_MEDIA_DETECTION: u32 = 117637407u32; 7345 pub const OID_TAPI_SET_DEV_CONFIG: u32 = 117637408u32; 7346 pub const OID_TAPI_SET_MEDIA_MODE: u32 = 117637409u32; 7347 pub const OID_TAPI_SET_STATUS_MESSAGES: u32 = 117637410u32; 7348 pub const OID_TCP4_OFFLOAD_STATS: u32 = 4227924487u32; 7349 pub const OID_TCP6_OFFLOAD_STATS: u32 = 4227924488u32; 7350 pub const OID_TCP_CONNECTION_OFFLOAD_CURRENT_CONFIG: u32 = 4227924494u32; 7351 pub const OID_TCP_CONNECTION_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 4227924495u32; 7352 pub const OID_TCP_CONNECTION_OFFLOAD_PARAMETERS: u32 = 4228055553u32; 7353 pub const OID_TCP_OFFLOAD_CURRENT_CONFIG: u32 = 4227924491u32; 7354 pub const OID_TCP_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 4227924493u32; 7355 pub const OID_TCP_OFFLOAD_PARAMETERS: u32 = 4227924492u32; 7356 pub const OID_TCP_RSC_STATISTICS: u32 = 131613u32; 7357 pub const OID_TCP_SAN_SUPPORT: u32 = 4227924484u32; 7358 pub const OID_TCP_TASK_IPSEC_ADD_SA: u32 = 4227924482u32; 7359 pub const OID_TCP_TASK_IPSEC_ADD_UDPESP_SA: u32 = 4227924485u32; 7360 pub const OID_TCP_TASK_IPSEC_DELETE_SA: u32 = 4227924483u32; 7361 pub const OID_TCP_TASK_IPSEC_DELETE_UDPESP_SA: u32 = 4227924486u32; 7362 pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_ADD_SA: u32 = 4228055554u32; 7363 pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_ADD_SA_EX: u32 = 4228055557u32; 7364 pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_DELETE_SA: u32 = 4228055555u32; 7365 pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_UPDATE_SA: u32 = 4228055556u32; 7366 pub const OID_TCP_TASK_OFFLOAD: u32 = 4227924481u32; 7367 pub const OID_TIMESTAMP_CAPABILITY: u32 = 10485761u32; 7368 pub const OID_TIMESTAMP_CURRENT_CONFIG: u32 = 10485762u32; 7369 pub const OID_TIMESTAMP_GET_CROSSTIMESTAMP: u32 = 10485763u32; 7370 pub const OID_TUNNEL_INTERFACE_RELEASE_OID: u32 = 251724039u32; 7371 pub const OID_TUNNEL_INTERFACE_SET_OID: u32 = 251724038u32; 7372 pub const OID_VLAN_RESERVED1: u32 = 66097u32; 7373 pub const OID_VLAN_RESERVED2: u32 = 66098u32; 7374 pub const OID_VLAN_RESERVED3: u32 = 66099u32; 7375 pub const OID_VLAN_RESERVED4: u32 = 66100u32; 7376 pub const OID_WAN_CO_GET_COMP_INFO: u32 = 67175040u32; 7377 pub const OID_WAN_CO_GET_INFO: u32 = 67174784u32; 7378 pub const OID_WAN_CO_GET_LINK_INFO: u32 = 67174786u32; 7379 pub const OID_WAN_CO_GET_STATS_INFO: u32 = 67175042u32; 7380 pub const OID_WAN_CO_SET_COMP_INFO: u32 = 67175041u32; 7381 pub const OID_WAN_CO_SET_LINK_INFO: u32 = 67174785u32; 7382 pub const OID_WAN_CURRENT_ADDRESS: u32 = 67174658u32; 7383 pub const OID_WAN_GET_BRIDGE_INFO: u32 = 67174922u32; 7384 pub const OID_WAN_GET_COMP_INFO: u32 = 67174924u32; 7385 pub const OID_WAN_GET_INFO: u32 = 67174663u32; 7386 pub const OID_WAN_GET_LINK_INFO: u32 = 67174665u32; 7387 pub const OID_WAN_GET_STATS_INFO: u32 = 67174926u32; 7388 pub const OID_WAN_HEADER_FORMAT: u32 = 67174662u32; 7389 pub const OID_WAN_LINE_COUNT: u32 = 67174666u32; 7390 pub const OID_WAN_MEDIUM_SUBTYPE: u32 = 67174661u32; 7391 pub const OID_WAN_PERMANENT_ADDRESS: u32 = 67174657u32; 7392 pub const OID_WAN_PROTOCOL_CAPS: u32 = 67174667u32; 7393 pub const OID_WAN_PROTOCOL_TYPE: u32 = 67174660u32; 7394 pub const OID_WAN_QUALITY_OF_SERVICE: u32 = 67174659u32; 7395 pub const OID_WAN_SET_BRIDGE_INFO: u32 = 67174923u32; 7396 pub const OID_WAN_SET_COMP_INFO: u32 = 67174925u32; 7397 pub const OID_WAN_SET_LINK_INFO: u32 = 67174664u32; 7398 pub const OID_WWAN_AUTH_CHALLENGE: u32 = 234946837u32; 7399 pub const OID_WWAN_BASE_STATIONS_INFO: u32 = 234946888u32; 7400 pub const OID_WWAN_CONNECT: u32 = 234946828u32; 7401 pub const OID_WWAN_CREATE_MAC: u32 = 234946854u32; 7402 pub const OID_WWAN_DELETE_MAC: u32 = 234946855u32; 7403 pub const OID_WWAN_DEVICE_BINDINGS: u32 = 234946865u32; 7404 pub const OID_WWAN_DEVICE_CAPS: u32 = 234946817u32; 7405 pub const OID_WWAN_DEVICE_CAPS_EX: u32 = 234946862u32; 7406 pub const OID_WWAN_DEVICE_RESET: u32 = 234946887u32; 7407 pub const OID_WWAN_DEVICE_SERVICE_COMMAND: u32 = 234946840u32; 7408 pub const OID_WWAN_DEVICE_SERVICE_SESSION: u32 = 234946851u32; 7409 pub const OID_WWAN_DEVICE_SERVICE_SESSION_WRITE: u32 = 234946852u32; 7410 pub const OID_WWAN_DRIVER_CAPS: u32 = 234946816u32; 7411 pub const OID_WWAN_ENUMERATE_DEVICE_SERVICES: u32 = 234946838u32; 7412 pub const OID_WWAN_ENUMERATE_DEVICE_SERVICE_COMMANDS: u32 = 234946850u32; 7413 pub const OID_WWAN_HOME_PROVIDER: u32 = 234946822u32; 7414 pub const OID_WWAN_IMS_VOICE_STATE: u32 = 234946867u32; 7415 pub const OID_WWAN_LOCATION_STATE: u32 = 234946869u32; 7416 pub const OID_WWAN_LTE_ATTACH_CONFIG: u32 = 234946882u32; 7417 pub const OID_WWAN_LTE_ATTACH_STATUS: u32 = 234946883u32; 7418 pub const OID_WWAN_MBIM_VERSION: u32 = 234946860u32; 7419 pub const OID_WWAN_MODEM_CONFIG_INFO: u32 = 234946884u32; 7420 pub const OID_WWAN_MODEM_LOGGING_CONFIG: u32 = 234946891u32; 7421 pub const OID_WWAN_MPDP: u32 = 234946889u32; 7422 pub const OID_WWAN_NETWORK_BLACKLIST: u32 = 234946881u32; 7423 pub const OID_WWAN_NETWORK_IDLE_HINT: u32 = 234946871u32; 7424 pub const OID_WWAN_NETWORK_PARAMS: u32 = 234946893u32; 7425 pub const OID_WWAN_NITZ: u32 = 234946870u32; 7426 pub const OID_WWAN_PACKET_SERVICE: u32 = 234946826u32; 7427 pub const OID_WWAN_PCO: u32 = 234946885u32; 7428 pub const OID_WWAN_PIN: u32 = 234946820u32; 7429 pub const OID_WWAN_PIN_EX: u32 = 234946849u32; 7430 pub const OID_WWAN_PIN_EX2: u32 = 234946859u32; 7431 pub const OID_WWAN_PIN_LIST: u32 = 234946821u32; 7432 pub const OID_WWAN_PREFERRED_MULTICARRIER_PROVIDERS: u32 = 234946853u32; 7433 pub const OID_WWAN_PREFERRED_PROVIDERS: u32 = 234946823u32; 7434 pub const OID_WWAN_PRESHUTDOWN: u32 = 234946872u32; 7435 pub const OID_WWAN_PROVISIONED_CONTEXTS: u32 = 234946829u32; 7436 pub const OID_WWAN_PS_MEDIA_CONFIG: u32 = 234946878u32; 7437 pub const OID_WWAN_RADIO_STATE: u32 = 234946819u32; 7438 pub const OID_WWAN_READY_INFO: u32 = 234946818u32; 7439 pub const OID_WWAN_REGISTER_PARAMS: u32 = 234946892u32; 7440 pub const OID_WWAN_REGISTER_STATE: u32 = 234946825u32; 7441 pub const OID_WWAN_REGISTER_STATE_EX: u32 = 234946866u32; 7442 pub const OID_WWAN_SAR_CONFIG: u32 = 234946879u32; 7443 pub const OID_WWAN_SAR_TRANSMISSION_STATUS: u32 = 234946880u32; 7444 pub const OID_WWAN_SERVICE_ACTIVATION: u32 = 234946830u32; 7445 pub const OID_WWAN_SIGNAL_STATE: u32 = 234946827u32; 7446 pub const OID_WWAN_SIGNAL_STATE_EX: u32 = 234946868u32; 7447 pub const OID_WWAN_SLOT_INFO_STATUS: u32 = 234946864u32; 7448 pub const OID_WWAN_SMS_CONFIGURATION: u32 = 234946831u32; 7449 pub const OID_WWAN_SMS_DELETE: u32 = 234946834u32; 7450 pub const OID_WWAN_SMS_READ: u32 = 234946832u32; 7451 pub const OID_WWAN_SMS_SEND: u32 = 234946833u32; 7452 pub const OID_WWAN_SMS_STATUS: u32 = 234946835u32; 7453 pub const OID_WWAN_SUBSCRIBE_DEVICE_SERVICE_EVENTS: u32 = 234946839u32; 7454 pub const OID_WWAN_SYS_CAPS: u32 = 234946861u32; 7455 pub const OID_WWAN_SYS_SLOTMAPPINGS: u32 = 234946863u32; 7456 pub const OID_WWAN_UICC_ACCESS_BINARY: u32 = 234946857u32; 7457 pub const OID_WWAN_UICC_ACCESS_RECORD: u32 = 234946858u32; 7458 pub const OID_WWAN_UICC_APDU: u32 = 234946876u32; 7459 pub const OID_WWAN_UICC_APP_LIST: u32 = 234946890u32; 7460 pub const OID_WWAN_UICC_ATR: u32 = 234946873u32; 7461 pub const OID_WWAN_UICC_CLOSE_CHANNEL: u32 = 234946875u32; 7462 pub const OID_WWAN_UICC_FILE_STATUS: u32 = 234946856u32; 7463 pub const OID_WWAN_UICC_OPEN_CHANNEL: u32 = 234946874u32; 7464 pub const OID_WWAN_UICC_RESET: u32 = 234946886u32; 7465 pub const OID_WWAN_UICC_TERMINAL_CAPABILITY: u32 = 234946877u32; 7466 pub const OID_WWAN_USSD: u32 = 234946841u32; 7467 pub const OID_WWAN_VENDOR_SPECIFIC: u32 = 234946836u32; 7468 pub const OID_WWAN_VISIBLE_PROVIDERS: u32 = 234946824u32; 7469 pub const OID_XBOX_ACC_RESERVED0: u32 = 4194304000u32; 7470 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 7471 #[repr(C)] 7472 pub struct PMKID_CANDIDATE { 7473 pub BSSID: [u8; 6], 7474 pub Flags: u32, 7475 } 7476 impl PMKID_CANDIDATE {} 7477 impl ::std::default::Default for PMKID_CANDIDATE { default() -> Self7478 fn default() -> Self { 7479 unsafe { ::std::mem::zeroed() } 7480 } 7481 } 7482 impl ::std::fmt::Debug for PMKID_CANDIDATE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7483 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 7484 fmt.debug_struct("PMKID_CANDIDATE").field("BSSID", &self.BSSID).field("Flags", &self.Flags).finish() 7485 } 7486 } 7487 impl ::std::cmp::PartialEq for PMKID_CANDIDATE { eq(&self, other: &Self) -> bool7488 fn eq(&self, other: &Self) -> bool { 7489 self.BSSID == other.BSSID && self.Flags == other.Flags 7490 } 7491 } 7492 impl ::std::cmp::Eq for PMKID_CANDIDATE {} 7493 unsafe impl ::windows::runtime::Abi for PMKID_CANDIDATE { 7494 type Abi = Self; 7495 type DefaultType = Self; 7496 } 7497 pub const READABLE_LOCAL_CLOCK: u32 = 1u32; 7498 pub const RECEIVE_TIME_INDICATION_CAPABLE: u32 = 8u32; 7499 pub const TIMED_SEND_CAPABLE: u32 = 16u32; 7500 pub const TIME_STAMP_CAPABLE: u32 = 32u32; 7501 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 7502 #[repr(C)] 7503 pub struct TRANSPORT_HEADER_OFFSET { 7504 pub ProtocolType: u16, 7505 pub HeaderOffset: u16, 7506 } 7507 impl TRANSPORT_HEADER_OFFSET {} 7508 impl ::std::default::Default for TRANSPORT_HEADER_OFFSET { default() -> Self7509 fn default() -> Self { 7510 unsafe { ::std::mem::zeroed() } 7511 } 7512 } 7513 impl ::std::fmt::Debug for TRANSPORT_HEADER_OFFSET { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7514 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 7515 fmt.debug_struct("TRANSPORT_HEADER_OFFSET").field("ProtocolType", &self.ProtocolType).field("HeaderOffset", &self.HeaderOffset).finish() 7516 } 7517 } 7518 impl ::std::cmp::PartialEq for TRANSPORT_HEADER_OFFSET { eq(&self, other: &Self) -> bool7519 fn eq(&self, other: &Self) -> bool { 7520 self.ProtocolType == other.ProtocolType && self.HeaderOffset == other.HeaderOffset 7521 } 7522 } 7523 impl ::std::cmp::Eq for TRANSPORT_HEADER_OFFSET {} 7524 unsafe impl ::windows::runtime::Abi for TRANSPORT_HEADER_OFFSET { 7525 type Abi = Self; 7526 type DefaultType = Self; 7527 } 7528 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 7529 #[repr(transparent)] 7530 pub struct UDP_ENCAP_TYPE(pub i32); 7531 pub const OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_IKE: UDP_ENCAP_TYPE = UDP_ENCAP_TYPE(0i32); 7532 pub const OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_OTHER: UDP_ENCAP_TYPE = UDP_ENCAP_TYPE(1i32); 7533 impl ::std::convert::From<i32> for UDP_ENCAP_TYPE { from(value: i32) -> Self7534 fn from(value: i32) -> Self { 7535 Self(value) 7536 } 7537 } 7538 unsafe impl ::windows::runtime::Abi for UDP_ENCAP_TYPE { 7539 type Abi = Self; 7540 type DefaultType = Self; 7541 } 7542 pub const UNSPECIFIED_NETWORK_GUID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(314203102, 5182, 19469, [182, 109, 35, 121, 187, 20, 25, 19]); 7543 pub const WAN_PROTOCOL_KEEPS_STATS: u32 = 1u32; 7544 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 7545 #[repr(C)] 7546 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 7547 pub struct WDIAG_IHV_WLAN_ID { 7548 pub strProfileName: [u16; 256], 7549 pub Ssid: super::WiFi::DOT11_SSID, 7550 pub BssType: super::WiFi::DOT11_BSS_TYPE, 7551 pub dwFlags: u32, 7552 pub dwReasonCode: u32, 7553 } 7554 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 7555 impl WDIAG_IHV_WLAN_ID {} 7556 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 7557 impl ::std::default::Default for WDIAG_IHV_WLAN_ID { default() -> Self7558 fn default() -> Self { 7559 unsafe { ::std::mem::zeroed() } 7560 } 7561 } 7562 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 7563 impl ::std::fmt::Debug for WDIAG_IHV_WLAN_ID { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7564 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 7565 fmt.debug_struct("WDIAG_IHV_WLAN_ID").field("strProfileName", &self.strProfileName).field("Ssid", &self.Ssid).field("BssType", &self.BssType).field("dwFlags", &self.dwFlags).field("dwReasonCode", &self.dwReasonCode).finish() 7566 } 7567 } 7568 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 7569 impl ::std::cmp::PartialEq for WDIAG_IHV_WLAN_ID { eq(&self, other: &Self) -> bool7570 fn eq(&self, other: &Self) -> bool { 7571 self.strProfileName == other.strProfileName && self.Ssid == other.Ssid && self.BssType == other.BssType && self.dwFlags == other.dwFlags && self.dwReasonCode == other.dwReasonCode 7572 } 7573 } 7574 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 7575 impl ::std::cmp::Eq for WDIAG_IHV_WLAN_ID {} 7576 #[cfg(feature = "Win32_NetworkManagement_WiFi")] 7577 unsafe impl ::windows::runtime::Abi for WDIAG_IHV_WLAN_ID { 7578 type Abi = Self; 7579 type DefaultType = Self; 7580 } 7581 pub const WDIAG_IHV_WLAN_ID_FLAG_SECURITY_ENABLED: u32 = 1u32; 7582