diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
commit | 5363f350887b1e5b5dd21a86f88c8af9d7fea6da (patch) | |
tree | 35ca005eb6e0e9a1ba3bb5dbc033209ad445dc17 /vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs | |
parent | Adding debian version 1.66.0+dfsg1-1. (diff) | |
download | rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.tar.xz rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.zip |
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs | 175 |
1 files changed, 0 insertions, 175 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs deleted file mode 100644 index d011337cb..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs +++ /dev/null @@ -1,175 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" { - #[cfg(feature = "Win32_Foundation")] - pub fn WnvOpen() -> super::super::Foundation::HANDLE; - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] - pub fn WnvRequestNotification(wnvhandle: super::super::Foundation::HANDLE, notificationparam: *mut WNV_NOTIFICATION_PARAM, overlapped: *mut super::super::System::IO::OVERLAPPED, bytestransferred: *mut u32) -> u32; -} -pub const WNV_API_MAJOR_VERSION_1: u32 = 1u32; -pub const WNV_API_MINOR_VERSION_0: u32 = 0u32; -pub type WNV_CA_NOTIFICATION_TYPE = i32; -pub const WnvCustomerAddressAdded: WNV_CA_NOTIFICATION_TYPE = 0i32; -pub const WnvCustomerAddressDeleted: WNV_CA_NOTIFICATION_TYPE = 1i32; -pub const WnvCustomerAddressMoved: WNV_CA_NOTIFICATION_TYPE = 2i32; -pub const WnvCustomerAddressMax: WNV_CA_NOTIFICATION_TYPE = 3i32; -#[repr(C)] -#[cfg(all(feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Networking_WinSock"))] -pub struct WNV_CUSTOMER_ADDRESS_CHANGE_PARAM { - pub MACAddress: super::WindowsFilteringPlatform::DL_EUI48, - pub CAFamily: u16, - pub CA: WNV_IP_ADDRESS, - pub VirtualSubnetId: u32, - pub PAFamily: u16, - pub PA: WNV_IP_ADDRESS, - pub NotificationReason: WNV_CA_NOTIFICATION_TYPE, -} -#[cfg(all(feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Networking_WinSock"))] -impl ::core::marker::Copy for WNV_CUSTOMER_ADDRESS_CHANGE_PARAM {} -#[cfg(all(feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Networking_WinSock"))] -impl ::core::clone::Clone for WNV_CUSTOMER_ADDRESS_CHANGE_PARAM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Win32_Networking_WinSock")] -pub struct WNV_IP_ADDRESS { - pub IP: WNV_IP_ADDRESS_0, -} -#[cfg(feature = "Win32_Networking_WinSock")] -impl ::core::marker::Copy for WNV_IP_ADDRESS {} -#[cfg(feature = "Win32_Networking_WinSock")] -impl ::core::clone::Clone for WNV_IP_ADDRESS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Win32_Networking_WinSock")] -pub union WNV_IP_ADDRESS_0 { - pub v4: super::super::Networking::WinSock::IN_ADDR, - pub v6: super::super::Networking::WinSock::IN6_ADDR, - pub Addr: [u8; 16], -} -#[cfg(feature = "Win32_Networking_WinSock")] -impl ::core::marker::Copy for WNV_IP_ADDRESS_0 {} -#[cfg(feature = "Win32_Networking_WinSock")] -impl ::core::clone::Clone for WNV_IP_ADDRESS_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct WNV_NOTIFICATION_PARAM { - pub Header: WNV_OBJECT_HEADER, - pub NotificationType: WNV_NOTIFICATION_TYPE, - pub PendingNotifications: u32, - pub Buffer: *mut u8, -} -impl ::core::marker::Copy for WNV_NOTIFICATION_PARAM {} -impl ::core::clone::Clone for WNV_NOTIFICATION_PARAM { - fn clone(&self) -> Self { - *self - } -} -pub type WNV_NOTIFICATION_TYPE = i32; -pub const WnvPolicyMismatchType: WNV_NOTIFICATION_TYPE = 0i32; -pub const WnvRedirectType: WNV_NOTIFICATION_TYPE = 1i32; -pub const WnvObjectChangeType: WNV_NOTIFICATION_TYPE = 2i32; -pub const WnvNotificationTypeMax: WNV_NOTIFICATION_TYPE = 3i32; -#[repr(C)] -#[cfg(all(feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Networking_WinSock"))] -pub struct WNV_OBJECT_CHANGE_PARAM { - pub ObjectType: WNV_OBJECT_TYPE, - pub ObjectParam: WNV_OBJECT_CHANGE_PARAM_0, -} -#[cfg(all(feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Networking_WinSock"))] -impl ::core::marker::Copy for WNV_OBJECT_CHANGE_PARAM {} -#[cfg(all(feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Networking_WinSock"))] -impl ::core::clone::Clone for WNV_OBJECT_CHANGE_PARAM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(all(feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Networking_WinSock"))] -pub union WNV_OBJECT_CHANGE_PARAM_0 { - pub ProviderAddressChange: WNV_PROVIDER_ADDRESS_CHANGE_PARAM, - pub CustomerAddressChange: WNV_CUSTOMER_ADDRESS_CHANGE_PARAM, -} -#[cfg(all(feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Networking_WinSock"))] -impl ::core::marker::Copy for WNV_OBJECT_CHANGE_PARAM_0 {} -#[cfg(all(feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Networking_WinSock"))] -impl ::core::clone::Clone for WNV_OBJECT_CHANGE_PARAM_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct WNV_OBJECT_HEADER { - pub MajorVersion: u8, - pub MinorVersion: u8, - pub Size: u32, -} -impl ::core::marker::Copy for WNV_OBJECT_HEADER {} -impl ::core::clone::Clone for WNV_OBJECT_HEADER { - fn clone(&self) -> Self { - *self - } -} -pub type WNV_OBJECT_TYPE = i32; -pub const WnvProviderAddressType: WNV_OBJECT_TYPE = 0i32; -pub const WnvCustomerAddressType: WNV_OBJECT_TYPE = 1i32; -pub const WnvObjectTypeMax: WNV_OBJECT_TYPE = 2i32; -#[repr(C)] -#[cfg(feature = "Win32_Networking_WinSock")] -pub struct WNV_POLICY_MISMATCH_PARAM { - pub CAFamily: u16, - pub PAFamily: u16, - pub VirtualSubnetId: u32, - pub CA: WNV_IP_ADDRESS, - pub PA: WNV_IP_ADDRESS, -} -#[cfg(feature = "Win32_Networking_WinSock")] -impl ::core::marker::Copy for WNV_POLICY_MISMATCH_PARAM {} -#[cfg(feature = "Win32_Networking_WinSock")] -impl ::core::clone::Clone for WNV_POLICY_MISMATCH_PARAM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Win32_Networking_WinSock")] -pub struct WNV_PROVIDER_ADDRESS_CHANGE_PARAM { - pub PAFamily: u16, - pub PA: WNV_IP_ADDRESS, - pub AddressState: super::super::Networking::WinSock::NL_DAD_STATE, -} -#[cfg(feature = "Win32_Networking_WinSock")] -impl ::core::marker::Copy for WNV_PROVIDER_ADDRESS_CHANGE_PARAM {} -#[cfg(feature = "Win32_Networking_WinSock")] -impl ::core::clone::Clone for WNV_PROVIDER_ADDRESS_CHANGE_PARAM { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Win32_Networking_WinSock")] -pub struct WNV_REDIRECT_PARAM { - pub CAFamily: u16, - pub PAFamily: u16, - pub NewPAFamily: u16, - pub VirtualSubnetId: u32, - pub CA: WNV_IP_ADDRESS, - pub PA: WNV_IP_ADDRESS, - pub NewPA: WNV_IP_ADDRESS, -} -#[cfg(feature = "Win32_Networking_WinSock")] -impl ::core::marker::Copy for WNV_REDIRECT_PARAM {} -#[cfg(feature = "Win32_Networking_WinSock")] -impl ::core::clone::Clone for WNV_REDIRECT_PARAM { - fn clone(&self) -> Self { - *self - } -} |