Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs

raw
1 ::windows_targets::link!("iphlpapi.dll" "system" fn AddIPAddress(address : u32, ipmask : u32, ifindex : u32, ntecontext : *mut u32, nteinstance : *mut u32) -> u32);
2 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
3 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn CancelIPChangeNotify(notifyoverlapped : *const super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL);
4 ::windows_targets::link!("iphlpapi.dll" "system" fn CancelIfTimestampConfigChange(notificationhandle : HIFTIMESTAMPCHANGE) -> ());
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CancelMibChangeNotify2(notificationhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR);
7 #[cfg(feature = "Win32_NetworkManagement_Ndis")]
8 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] fn CaptureInterfaceHardwareCrossTimestamp(interfaceluid : *const super::Ndis:: NET_LUID_LH, crosstimestamp : *mut INTERFACE_HARDWARE_CROSSTIMESTAMP) -> u32);
9 #[cfg(feature = "Win32_Foundation")]
10 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertCompartmentGuidToId(compartmentguid : *const ::windows_sys::core::GUID, compartmentid : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
11 #[cfg(feature = "Win32_Foundation")]
12 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertCompartmentIdToGuid(compartmentid : u32, compartmentguid : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: WIN32_ERROR);
13 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
14 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceAliasToLuid(interfacealias : ::windows_sys::core::PCWSTR, interfaceluid : *mut super::Ndis:: NET_LUID_LH) -> super::super::Foundation:: WIN32_ERROR);
15 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
16 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceGuidToLuid(interfaceguid : *const ::windows_sys::core::GUID, interfaceluid : *mut super::Ndis:: NET_LUID_LH) -> super::super::Foundation:: WIN32_ERROR);
17 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
18 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceIndexToLuid(interfaceindex : u32, interfaceluid : *mut super::Ndis:: NET_LUID_LH) -> super::super::Foundation:: WIN32_ERROR);
19 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
20 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceLuidToAlias(interfaceluid : *const super::Ndis:: NET_LUID_LH, interfacealias : ::windows_sys::core::PWSTR, length : usize) -> super::super::Foundation:: WIN32_ERROR);
21 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
22 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceLuidToGuid(interfaceluid : *const super::Ndis:: NET_LUID_LH, interfaceguid : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: WIN32_ERROR);
23 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
24 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceLuidToIndex(interfaceluid : *const super::Ndis:: NET_LUID_LH, interfaceindex : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
25 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
26 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceLuidToNameA(interfaceluid : *const super::Ndis:: NET_LUID_LH, interfacename : ::windows_sys::core::PSTR, length : usize) -> super::super::Foundation:: WIN32_ERROR);
27 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
28 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceLuidToNameW(interfaceluid : *const super::Ndis:: NET_LUID_LH, interfacename : ::windows_sys::core::PWSTR, length : usize) -> super::super::Foundation:: WIN32_ERROR);
29 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
30 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceNameToLuidA(interfacename : ::windows_sys::core::PCSTR, interfaceluid : *mut super::Ndis:: NET_LUID_LH) -> super::super::Foundation:: WIN32_ERROR);
31 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
32 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn ConvertInterfaceNameToLuidW(interfacename : ::windows_sys::core::PCWSTR, interfaceluid : *mut super::Ndis:: NET_LUID_LH) -> super::super::Foundation:: WIN32_ERROR);
33 #[cfg(feature = "Win32_Foundation")]
34 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertIpv4MaskToLength(mask : u32, masklength : *mut u8) -> super::super::Foundation:: WIN32_ERROR);
35 #[cfg(feature = "Win32_Foundation")]
36 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertLengthToIpv4Mask(masklength : u32, mask : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
37 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
38 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn CreateAnycastIpAddressEntry(row : *const MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR);
39 #[cfg(feature = "Win32_Networking_WinSock")]
40 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn CreateIpForwardEntry(proute : *const MIB_IPFORWARDROW) -> u32);
41 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
42 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn CreateIpForwardEntry2(row : *const MIB_IPFORWARD_ROW2) -> super::super::Foundation:: WIN32_ERROR);
43 ::windows_targets::link!("iphlpapi.dll" "system" fn CreateIpNetEntry(parpentry : *const MIB_IPNETROW_LH) -> u32);
44 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
45 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn CreateIpNetEntry2(row : *const MIB_IPNET_ROW2) -> super::super::Foundation:: WIN32_ERROR);
46 ::windows_targets::link!("iphlpapi.dll" "system" fn CreatePersistentTcpPortReservation(startport : u16, numberofports : u16, token : *mut u64) -> u32);
47 ::windows_targets::link!("iphlpapi.dll" "system" fn CreatePersistentUdpPortReservation(startport : u16, numberofports : u16, token : *mut u64) -> u32);
48 ::windows_targets::link!("iphlpapi.dll" "system" fn CreateProxyArpEntry(dwaddress : u32, dwmask : u32, dwifindex : u32) -> u32);
49 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
50 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn CreateSortedAddressPairs(sourceaddresslist : *const super::super::Networking::WinSock:: SOCKADDR_IN6, sourceaddresscount : u32, destinationaddresslist : *const super::super::Networking::WinSock:: SOCKADDR_IN6, destinationaddresscount : u32, addresssortoptions : u32, sortedaddresspairlist : *mut *mut super::super::Networking::WinSock:: SOCKADDR_IN6_PAIR, sortedaddresspaircount : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
51 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
52 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn CreateUnicastIpAddressEntry(row : *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR);
53 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
54 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn DeleteAnycastIpAddressEntry(row : *const MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR);
55 ::windows_targets::link!("iphlpapi.dll" "system" fn DeleteIPAddress(ntecontext : u32) -> u32);
56 #[cfg(feature = "Win32_Networking_WinSock")]
57 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn DeleteIpForwardEntry(proute : *const MIB_IPFORWARDROW) -> u32);
58 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
59 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn DeleteIpForwardEntry2(row : *const MIB_IPFORWARD_ROW2) -> super::super::Foundation:: WIN32_ERROR);
60 ::windows_targets::link!("iphlpapi.dll" "system" fn DeleteIpNetEntry(parpentry : *const MIB_IPNETROW_LH) -> u32);
61 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
62 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn DeleteIpNetEntry2(row : *const MIB_IPNET_ROW2) -> super::super::Foundation:: WIN32_ERROR);
63 ::windows_targets::link!("iphlpapi.dll" "system" fn DeletePersistentTcpPortReservation(startport : u16, numberofports : u16) -> u32);
64 ::windows_targets::link!("iphlpapi.dll" "system" fn DeletePersistentUdpPortReservation(startport : u16, numberofports : u16) -> u32);
65 ::windows_targets::link!("iphlpapi.dll" "system" fn DeleteProxyArpEntry(dwaddress : u32, dwmask : u32, dwifindex : u32) -> u32);
66 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
67 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn DeleteUnicastIpAddressEntry(row : *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR);
68 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
69 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn DisableMediaSense(phandle : *mut super::super::Foundation:: HANDLE, poverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
70 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
71 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn EnableRouter(phandle : *mut super::super::Foundation:: HANDLE, poverlapped : *mut super::super::System::IO:: OVERLAPPED) -> u32);
72 ::windows_targets::link!("iphlpapi.dll" "system" fn FlushIpNetTable(dwifindex : u32) -> u32);
73 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
74 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn FlushIpNetTable2(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, interfaceindex : u32) -> super::super::Foundation:: WIN32_ERROR);
75 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
76 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn FlushIpPathTable(family : super::super::Networking::WinSock:: ADDRESS_FAMILY) -> super::super::Foundation:: WIN32_ERROR);
77 ::windows_targets::link!("iphlpapi.dll" "system" fn FreeDnsSettings(settings : *mut DNS_SETTINGS) -> ());
78 #[cfg(feature = "Win32_Foundation")]
79 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeInterfaceDnsSettings(settings : *mut DNS_INTERFACE_SETTINGS) -> super::super::Foundation:: WIN32_ERROR);
80 #[cfg(feature = "Win32_Foundation")]
81 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeMibTable(memory : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR);
82 ::windows_targets::link!("iphlpapi.dll" "system" fn GetAdapterIndex(adaptername : ::windows_sys::core::PCWSTR, ifindex : *mut u32) -> u32);
83 ::windows_targets::link!("iphlpapi.dll" "system" fn GetAdapterOrderMap() -> *mut IP_ADAPTER_ORDER_MAP);
84 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
85 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetAdaptersAddresses(family : u32, flags : GET_ADAPTERS_ADDRESSES_FLAGS, reserved : *const ::core::ffi::c_void, adapteraddresses : *mut IP_ADAPTER_ADDRESSES_LH, sizepointer : *mut u32) -> u32);
86 #[cfg(feature = "Win32_Foundation")]
87 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAdaptersInfo(adapterinfo : *mut IP_ADAPTER_INFO, sizepointer : *mut u32) -> u32);
88 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
89 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetAnycastIpAddressEntry(row : *mut MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR);
90 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
91 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetAnycastIpAddressTable(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_ANYCASTIPADDRESS_TABLE) -> super::super::Foundation:: WIN32_ERROR);
92 ::windows_targets::link!("iphlpapi.dll" "system" fn GetBestInterface(dwdestaddr : u32, pdwbestifindex : *mut u32) -> u32);
93 #[cfg(feature = "Win32_Networking_WinSock")]
94 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn GetBestInterfaceEx(pdestaddr : *const super::super::Networking::WinSock:: SOCKADDR, pdwbestifindex : *mut u32) -> u32);
95 #[cfg(feature = "Win32_Networking_WinSock")]
96 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn GetBestRoute(dwdestaddr : u32, dwsourceaddr : u32, pbestroute : *mut MIB_IPFORWARDROW) -> u32);
97 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
98 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetBestRoute2(interfaceluid : *const super::Ndis:: NET_LUID_LH, interfaceindex : u32, sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET, destinationaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET, addresssortoptions : u32, bestroute : *mut MIB_IPFORWARD_ROW2, bestsourceaddress : *mut super::super::Networking::WinSock:: SOCKADDR_INET) -> super::super::Foundation:: WIN32_ERROR);
99 #[cfg(feature = "Win32_Foundation")]
100 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCurrentThreadCompartmentId() -> super::super::Foundation:: WIN32_ERROR);
101 ::windows_targets::link!("iphlpapi.dll" "system" fn GetCurrentThreadCompartmentScope(compartmentscope : *mut u32, compartmentid : *mut u32) -> ());
102 #[cfg(feature = "Win32_Foundation")]
103 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetDefaultCompartmentId() -> super::super::Foundation:: WIN32_ERROR);
104 #[cfg(feature = "Win32_Foundation")]
105 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetDnsSettings(settings : *mut DNS_SETTINGS) -> super::super::Foundation:: WIN32_ERROR);
106 #[cfg(feature = "Win32_Foundation")]
107 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetExtendedTcpTable(ptcptable : *mut ::core::ffi::c_void, pdwsize : *mut u32, border : super::super::Foundation:: BOOL, ulaf : u32, tableclass : TCP_TABLE_CLASS, reserved : u32) -> u32);
108 #[cfg(feature = "Win32_Foundation")]
109 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetExtendedUdpTable(pudptable : *mut ::core::ffi::c_void, pdwsize : *mut u32, border : super::super::Foundation:: BOOL, ulaf : u32, tableclass : UDP_TABLE_CLASS, reserved : u32) -> u32);
110 ::windows_targets::link!("iphlpapi.dll" "system" fn GetFriendlyIfIndex(ifindex : u32) -> u32);
111 ::windows_targets::link!("iphlpapi.dll" "system" fn GetIcmpStatistics(statistics : *mut MIB_ICMP) -> u32);
112 ::windows_targets::link!("iphlpapi.dll" "system" fn GetIcmpStatisticsEx(statistics : *mut MIB_ICMP_EX_XPSP1, family : u32) -> u32);
113 ::windows_targets::link!("iphlpapi.dll" "system" fn GetIfEntry(pifrow : *mut MIB_IFROW) -> u32);
114 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
115 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetIfEntry2(row : *mut MIB_IF_ROW2) -> super::super::Foundation:: WIN32_ERROR);
116 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
117 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetIfEntry2Ex(level : MIB_IF_ENTRY_LEVEL, row : *mut MIB_IF_ROW2) -> super::super::Foundation:: WIN32_ERROR);
118 #[cfg(feature = "Win32_Foundation")]
119 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetIfStackTable(table : *mut *mut MIB_IFSTACK_TABLE) -> super::super::Foundation:: WIN32_ERROR);
120 #[cfg(feature = "Win32_Foundation")]
121 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetIfTable(piftable : *mut MIB_IFTABLE, pdwsize : *mut u32, border : super::super::Foundation:: BOOL) -> u32);
122 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
123 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetIfTable2(table : *mut *mut MIB_IF_TABLE2) -> super::super::Foundation:: WIN32_ERROR);
124 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
125 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetIfTable2Ex(level : MIB_IF_TABLE_LEVEL, table : *mut *mut MIB_IF_TABLE2) -> super::super::Foundation:: WIN32_ERROR);
126 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
127 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetInterfaceActiveTimestampCapabilities(interfaceluid : *const super::Ndis:: NET_LUID_LH, timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32);
128 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
129 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetInterfaceCurrentTimestampCapabilities(interfaceluid : *const super::Ndis:: NET_LUID_LH, timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32);
130 #[cfg(feature = "Win32_Foundation")]
131 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetInterfaceDnsSettings(interface : ::windows_sys::core::GUID, settings : *mut DNS_INTERFACE_SETTINGS) -> super::super::Foundation:: WIN32_ERROR);
132 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
133 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetInterfaceHardwareTimestampCapabilities(interfaceluid : *const super::Ndis:: NET_LUID_LH, timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32);
134 ::windows_targets::link!("iphlpapi.dll" "system" fn GetInterfaceInfo(piftable : *mut IP_INTERFACE_INFO, dwoutbuflen : *mut u32) -> u32);
135 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))]
136 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`"] fn GetInterfaceSupportedTimestampCapabilities(interfaceluid : *const super::Ndis:: NET_LUID_LH, timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32);
137 #[cfg(feature = "Win32_Foundation")]
138 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetInvertedIfStackTable(table : *mut *mut MIB_INVERTEDIFSTACK_TABLE) -> super::super::Foundation:: WIN32_ERROR);
139 #[cfg(feature = "Win32_Foundation")]
140 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetIpAddrTable(pipaddrtable : *mut MIB_IPADDRTABLE, pdwsize : *mut u32, border : super::super::Foundation:: BOOL) -> u32);
141 ::windows_targets::link!("iphlpapi.dll" "system" fn GetIpErrorString(errorcode : u32, buffer : ::windows_sys::core::PWSTR, size : *mut u32) -> u32);
142 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
143 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpForwardEntry2(row : *mut MIB_IPFORWARD_ROW2) -> super::super::Foundation:: WIN32_ERROR);
144 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
145 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpForwardTable(pipforwardtable : *mut MIB_IPFORWARDTABLE, pdwsize : *mut u32, border : super::super::Foundation:: BOOL) -> u32);
146 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
147 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpForwardTable2(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_IPFORWARD_TABLE2) -> super::super::Foundation:: WIN32_ERROR);
148 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
149 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpInterfaceEntry(row : *mut MIB_IPINTERFACE_ROW) -> super::super::Foundation:: WIN32_ERROR);
150 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
151 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpInterfaceTable(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_IPINTERFACE_TABLE) -> super::super::Foundation:: WIN32_ERROR);
152 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
153 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpNetEntry2(row : *mut MIB_IPNET_ROW2) -> super::super::Foundation:: WIN32_ERROR);
154 #[cfg(feature = "Win32_Foundation")]
155 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetIpNetTable(ipnettable : *mut MIB_IPNETTABLE, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32);
156 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
157 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpNetTable2(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_IPNET_TABLE2) -> super::super::Foundation:: WIN32_ERROR);
158 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
159 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpNetworkConnectionBandwidthEstimates(interfaceindex : u32, addressfamily : super::super::Networking::WinSock:: ADDRESS_FAMILY, bandwidthestimates : *mut MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES) -> super::super::Foundation:: WIN32_ERROR);
160 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
161 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpPathEntry(row : *mut MIB_IPPATH_ROW) -> super::super::Foundation:: WIN32_ERROR);
162 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
163 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetIpPathTable(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_IPPATH_TABLE) -> super::super::Foundation:: WIN32_ERROR);
164 ::windows_targets::link!("iphlpapi.dll" "system" fn GetIpStatistics(statistics : *mut MIB_IPSTATS_LH) -> u32);
165 ::windows_targets::link!("iphlpapi.dll" "system" fn GetIpStatisticsEx(statistics : *mut MIB_IPSTATS_LH, family : u32) -> u32);
166 #[cfg(feature = "Win32_Foundation")]
167 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetJobCompartmentId(jobhandle : super::super::Foundation:: HANDLE) -> u32);
168 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
169 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetMulticastIpAddressEntry(row : *mut MIB_MULTICASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR);
170 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
171 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetMulticastIpAddressTable(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_MULTICASTIPADDRESS_TABLE) -> super::super::Foundation:: WIN32_ERROR);
172 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
173 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetNetworkConnectivityHint(connectivityhint : *mut super::super::Networking::WinSock:: NL_NETWORK_CONNECTIVITY_HINT) -> super::super::Foundation:: WIN32_ERROR);
174 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
175 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetNetworkConnectivityHintForInterface(interfaceindex : u32, connectivityhint : *mut super::super::Networking::WinSock:: NL_NETWORK_CONNECTIVITY_HINT) -> super::super::Foundation:: WIN32_ERROR);
176 #[cfg(feature = "Win32_Foundation")]
177 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetNetworkInformation(networkguid : *const ::windows_sys::core::GUID, compartmentid : *mut u32, siteid : *mut u32, networkname : ::windows_sys::core::PWSTR, length : u32) -> super::super::Foundation:: WIN32_ERROR);
178 #[cfg(feature = "Win32_Foundation")]
179 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetNetworkParams(pfixedinfo : *mut FIXED_INFO_W2KSP1, poutbuflen : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
180 ::windows_targets::link!("iphlpapi.dll" "system" fn GetNumberOfInterfaces(pdwnumif : *mut u32) -> u32);
181 ::windows_targets::link!("iphlpapi.dll" "system" fn GetOwnerModuleFromPidAndInfo(ulpid : u32, pinfo : *const u64, class : TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer : *mut ::core::ffi::c_void, pdwsize : *mut u32) -> u32);
182 ::windows_targets::link!("iphlpapi.dll" "system" fn GetOwnerModuleFromTcp6Entry(ptcpentry : *const MIB_TCP6ROW_OWNER_MODULE, class : TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer : *mut ::core::ffi::c_void, pdwsize : *mut u32) -> u32);
183 ::windows_targets::link!("iphlpapi.dll" "system" fn GetOwnerModuleFromTcpEntry(ptcpentry : *const MIB_TCPROW_OWNER_MODULE, class : TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer : *mut ::core::ffi::c_void, pdwsize : *mut u32) -> u32);
184 ::windows_targets::link!("iphlpapi.dll" "system" fn GetOwnerModuleFromUdp6Entry(pudpentry : *const MIB_UDP6ROW_OWNER_MODULE, class : TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer : *mut ::core::ffi::c_void, pdwsize : *mut u32) -> u32);
185 ::windows_targets::link!("iphlpapi.dll" "system" fn GetOwnerModuleFromUdpEntry(pudpentry : *const MIB_UDPROW_OWNER_MODULE, class : TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer : *mut ::core::ffi::c_void, pdwsize : *mut u32) -> u32);
186 ::windows_targets::link!("iphlpapi.dll" "system" fn GetPerAdapterInfo(ifindex : u32, pperadapterinfo : *mut IP_PER_ADAPTER_INFO_W2KSP1, poutbuflen : *mut u32) -> u32);
187 #[cfg(feature = "Win32_Networking_WinSock")]
188 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn GetPerTcp6ConnectionEStats(row : *const MIB_TCP6ROW, estatstype : TCP_ESTATS_TYPE, rw : *mut u8, rwversion : u32, rwsize : u32, ros : *mut u8, rosversion : u32, rossize : u32, rod : *mut u8, rodversion : u32, rodsize : u32) -> u32);
189 ::windows_targets::link!("iphlpapi.dll" "system" fn GetPerTcpConnectionEStats(row : *const MIB_TCPROW_LH, estatstype : TCP_ESTATS_TYPE, rw : *mut u8, rwversion : u32, rwsize : u32, ros : *mut u8, rosversion : u32, rossize : u32, rod : *mut u8, rodversion : u32, rodsize : u32) -> u32);
190 #[cfg(feature = "Win32_Foundation")]
191 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetRTTAndHopCount(destipaddress : u32, hopcount : *mut u32, maxhops : u32, rtt : *mut u32) -> super::super::Foundation:: BOOL);
192 #[cfg(feature = "Win32_Foundation")]
193 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSessionCompartmentId(sessionid : u32) -> super::super::Foundation:: WIN32_ERROR);
194 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
195 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetTcp6Table(tcptable : *mut MIB_TCP6TABLE, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32);
196 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
197 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetTcp6Table2(tcptable : *mut MIB_TCP6TABLE2, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32);
198 ::windows_targets::link!("iphlpapi.dll" "system" fn GetTcpStatistics(statistics : *mut MIB_TCPSTATS_LH) -> u32);
199 ::windows_targets::link!("iphlpapi.dll" "system" fn GetTcpStatisticsEx(statistics : *mut MIB_TCPSTATS_LH, family : u32) -> u32);
200 ::windows_targets::link!("iphlpapi.dll" "system" fn GetTcpStatisticsEx2(statistics : *mut MIB_TCPSTATS2, family : u32) -> u32);
201 #[cfg(feature = "Win32_Foundation")]
202 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTcpTable(tcptable : *mut MIB_TCPTABLE, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32);
203 #[cfg(feature = "Win32_Foundation")]
204 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTcpTable2(tcptable : *mut MIB_TCPTABLE2, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32);
205 #[cfg(feature = "Win32_Foundation")]
206 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTeredoPort(port : *mut u16) -> super::super::Foundation:: WIN32_ERROR);
207 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
208 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn GetUdp6Table(udp6table : *mut MIB_UDP6TABLE, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32);
209 ::windows_targets::link!("iphlpapi.dll" "system" fn GetUdpStatistics(stats : *mut MIB_UDPSTATS) -> u32);
210 ::windows_targets::link!("iphlpapi.dll" "system" fn GetUdpStatisticsEx(statistics : *mut MIB_UDPSTATS, family : u32) -> u32);
211 ::windows_targets::link!("iphlpapi.dll" "system" fn GetUdpStatisticsEx2(statistics : *mut MIB_UDPSTATS2, family : u32) -> u32);
212 #[cfg(feature = "Win32_Foundation")]
213 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetUdpTable(udptable : *mut MIB_UDPTABLE, sizepointer : *mut u32, order : super::super::Foundation:: BOOL) -> u32);
214 ::windows_targets::link!("iphlpapi.dll" "system" fn GetUniDirectionalAdapterInfo(pipifinfo : *mut IP_UNIDIRECTIONAL_ADAPTER_ADDRESS, dwoutbuflen : *mut u32) -> u32);
215 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
216 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetUnicastIpAddressEntry(row : *mut MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR);
217 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
218 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn GetUnicastIpAddressTable(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_UNICASTIPADDRESS_TABLE) -> super::super::Foundation:: WIN32_ERROR);
219 #[cfg(feature = "Win32_Foundation")]
220 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Icmp6CreateFile() -> super::super::Foundation:: HANDLE);
221 ::windows_targets::link!("iphlpapi.dll" "system" fn Icmp6ParseReplies(replybuffer : *mut ::core::ffi::c_void, replysize : u32) -> u32);
222 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_System_IO"))]
223 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_System_IO\"`"] fn Icmp6SendEcho2(icmphandle : super::super::Foundation:: HANDLE, event : super::super::Foundation:: HANDLE, apcroutine : super::super::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_IN6, destinationaddress : *const super::super::Networking::WinSock:: SOCKADDR_IN6, requestdata : *const ::core::ffi::c_void, requestsize : u16, requestoptions : *const IP_OPTION_INFORMATION, replybuffer : *mut ::core::ffi::c_void, replysize : u32, timeout : u32) -> u32);
224 #[cfg(feature = "Win32_Foundation")]
225 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IcmpCloseHandle(icmphandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
226 #[cfg(feature = "Win32_Foundation")]
227 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IcmpCreateFile() -> super::super::Foundation:: HANDLE);
228 ::windows_targets::link!("iphlpapi.dll" "system" fn IcmpParseReplies(replybuffer : *mut ::core::ffi::c_void, replysize : u32) -> u32);
229 #[cfg(feature = "Win32_Foundation")]
230 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IcmpSendEcho(icmphandle : super::super::Foundation:: HANDLE, destinationaddress : u32, requestdata : *const ::core::ffi::c_void, requestsize : u16, requestoptions : *const IP_OPTION_INFORMATION, replybuffer : *mut ::core::ffi::c_void, replysize : u32, timeout : u32) -> u32);
231 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
232 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn IcmpSendEcho2(icmphandle : super::super::Foundation:: HANDLE, event : super::super::Foundation:: HANDLE, apcroutine : super::super::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, destinationaddress : u32, requestdata : *const ::core::ffi::c_void, requestsize : u16, requestoptions : *const IP_OPTION_INFORMATION, replybuffer : *mut ::core::ffi::c_void, replysize : u32, timeout : u32) -> u32);
233 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
234 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn IcmpSendEcho2Ex(icmphandle : super::super::Foundation:: HANDLE, event : super::super::Foundation:: HANDLE, apcroutine : super::super::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, sourceaddress : u32, destinationaddress : u32, requestdata : *const ::core::ffi::c_void, requestsize : u16, requestoptions : *const IP_OPTION_INFORMATION, replybuffer : *mut ::core::ffi::c_void, replysize : u32, timeout : u32) -> u32);
235 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
236 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn InitializeIpForwardEntry(row : *mut MIB_IPFORWARD_ROW2) -> ());
237 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
238 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn InitializeIpInterfaceEntry(row : *mut MIB_IPINTERFACE_ROW) -> ());
239 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
240 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn InitializeUnicastIpAddressEntry(row : *mut MIB_UNICASTIPADDRESS_ROW) -> ());
241 ::windows_targets::link!("iphlpapi.dll" "system" fn IpReleaseAddress(adapterinfo : *const IP_ADAPTER_INDEX_MAP) -> u32);
242 ::windows_targets::link!("iphlpapi.dll" "system" fn IpRenewAddress(adapterinfo : *const IP_ADAPTER_INDEX_MAP) -> u32);
243 ::windows_targets::link!("iphlpapi.dll" "system" fn LookupPersistentTcpPortReservation(startport : u16, numberofports : u16, token : *mut u64) -> u32);
244 ::windows_targets::link!("iphlpapi.dll" "system" fn LookupPersistentUdpPortReservation(startport : u16, numberofports : u16, token : *mut u64) -> u32);
245 #[cfg(feature = "Win32_Foundation")]
246 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NhpAllocateAndGetInterfaceInfoFromStack(pptable : *mut *mut IP_INTERFACE_NAME_INFO_W2KSP1, pdwcount : *mut u32, border : super::super::Foundation:: BOOL, hheap : super::super::Foundation:: HANDLE, dwflags : u32) -> u32);
247 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
248 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn NotifyAddrChange(handle : *mut super::super::Foundation:: HANDLE, overlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
249 ::windows_targets::link!("iphlpapi.dll" "system" fn NotifyIfTimestampConfigChange(callercontext : *const ::core::ffi::c_void, callback : PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK, notificationhandle : *mut HIFTIMESTAMPCHANGE) -> u32);
250 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
251 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn NotifyIpInterfaceChange(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, callback : PIPINTERFACE_CHANGE_CALLBACK, callercontext : *const ::core::ffi::c_void, initialnotification : super::super::Foundation:: BOOLEAN, notificationhandle : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR);
252 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
253 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn NotifyNetworkConnectivityHintChange(callback : PNETWORK_CONNECTIVITY_HINT_CHANGE_CALLBACK, callercontext : *const ::core::ffi::c_void, initialnotification : super::super::Foundation:: BOOLEAN, notificationhandle : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR);
254 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
255 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn NotifyRouteChange(handle : *mut super::super::Foundation:: HANDLE, overlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
256 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
257 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn NotifyRouteChange2(addressfamily : super::super::Networking::WinSock:: ADDRESS_FAMILY, callback : PIPFORWARD_CHANGE_CALLBACK, callercontext : *const ::core::ffi::c_void, initialnotification : super::super::Foundation:: BOOLEAN, notificationhandle : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR);
258 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
259 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn NotifyStableUnicastIpAddressTable(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, table : *mut *mut MIB_UNICASTIPADDRESS_TABLE, callercallback : PSTABLE_UNICAST_IPADDRESS_TABLE_CALLBACK, callercontext : *const ::core::ffi::c_void, notificationhandle : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR);
260 #[cfg(feature = "Win32_Foundation")]
261 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NotifyTeredoPortChange(callback : PTEREDO_PORT_CHANGE_CALLBACK, callercontext : *const ::core::ffi::c_void, initialnotification : super::super::Foundation:: BOOLEAN, notificationhandle : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR);
262 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
263 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn NotifyUnicastIpAddressChange(family : super::super::Networking::WinSock:: ADDRESS_FAMILY, callback : PUNICAST_IPADDRESS_CHANGE_CALLBACK, callercontext : *const ::core::ffi::c_void, initialnotification : super::super::Foundation:: BOOLEAN, notificationhandle : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR);
264 #[cfg(feature = "Win32_Networking_WinSock")]
265 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn ParseNetworkString(networkstring : ::windows_sys::core::PCWSTR, types : u32, addressinfo : *mut NET_ADDRESS_INFO, portnumber : *mut u16, prefixlength : *mut u8) -> u32);
266 ::windows_targets::link!("iphlpapi.dll" "system" fn PfAddFiltersToInterface(ih : *mut ::core::ffi::c_void, cinfilters : u32, pfiltin : *mut PF_FILTER_DESCRIPTOR, coutfilters : u32, pfiltout : *mut PF_FILTER_DESCRIPTOR, pfhandle : *mut *mut ::core::ffi::c_void) -> u32);
267 ::windows_targets::link!("iphlpapi.dll" "system" fn PfAddGlobalFilterToInterface(pinterface : *mut ::core::ffi::c_void, gffilter : GLOBAL_FILTER) -> u32);
268 ::windows_targets::link!("iphlpapi.dll" "system" fn PfBindInterfaceToIPAddress(pinterface : *mut ::core::ffi::c_void, pfattype : PFADDRESSTYPE, ipaddress : *mut u8) -> u32);
269 ::windows_targets::link!("iphlpapi.dll" "system" fn PfBindInterfaceToIndex(pinterface : *mut ::core::ffi::c_void, dwindex : u32, pfatlinktype : PFADDRESSTYPE, linkipaddress : *mut u8) -> u32);
270 #[cfg(feature = "Win32_Foundation")]
271 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PfCreateInterface(dwname : u32, inaction : PFFORWARD_ACTION, outaction : PFFORWARD_ACTION, buselog : super::super::Foundation:: BOOL, bmustbeunique : super::super::Foundation:: BOOL, ppinterface : *mut *mut ::core::ffi::c_void) -> u32);
272 ::windows_targets::link!("iphlpapi.dll" "system" fn PfDeleteInterface(pinterface : *mut ::core::ffi::c_void) -> u32);
273 ::windows_targets::link!("iphlpapi.dll" "system" fn PfDeleteLog() -> u32);
274 #[cfg(feature = "Win32_Foundation")]
275 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PfGetInterfaceStatistics(pinterface : *mut ::core::ffi::c_void, ppfstats : *mut PF_INTERFACE_STATS, pdwbuffersize : *mut u32, fresetcounters : super::super::Foundation:: BOOL) -> u32);
276 #[cfg(feature = "Win32_Foundation")]
277 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PfMakeLog(hevent : super::super::Foundation:: HANDLE) -> u32);
278 ::windows_targets::link!("iphlpapi.dll" "system" fn PfRebindFilters(pinterface : *mut ::core::ffi::c_void, platebindinfo : *mut PF_LATEBIND_INFO) -> u32);
279 ::windows_targets::link!("iphlpapi.dll" "system" fn PfRemoveFilterHandles(pinterface : *mut ::core::ffi::c_void, cfilters : u32, pvhandles : *mut *mut ::core::ffi::c_void) -> u32);
280 ::windows_targets::link!("iphlpapi.dll" "system" fn PfRemoveFiltersFromInterface(ih : *mut ::core::ffi::c_void, cinfilters : u32, pfiltin : *mut PF_FILTER_DESCRIPTOR, coutfilters : u32, pfiltout : *mut PF_FILTER_DESCRIPTOR) -> u32);
281 ::windows_targets::link!("iphlpapi.dll" "system" fn PfRemoveGlobalFilterFromInterface(pinterface : *mut ::core::ffi::c_void, gffilter : GLOBAL_FILTER) -> u32);
282 ::windows_targets::link!("iphlpapi.dll" "system" fn PfSetLogBuffer(pbbuffer : *mut u8, dwsize : u32, dwthreshold : u32, dwentries : u32, pdwloggedentries : *mut u32, pdwlostentries : *mut u32, pdwsizeused : *mut u32) -> u32);
283 ::windows_targets::link!("iphlpapi.dll" "system" fn PfTestPacket(pininterface : *mut ::core::ffi::c_void, poutinterface : *mut ::core::ffi::c_void, cbytes : u32, pbpacket : *mut u8, ppaction : *mut PFFORWARD_ACTION) -> u32);
284 ::windows_targets::link!("iphlpapi.dll" "system" fn PfUnBindInterface(pinterface : *mut ::core::ffi::c_void) -> u32);
285 ::windows_targets::link!("iphlpapi.dll" "system" fn RegisterInterfaceTimestampConfigChange(callback : PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK, callercontext : *const ::core::ffi::c_void, notificationhandle : *mut HIFTIMESTAMPCHANGE) -> u32);
286 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
287 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn ResolveIpNetEntry2(row : *mut MIB_IPNET_ROW2, sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET) -> super::super::Foundation:: WIN32_ERROR);
288 #[cfg(feature = "Win32_Networking_WinSock")]
289 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn ResolveNeighbor(networkaddress : *const super::super::Networking::WinSock:: SOCKADDR, physicaladdress : *mut ::core::ffi::c_void, physicaladdresslength : *mut u32) -> u32);
290 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
291 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn RestoreMediaSense(poverlapped : *const super::super::System::IO:: OVERLAPPED, lpdwenablecount : *mut u32) -> u32);
292 ::windows_targets::link!("iphlpapi.dll" "system" fn SendARP(destip : u32, srcip : u32, pmacaddr : *mut ::core::ffi::c_void, phyaddrlen : *mut u32) -> u32);
293 #[cfg(feature = "Win32_Foundation")]
294 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCurrentThreadCompartmentId(compartmentid : u32) -> super::super::Foundation:: WIN32_ERROR);
295 #[cfg(feature = "Win32_Foundation")]
296 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCurrentThreadCompartmentScope(compartmentscope : u32) -> super::super::Foundation:: WIN32_ERROR);
297 #[cfg(feature = "Win32_Foundation")]
298 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetDnsSettings(settings : *const DNS_SETTINGS) -> super::super::Foundation:: WIN32_ERROR);
299 ::windows_targets::link!("iphlpapi.dll" "system" fn SetIfEntry(pifrow : *const MIB_IFROW) -> u32);
300 #[cfg(feature = "Win32_Foundation")]
301 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetInterfaceDnsSettings(interface : ::windows_sys::core::GUID, settings : *const DNS_INTERFACE_SETTINGS) -> super::super::Foundation:: WIN32_ERROR);
302 #[cfg(feature = "Win32_Networking_WinSock")]
303 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn SetIpForwardEntry(proute : *const MIB_IPFORWARDROW) -> u32);
304 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
305 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn SetIpForwardEntry2(route : *const MIB_IPFORWARD_ROW2) -> super::super::Foundation:: WIN32_ERROR);
306 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
307 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn SetIpInterfaceEntry(row : *mut MIB_IPINTERFACE_ROW) -> super::super::Foundation:: WIN32_ERROR);
308 ::windows_targets::link!("iphlpapi.dll" "system" fn SetIpNetEntry(parpentry : *const MIB_IPNETROW_LH) -> u32);
309 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
310 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn SetIpNetEntry2(row : *const MIB_IPNET_ROW2) -> super::super::Foundation:: WIN32_ERROR);
311 ::windows_targets::link!("iphlpapi.dll" "system" fn SetIpStatistics(pipstats : *const MIB_IPSTATS_LH) -> u32);
312 ::windows_targets::link!("iphlpapi.dll" "system" fn SetIpStatisticsEx(statistics : *const MIB_IPSTATS_LH, family : u32) -> u32);
313 ::windows_targets::link!("iphlpapi.dll" "system" fn SetIpTTL(nttl : u32) -> u32);
314 #[cfg(feature = "Win32_Foundation")]
315 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetJobCompartmentId(jobhandle : super::super::Foundation:: HANDLE, compartmentid : u32) -> super::super::Foundation:: WIN32_ERROR);
316 #[cfg(feature = "Win32_Foundation")]
317 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetNetworkInformation(networkguid : *const ::windows_sys::core::GUID, compartmentid : u32, networkname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR);
318 #[cfg(feature = "Win32_Networking_WinSock")]
319 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn SetPerTcp6ConnectionEStats(row : *const MIB_TCP6ROW, estatstype : TCP_ESTATS_TYPE, rw : *const u8, rwversion : u32, rwsize : u32, offset : u32) -> u32);
320 ::windows_targets::link!("iphlpapi.dll" "system" fn SetPerTcpConnectionEStats(row : *const MIB_TCPROW_LH, estatstype : TCP_ESTATS_TYPE, rw : *const u8, rwversion : u32, rwsize : u32, offset : u32) -> u32);
321 #[cfg(feature = "Win32_Foundation")]
322 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSessionCompartmentId(sessionid : u32, compartmentid : u32) -> super::super::Foundation:: WIN32_ERROR);
323 ::windows_targets::link!("iphlpapi.dll" "system" fn SetTcpEntry(ptcprow : *const MIB_TCPROW_LH) -> u32);
324 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
325 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"] fn SetUnicastIpAddressEntry(row : *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation:: WIN32_ERROR);
326 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
327 ::windows_targets::link!("iphlpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn UnenableRouter(poverlapped : *const super::super::System::IO:: OVERLAPPED, lpdwenablecount : *mut u32) -> u32);
328 ::windows_targets::link!("iphlpapi.dll" "system" fn UnregisterInterfaceTimestampConfigChange(notificationhandle : HIFTIMESTAMPCHANGE) -> ());
329 ::windows_targets::link!("iphlpapi.dll" "system" fn if_indextoname(interfaceindex : u32, interfacename : ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR);
330 ::windows_targets::link!("iphlpapi.dll" "system" fn if_nametoindex(interfacename : ::windows_sys::core::PCSTR) -> u32);
331 pub const ANY_SIZE: u32 = 1u32;
332 pub const BEST_IF: u32 = 20u32;
333 pub const BEST_ROUTE: u32 = 21u32;
334 pub const BROADCAST_NODETYPE: u32 = 1u32;
335 pub const DEFAULT_MINIMUM_ENTITIES: u32 = 32u32;
336 pub const DEST_LONGER: u32 = 29u32;
337 pub const DEST_MATCHING: u32 = 28u32;
338 pub const DEST_SHORTER: u32 = 30u32;
339 pub const DNS_DDR_ADAPTER_ENABLE_DOH: u32 = 1u32;
340 pub const DNS_DDR_ADAPTER_ENABLE_UDP_FALLBACK: u32 = 2u32;
341 pub const DNS_DOH_AUTO_UPGRADE_SERVER: u32 = 8u32;
342 pub const DNS_DOH_POLICY_AUTO: u32 = 16u32;
343 pub const DNS_DOH_POLICY_DISABLE: u32 = 8u32;
344 pub const DNS_DOH_POLICY_NOT_CONFIGURED: u32 = 4u32;
345 pub const DNS_DOH_POLICY_REQUIRED: u32 = 32u32;
346 pub const DNS_DOH_SERVER_SETTINGS_ENABLE: u32 = 2u32;
347 pub const DNS_DOH_SERVER_SETTINGS_ENABLE_AUTO: u32 = 1u32;
348 pub const DNS_DOH_SERVER_SETTINGS_ENABLE_DDR: u32 = 16u32;
349 pub const DNS_DOH_SERVER_SETTINGS_FALLBACK_TO_UDP: u32 = 4u32;
350 pub const DNS_ENABLE_DDR: u32 = 64u32;
351 pub const DNS_ENABLE_DOH: u32 = 1u32;
352 pub const DNS_INTERFACE_SETTINGS_VERSION1: u32 = 1u32;
353 pub const DNS_INTERFACE_SETTINGS_VERSION2: u32 = 2u32;
354 pub const DNS_INTERFACE_SETTINGS_VERSION3: u32 = 3u32;
355 pub const DNS_INTERFACE_SETTINGS_VERSION4: u32 = 4u32;
356 pub const DNS_SERVER_PROPERTY_VERSION1: u32 = 1u32;
357 pub const DNS_SETTINGS_ENABLE_LLMNR: u32 = 128u32;
358 pub const DNS_SETTINGS_QUERY_ADAPTER_NAME: u32 = 256u32;
359 pub const DNS_SETTINGS_VERSION1: u32 = 1u32;
360 pub const DNS_SETTINGS_VERSION2: u32 = 2u32;
361 pub const DNS_SETTING_DDR: u32 = 32768u32;
362 pub const DNS_SETTING_DISABLE_UNCONSTRAINED_QUERIES: u32 = 1024u32;
363 pub const DNS_SETTING_DOH: u32 = 4096u32;
364 pub const DNS_SETTING_DOH_PROFILE: u32 = 8192u32;
365 pub const DNS_SETTING_DOMAIN: u32 = 32u32;
366 pub const DNS_SETTING_ENCRYPTED_DNS_ADAPTER_FLAGS: u32 = 16384u32;
367 pub const DNS_SETTING_HOSTNAME: u32 = 64u32;
368 pub const DNS_SETTING_IPV6: u32 = 1u32;
369 pub const DNS_SETTING_NAMESERVER: u32 = 2u32;
370 pub const DNS_SETTING_PROFILE_NAMESERVER: u32 = 512u32;
371 pub const DNS_SETTING_REGISTER_ADAPTER_NAME: u32 = 16u32;
372 pub const DNS_SETTING_REGISTRATION_ENABLED: u32 = 8u32;
373 pub const DNS_SETTING_SEARCHLIST: u32 = 4u32;
374 pub const DNS_SETTING_SUPPLEMENTAL_SEARCH_LIST: u32 = 2048u32;
375 pub const DnsServerDohProperty: DNS_SERVER_PROPERTY_TYPE = 1i32;
376 pub const DnsServerInvalidProperty: DNS_SERVER_PROPERTY_TYPE = 0i32;
377 pub const ERROR_BASE: u32 = 23000u32;
378 pub const ERROR_IPV6_NOT_IMPLEMENTED: u32 = 23003u32;
379 pub const FD_FLAGS_ALLFLAGS: u32 = 1u32;
380 pub const FD_FLAGS_NOSYN: u32 = 1u32;
381 pub const FILTER_ICMP_CODE_ANY: u8 = 255u8;
382 pub const FILTER_ICMP_TYPE_ANY: u8 = 255u8;
383 pub const GAA_FLAG_INCLUDE_ALL_COMPARTMENTS: GET_ADAPTERS_ADDRESSES_FLAGS = 512u32;
384 pub const GAA_FLAG_INCLUDE_ALL_INTERFACES: GET_ADAPTERS_ADDRESSES_FLAGS = 256u32;
385 pub const GAA_FLAG_INCLUDE_GATEWAYS: GET_ADAPTERS_ADDRESSES_FLAGS = 128u32;
386 pub const GAA_FLAG_INCLUDE_PREFIX: GET_ADAPTERS_ADDRESSES_FLAGS = 16u32;
387 pub const GAA_FLAG_INCLUDE_TUNNEL_BINDINGORDER: GET_ADAPTERS_ADDRESSES_FLAGS = 1024u32;
388 pub const GAA_FLAG_INCLUDE_WINS_INFO: GET_ADAPTERS_ADDRESSES_FLAGS = 64u32;
389 pub const GAA_FLAG_SKIP_ANYCAST: GET_ADAPTERS_ADDRESSES_FLAGS = 2u32;
390 pub const GAA_FLAG_SKIP_DNS_INFO: u32 = 2048u32;
391 pub const GAA_FLAG_SKIP_DNS_SERVER: GET_ADAPTERS_ADDRESSES_FLAGS = 8u32;
392 pub const GAA_FLAG_SKIP_FRIENDLY_NAME: GET_ADAPTERS_ADDRESSES_FLAGS = 32u32;
393 pub const GAA_FLAG_SKIP_MULTICAST: GET_ADAPTERS_ADDRESSES_FLAGS = 4u32;
394 pub const GAA_FLAG_SKIP_UNICAST: GET_ADAPTERS_ADDRESSES_FLAGS = 1u32;
395 pub const GF_FRAGCACHE: GLOBAL_FILTER = 9i32;
396 pub const GF_FRAGMENTS: GLOBAL_FILTER = 2i32;
397 pub const GF_STRONGHOST: GLOBAL_FILTER = 8i32;
398 pub const HYBRID_NODETYPE: u32 = 8u32;
399 pub const ICMP4_DST_UNREACH: ICMP4_TYPE = 3i32;
400 pub const ICMP4_ECHO_REPLY: ICMP4_TYPE = 0i32;
401 pub const ICMP4_ECHO_REQUEST: ICMP4_TYPE = 8i32;
402 pub const ICMP4_MASK_REPLY: ICMP4_TYPE = 18i32;
403 pub const ICMP4_MASK_REQUEST: ICMP4_TYPE = 17i32;
404 pub const ICMP4_PARAM_PROB: ICMP4_TYPE = 12i32;
405 pub const ICMP4_REDIRECT: ICMP4_TYPE = 5i32;
406 pub const ICMP4_ROUTER_ADVERT: ICMP4_TYPE = 9i32;
407 pub const ICMP4_ROUTER_SOLICIT: ICMP4_TYPE = 10i32;
408 pub const ICMP4_SOURCE_QUENCH: ICMP4_TYPE = 4i32;
409 pub const ICMP4_TIMESTAMP_REPLY: ICMP4_TYPE = 14i32;
410 pub const ICMP4_TIMESTAMP_REQUEST: ICMP4_TYPE = 13i32;
411 pub const ICMP4_TIME_EXCEEDED: ICMP4_TYPE = 11i32;
412 pub const ICMP6_DST_UNREACH: ICMP6_TYPE = 1i32;
413 pub const ICMP6_ECHO_REPLY: ICMP6_TYPE = 129i32;
414 pub const ICMP6_ECHO_REQUEST: ICMP6_TYPE = 128i32;
415 pub const ICMP6_INFOMSG_MASK: u32 = 128u32;
416 pub const ICMP6_MEMBERSHIP_QUERY: ICMP6_TYPE = 130i32;
417 pub const ICMP6_MEMBERSHIP_REDUCTION: ICMP6_TYPE = 132i32;
418 pub const ICMP6_MEMBERSHIP_REPORT: ICMP6_TYPE = 131i32;
419 pub const ICMP6_PACKET_TOO_BIG: ICMP6_TYPE = 2i32;
420 pub const ICMP6_PARAM_PROB: ICMP6_TYPE = 4i32;
421 pub const ICMP6_TIME_EXCEEDED: ICMP6_TYPE = 3i32;
422 pub const ICMP6_V2_MEMBERSHIP_REPORT: ICMP6_TYPE = 143i32;
423 pub const ICMP_STATS: u32 = 11u32;
424 pub const IF_ACCESS_BROADCAST: IF_ACCESS_TYPE = 2i32;
425 pub const IF_ACCESS_LOOPBACK: IF_ACCESS_TYPE = 1i32;
426 pub const IF_ACCESS_POINTTOMULTIPOINT: IF_ACCESS_TYPE = 4i32;
427 pub const IF_ACCESS_POINTTOPOINT: IF_ACCESS_TYPE = 3i32;
428 pub const IF_ACCESS_POINT_TO_MULTI_POINT: IF_ACCESS_TYPE = 4i32;
429 pub const IF_ACCESS_POINT_TO_POINT: IF_ACCESS_TYPE = 3i32;
430 pub const IF_ADMIN_STATUS_DOWN: u32 = 2u32;
431 pub const IF_ADMIN_STATUS_TESTING: u32 = 3u32;
432 pub const IF_ADMIN_STATUS_UP: u32 = 1u32;
433 pub const IF_CHECK_MCAST: u32 = 1u32;
434 pub const IF_CHECK_NONE: u32 = 0u32;
435 pub const IF_CHECK_SEND: u32 = 2u32;
436 pub const IF_CONNECTION_DEDICATED: u32 = 1u32;
437 pub const IF_CONNECTION_DEMAND: u32 = 3u32;
438 pub const IF_CONNECTION_PASSIVE: u32 = 2u32;
439 pub const IF_NUMBER: u32 = 0u32;
440 pub const IF_OPER_STATUS_CONNECTED: INTERNAL_IF_OPER_STATUS = 4i32;
441 pub const IF_OPER_STATUS_CONNECTING: INTERNAL_IF_OPER_STATUS = 3i32;
442 pub const IF_OPER_STATUS_DISCONNECTED: INTERNAL_IF_OPER_STATUS = 2i32;
443 pub const IF_OPER_STATUS_NON_OPERATIONAL: INTERNAL_IF_OPER_STATUS = 0i32;
444 pub const IF_OPER_STATUS_OPERATIONAL: INTERNAL_IF_OPER_STATUS = 5i32;
445 pub const IF_OPER_STATUS_UNREACHABLE: INTERNAL_IF_OPER_STATUS = 1i32;
446 pub const IF_ROW: u32 = 2u32;
447 pub const IF_STATUS: u32 = 25u32;
448 pub const IF_TABLE: u32 = 1u32;
449 pub const IF_TYPE_A12MPPSWITCH: u32 = 130u32;
450 pub const IF_TYPE_AAL2: u32 = 187u32;
451 pub const IF_TYPE_AAL5: u32 = 49u32;
452 pub const IF_TYPE_ADSL: u32 = 94u32;
453 pub const IF_TYPE_AFLANE_8023: u32 = 59u32;
454 pub const IF_TYPE_AFLANE_8025: u32 = 60u32;
455 pub const IF_TYPE_ARAP: u32 = 88u32;
456 pub const IF_TYPE_ARCNET: u32 = 35u32;
457 pub const IF_TYPE_ARCNET_PLUS: u32 = 36u32;
458 pub const IF_TYPE_ASYNC: u32 = 84u32;
459 pub const IF_TYPE_ATM: u32 = 37u32;
460 pub const IF_TYPE_ATM_DXI: u32 = 105u32;
461 pub const IF_TYPE_ATM_FUNI: u32 = 106u32;
462 pub const IF_TYPE_ATM_IMA: u32 = 107u32;
463 pub const IF_TYPE_ATM_LOGICAL: u32 = 80u32;
464 pub const IF_TYPE_ATM_RADIO: u32 = 189u32;
465 pub const IF_TYPE_ATM_SUBINTERFACE: u32 = 134u32;
466 pub const IF_TYPE_ATM_VCI_ENDPT: u32 = 194u32;
467 pub const IF_TYPE_ATM_VIRTUAL: u32 = 149u32;
468 pub const IF_TYPE_BASIC_ISDN: u32 = 20u32;
469 pub const IF_TYPE_BGP_POLICY_ACCOUNTING: u32 = 162u32;
470 pub const IF_TYPE_BSC: u32 = 83u32;
471 pub const IF_TYPE_CCTEMUL: u32 = 61u32;
472 pub const IF_TYPE_CES: u32 = 133u32;
473 pub const IF_TYPE_CHANNEL: u32 = 70u32;
474 pub const IF_TYPE_CNR: u32 = 85u32;
475 pub const IF_TYPE_COFFEE: u32 = 132u32;
476 pub const IF_TYPE_COMPOSITELINK: u32 = 155u32;
477 pub const IF_TYPE_DCN: u32 = 141u32;
478 pub const IF_TYPE_DDN_X25: u32 = 4u32;
479 pub const IF_TYPE_DIGITALPOWERLINE: u32 = 138u32;
480 pub const IF_TYPE_DIGITAL_WRAPPER_OVERHEAD_CHANNEL: u32 = 186u32;
481 pub const IF_TYPE_DLSW: u32 = 74u32;
482 pub const IF_TYPE_DOCSCABLE_DOWNSTREAM: u32 = 128u32;
483 pub const IF_TYPE_DOCSCABLE_MACLAYER: u32 = 127u32;
484 pub const IF_TYPE_DOCSCABLE_UPSTREAM: u32 = 129u32;
485 pub const IF_TYPE_DS0: u32 = 81u32;
486 pub const IF_TYPE_DS0_BUNDLE: u32 = 82u32;
487 pub const IF_TYPE_DS1: u32 = 18u32;
488 pub const IF_TYPE_DS1_FDL: u32 = 170u32;
489 pub const IF_TYPE_DS3: u32 = 30u32;
490 pub const IF_TYPE_DTM: u32 = 140u32;
491 pub const IF_TYPE_DVBRCC_DOWNSTREAM: u32 = 147u32;
492 pub const IF_TYPE_DVBRCC_MACLAYER: u32 = 146u32;
493 pub const IF_TYPE_DVBRCC_UPSTREAM: u32 = 148u32;
494 pub const IF_TYPE_DVB_ASI_IN: u32 = 172u32;
495 pub const IF_TYPE_DVB_ASI_OUT: u32 = 173u32;
496 pub const IF_TYPE_E1: u32 = 19u32;
497 pub const IF_TYPE_EON: u32 = 25u32;
498 pub const IF_TYPE_EPLRS: u32 = 87u32;
499 pub const IF_TYPE_ESCON: u32 = 73u32;
500 pub const IF_TYPE_ETHERNET_3MBIT: u32 = 26u32;
501 pub const IF_TYPE_ETHERNET_CSMACD: u32 = 6u32;
502 pub const IF_TYPE_FAST: u32 = 125u32;
503 pub const IF_TYPE_FASTETHER: u32 = 62u32;
504 pub const IF_TYPE_FASTETHER_FX: u32 = 69u32;
505 pub const IF_TYPE_FDDI: u32 = 15u32;
506 pub const IF_TYPE_FIBRECHANNEL: u32 = 56u32;
507 pub const IF_TYPE_FRAMERELAY: u32 = 32u32;
508 pub const IF_TYPE_FRAMERELAY_INTERCONNECT: u32 = 58u32;
509 pub const IF_TYPE_FRAMERELAY_MPI: u32 = 92u32;
510 pub const IF_TYPE_FRAMERELAY_SERVICE: u32 = 44u32;
511 pub const IF_TYPE_FRF16_MFR_BUNDLE: u32 = 163u32;
512 pub const IF_TYPE_FR_DLCI_ENDPT: u32 = 193u32;
513 pub const IF_TYPE_FR_FORWARD: u32 = 158u32;
514 pub const IF_TYPE_G703_2MB: u32 = 67u32;
515 pub const IF_TYPE_G703_64K: u32 = 66u32;
516 pub const IF_TYPE_GIGABITETHERNET: u32 = 117u32;
517 pub const IF_TYPE_GR303_IDT: u32 = 178u32;
518 pub const IF_TYPE_GR303_RDT: u32 = 177u32;
519 pub const IF_TYPE_H323_GATEKEEPER: u32 = 164u32;
520 pub const IF_TYPE_H323_PROXY: u32 = 165u32;
521 pub const IF_TYPE_HDH_1822: u32 = 3u32;
522 pub const IF_TYPE_HDLC: u32 = 118u32;
523 pub const IF_TYPE_HDSL2: u32 = 168u32;
524 pub const IF_TYPE_HIPERLAN2: u32 = 183u32;
525 pub const IF_TYPE_HIPPI: u32 = 47u32;
526 pub const IF_TYPE_HIPPIINTERFACE: u32 = 57u32;
527 pub const IF_TYPE_HOSTPAD: u32 = 90u32;
528 pub const IF_TYPE_HSSI: u32 = 46u32;
529 pub const IF_TYPE_HYPERCHANNEL: u32 = 14u32;
530 pub const IF_TYPE_IBM370PARCHAN: u32 = 72u32;
531 pub const IF_TYPE_IDSL: u32 = 154u32;
532 pub const IF_TYPE_IEEE1394: u32 = 144u32;
533 pub const IF_TYPE_IEEE80211: u32 = 71u32;
534 pub const IF_TYPE_IEEE80212: u32 = 55u32;
535 pub const IF_TYPE_IEEE802154: u32 = 259u32;
536 pub const IF_TYPE_IEEE80216_WMAN: u32 = 237u32;
537 pub const IF_TYPE_IEEE8023AD_LAG: u32 = 161u32;
538 pub const IF_TYPE_IF_GSN: u32 = 145u32;
539 pub const IF_TYPE_IMT: u32 = 190u32;
540 pub const IF_TYPE_INTERLEAVE: u32 = 124u32;
541 pub const IF_TYPE_IP: u32 = 126u32;
542 pub const IF_TYPE_IPFORWARD: u32 = 142u32;
543 pub const IF_TYPE_IPOVER_ATM: u32 = 114u32;
544 pub const IF_TYPE_IPOVER_CDLC: u32 = 109u32;
545 pub const IF_TYPE_IPOVER_CLAW: u32 = 110u32;
546 pub const IF_TYPE_IPSWITCH: u32 = 78u32;
547 pub const IF_TYPE_IS088023_CSMACD: u32 = 7u32;
548 pub const IF_TYPE_ISDN: u32 = 63u32;
549 pub const IF_TYPE_ISDN_S: u32 = 75u32;
550 pub const IF_TYPE_ISDN_U: u32 = 76u32;
551 pub const IF_TYPE_ISO88022_LLC: u32 = 41u32;
552 pub const IF_TYPE_ISO88024_TOKENBUS: u32 = 8u32;
553 pub const IF_TYPE_ISO88025R_DTR: u32 = 86u32;
554 pub const IF_TYPE_ISO88025_CRFPRINT: u32 = 98u32;
555 pub const IF_TYPE_ISO88025_FIBER: u32 = 115u32;
556 pub const IF_TYPE_ISO88025_TOKENRING: u32 = 9u32;
557 pub const IF_TYPE_ISO88026_MAN: u32 = 10u32;
558 pub const IF_TYPE_ISUP: u32 = 179u32;
559 pub const IF_TYPE_L2_VLAN: u32 = 135u32;
560 pub const IF_TYPE_L3_IPVLAN: u32 = 136u32;
561 pub const IF_TYPE_L3_IPXVLAN: u32 = 137u32;
562 pub const IF_TYPE_LAP_B: u32 = 16u32;
563 pub const IF_TYPE_LAP_D: u32 = 77u32;
564 pub const IF_TYPE_LAP_F: u32 = 119u32;
565 pub const IF_TYPE_LOCALTALK: u32 = 42u32;
566 pub const IF_TYPE_MEDIAMAILOVERIP: u32 = 139u32;
567 pub const IF_TYPE_MF_SIGLINK: u32 = 167u32;
568 pub const IF_TYPE_MIO_X25: u32 = 38u32;
569 pub const IF_TYPE_MODEM: u32 = 48u32;
570 pub const IF_TYPE_MPC: u32 = 113u32;
571 pub const IF_TYPE_MPLS: u32 = 166u32;
572 pub const IF_TYPE_MPLS_TUNNEL: u32 = 150u32;
573 pub const IF_TYPE_MSDSL: u32 = 143u32;
574 pub const IF_TYPE_MVL: u32 = 191u32;
575 pub const IF_TYPE_MYRINET: u32 = 99u32;
576 pub const IF_TYPE_NFAS: u32 = 175u32;
577 pub const IF_TYPE_NSIP: u32 = 27u32;
578 pub const IF_TYPE_OPTICAL_CHANNEL: u32 = 195u32;
579 pub const IF_TYPE_OPTICAL_TRANSPORT: u32 = 196u32;
580 pub const IF_TYPE_OTHER: u32 = 1u32;
581 pub const IF_TYPE_PARA: u32 = 34u32;
582 pub const IF_TYPE_PLC: u32 = 174u32;
583 pub const IF_TYPE_POS: u32 = 171u32;
584 pub const IF_TYPE_PPP: u32 = 23u32;
585 pub const IF_TYPE_PPPMULTILINKBUNDLE: u32 = 108u32;
586 pub const IF_TYPE_PRIMARY_ISDN: u32 = 21u32;
587 pub const IF_TYPE_PROP_BWA_P2MP: u32 = 184u32;
588 pub const IF_TYPE_PROP_CNLS: u32 = 89u32;
589 pub const IF_TYPE_PROP_DOCS_WIRELESS_DOWNSTREAM: u32 = 181u32;
590 pub const IF_TYPE_PROP_DOCS_WIRELESS_MACLAYER: u32 = 180u32;
591 pub const IF_TYPE_PROP_DOCS_WIRELESS_UPSTREAM: u32 = 182u32;
592 pub const IF_TYPE_PROP_MULTIPLEXOR: u32 = 54u32;
593 pub const IF_TYPE_PROP_POINT2POINT_SERIAL: u32 = 22u32;
594 pub const IF_TYPE_PROP_VIRTUAL: u32 = 53u32;
595 pub const IF_TYPE_PROP_WIRELESS_P2P: u32 = 157u32;
596 pub const IF_TYPE_PROTEON_10MBIT: u32 = 12u32;
597 pub const IF_TYPE_PROTEON_80MBIT: u32 = 13u32;
598 pub const IF_TYPE_QLLC: u32 = 68u32;
599 pub const IF_TYPE_RADIO_MAC: u32 = 188u32;
600 pub const IF_TYPE_RADSL: u32 = 95u32;
601 pub const IF_TYPE_REACH_DSL: u32 = 192u32;
602 pub const IF_TYPE_REGULAR_1822: u32 = 2u32;
603 pub const IF_TYPE_RFC1483: u32 = 159u32;
604 pub const IF_TYPE_RFC877_X25: u32 = 5u32;
605 pub const IF_TYPE_RS232: u32 = 33u32;
606 pub const IF_TYPE_RSRB: u32 = 79u32;
607 pub const IF_TYPE_SDLC: u32 = 17u32;
608 pub const IF_TYPE_SDSL: u32 = 96u32;
609 pub const IF_TYPE_SHDSL: u32 = 169u32;
610 pub const IF_TYPE_SIP: u32 = 31u32;
611 pub const IF_TYPE_SLIP: u32 = 28u32;
612 pub const IF_TYPE_SMDS_DXI: u32 = 43u32;
613 pub const IF_TYPE_SMDS_ICIP: u32 = 52u32;
614 pub const IF_TYPE_SOFTWARE_LOOPBACK: u32 = 24u32;
615 pub const IF_TYPE_SONET: u32 = 39u32;
616 pub const IF_TYPE_SONET_OVERHEAD_CHANNEL: u32 = 185u32;
617 pub const IF_TYPE_SONET_PATH: u32 = 50u32;
618 pub const IF_TYPE_SONET_VT: u32 = 51u32;
619 pub const IF_TYPE_SRP: u32 = 151u32;
620 pub const IF_TYPE_SS7_SIGLINK: u32 = 156u32;
621 pub const IF_TYPE_STACKTOSTACK: u32 = 111u32;
622 pub const IF_TYPE_STARLAN: u32 = 11u32;
623 pub const IF_TYPE_TDLC: u32 = 116u32;
624 pub const IF_TYPE_TERMPAD: u32 = 91u32;
625 pub const IF_TYPE_TR008: u32 = 176u32;
626 pub const IF_TYPE_TRANSPHDLC: u32 = 123u32;
627 pub const IF_TYPE_TUNNEL: u32 = 131u32;
628 pub const IF_TYPE_ULTRA: u32 = 29u32;
629 pub const IF_TYPE_USB: u32 = 160u32;
630 pub const IF_TYPE_V11: u32 = 64u32;
631 pub const IF_TYPE_V35: u32 = 45u32;
632 pub const IF_TYPE_V36: u32 = 65u32;
633 pub const IF_TYPE_V37: u32 = 120u32;
634 pub const IF_TYPE_VDSL: u32 = 97u32;
635 pub const IF_TYPE_VIRTUALIPADDRESS: u32 = 112u32;
636 pub const IF_TYPE_VOICEOVERATM: u32 = 152u32;
637 pub const IF_TYPE_VOICEOVERFRAMERELAY: u32 = 153u32;
638 pub const IF_TYPE_VOICE_EM: u32 = 100u32;
639 pub const IF_TYPE_VOICE_ENCAP: u32 = 103u32;
640 pub const IF_TYPE_VOICE_FXO: u32 = 101u32;
641 pub const IF_TYPE_VOICE_FXS: u32 = 102u32;
642 pub const IF_TYPE_VOICE_OVERIP: u32 = 104u32;
643 pub const IF_TYPE_WWANPP: u32 = 243u32;
644 pub const IF_TYPE_WWANPP2: u32 = 244u32;
645 pub const IF_TYPE_X213: u32 = 93u32;
646 pub const IF_TYPE_X25_HUNTGROUP: u32 = 122u32;
647 pub const IF_TYPE_X25_MLP: u32 = 121u32;
648 pub const IF_TYPE_X25_PLE: u32 = 40u32;
649 pub const IF_TYPE_XBOX_WIRELESS: u32 = 281u32;
650 pub const INTERFACE_HARDWARE_CROSSTIMESTAMP_VERSION_1: u32 = 1u32;
651 pub const INTERFACE_TIMESTAMP_CAPABILITIES_VERSION_1: u32 = 1u32;
652 pub const IOCTL_ARP_SEND_REQUEST: u32 = 103u32;
653 pub const IOCTL_IP_ADDCHANGE_NOTIFY_REQUEST: u32 = 102u32;
654 pub const IOCTL_IP_GET_BEST_INTERFACE: u32 = 105u32;
655 pub const IOCTL_IP_INTERFACE_INFO: u32 = 104u32;
656 pub const IOCTL_IP_RTCHANGE_NOTIFY_REQUEST: u32 = 101u32;
657 pub const IOCTL_IP_UNIDIRECTIONAL_ADAPTER_ADDRESS: u32 = 106u32;
658 pub const IP6_STATS: u32 = 36u32;
659 pub const IPRTRMGR_PID: u32 = 10000u32;
660 pub const IPV6_GLOBAL_INFO: u32 = 4294901775u32;
661 pub const IPV6_ROUTE_INFO: u32 = 4294901776u32;
662 pub const IP_ADAPTER_ADDRESS_DNS_ELIGIBLE: u32 = 1u32;
663 pub const IP_ADAPTER_ADDRESS_TRANSIENT: u32 = 2u32;
664 pub const IP_ADAPTER_DDNS_ENABLED: u32 = 1u32;
665 pub const IP_ADAPTER_DHCP_ENABLED: u32 = 4u32;
666 pub const IP_ADAPTER_IPV4_ENABLED: u32 = 128u32;
667 pub const IP_ADAPTER_IPV6_ENABLED: u32 = 256u32;
668 pub const IP_ADAPTER_IPV6_MANAGE_ADDRESS_CONFIG: u32 = 512u32;
669 pub const IP_ADAPTER_IPV6_OTHER_STATEFUL_CONFIG: u32 = 32u32;
670 pub const IP_ADAPTER_NETBIOS_OVER_TCPIP_ENABLED: u32 = 64u32;
671 pub const IP_ADAPTER_NO_MULTICAST: u32 = 16u32;
672 pub const IP_ADAPTER_RECEIVE_ONLY: u32 = 8u32;
673 pub const IP_ADAPTER_REGISTER_ADAPTER_SUFFIX: u32 = 2u32;
674 pub const IP_ADDRROW: u32 = 5u32;
675 pub const IP_ADDRTABLE: u32 = 4u32;
676 pub const IP_ADDR_ADDED: u32 = 11023u32;
677 pub const IP_ADDR_DELETED: u32 = 11019u32;
678 pub const IP_BAD_DESTINATION: u32 = 11018u32;
679 pub const IP_BAD_HEADER: u32 = 11042u32;
680 pub const IP_BAD_OPTION: u32 = 11007u32;
681 pub const IP_BAD_REQ: u32 = 11011u32;
682 pub const IP_BAD_ROUTE: u32 = 11012u32;
683 pub const IP_BIND_ADAPTER: u32 = 11026u32;
684 pub const IP_BUF_TOO_SMALL: u32 = 11001u32;
685 pub const IP_DEMAND_DIAL_FILTER_INFO: u32 = 4294901769u32;
686 pub const IP_DEMAND_DIAL_FILTER_INFO_V6: u32 = 4294901779u32;
687 pub const IP_DEST_ADDR_UNREACHABLE: u32 = 11003u32;
688 pub const IP_DEST_HOST_UNREACHABLE: u32 = 11003u32;
689 pub const IP_DEST_NET_UNREACHABLE: u32 = 11002u32;
690 pub const IP_DEST_NO_ROUTE: u32 = 11002u32;
691 pub const IP_DEST_PORT_UNREACHABLE: u32 = 11005u32;
692 pub const IP_DEST_PROHIBITED: u32 = 11004u32;
693 pub const IP_DEST_PROT_UNREACHABLE: u32 = 11004u32;
694 pub const IP_DEST_SCOPE_MISMATCH: u32 = 11045u32;
695 pub const IP_DEST_UNREACHABLE: u32 = 11040u32;
696 pub const IP_DEVICE_DOES_NOT_EXIST: u32 = 11028u32;
697 pub const IP_DUPLICATE_ADDRESS: u32 = 11029u32;
698 pub const IP_DUPLICATE_IPADD: u32 = 11034u32;
699 pub const IP_EXPORT_INCLUDED: u32 = 1u32;
700 pub const IP_FILTER_ENABLE_INFO: u32 = 4294901781u32;
701 pub const IP_FILTER_ENABLE_INFO_V6: u32 = 4294901782u32;
702 pub const IP_FLAG_DF: u32 = 2u32;
703 pub const IP_FLAG_REVERSE: u32 = 1u32;
704 pub const IP_FORWARDNUMBER: u32 = 6u32;
705 pub const IP_FORWARDROW: u32 = 8u32;
706 pub const IP_FORWARDTABLE: u32 = 7u32;
707 pub const IP_GENERAL_FAILURE: u32 = 11050u32;
708 pub const IP_GENERAL_INFO_BASE: u32 = 4294901760u32;
709 pub const IP_GLOBAL_INFO: u32 = 4294901763u32;
710 pub const IP_HOP_LIMIT_EXCEEDED: u32 = 11013u32;
711 pub const IP_HW_ERROR: u32 = 11008u32;
712 pub const IP_ICMP_ERROR: u32 = 11044u32;
713 pub const IP_IFFILTER_INFO: u32 = 4294901773u32;
714 pub const IP_IFFILTER_INFO_V6: u32 = 4294901780u32;
715 pub const IP_INTERFACE_METRIC_CHANGE: u32 = 11030u32;
716 pub const IP_INTERFACE_STATUS_INFO: u32 = 4294901764u32;
717 pub const IP_INTERFACE_WOL_CAPABILITY_CHANGE: u32 = 11033u32;
718 pub const IP_IN_FILTER_INFO: u32 = 4294901761u32;
719 pub const IP_IN_FILTER_INFO_V6: u32 = 4294901777u32;
720 pub const IP_IPINIP_CFG_INFO: u32 = 4294901772u32;
721 pub const IP_MCAST_BOUNDARY_INFO: u32 = 4294901771u32;
722 pub const IP_MCAST_HEARBEAT_INFO: u32 = 4294901770u32;
723 pub const IP_MCAST_LIMIT_INFO: u32 = 4294901774u32;
724 pub const IP_MEDIA_CONNECT: u32 = 11024u32;
725 pub const IP_MEDIA_DISCONNECT: u32 = 11025u32;
726 pub const IP_MTU_CHANGE: u32 = 11021u32;
727 pub const IP_NEGOTIATING_IPSEC: u32 = 11032u32;
728 pub const IP_NETROW: u32 = 10u32;
729 pub const IP_NETTABLE: u32 = 9u32;
730 pub const IP_NO_RESOURCES: u32 = 11006u32;
731 pub const IP_OPTION_TOO_BIG: u32 = 11017u32;
732 pub const IP_OUT_FILTER_INFO: u32 = 4294901762u32;
733 pub const IP_OUT_FILTER_INFO_V6: u32 = 4294901778u32;
734 pub const IP_PACKET_TOO_BIG: u32 = 11009u32;
735 pub const IP_PARAMETER_PROBLEM: u32 = 11015u32;
736 pub const IP_PARAM_PROBLEM: u32 = 11015u32;
737 pub const IP_PENDING: u32 = 11255u32;
738 pub const IP_PROT_PRIORITY_INFO: u32 = 4294901766u32;
739 pub const IP_PROT_PRIORITY_INFO_EX: u32 = 4294901783u32;
740 pub const IP_REASSEMBLY_TIME_EXCEEDED: u32 = 11014u32;
741 pub const IP_RECONFIG_SECFLTR: u32 = 11031u32;
742 pub const IP_REQ_TIMED_OUT: u32 = 11010u32;
743 pub const IP_ROUTER_DISC_INFO: u32 = 4294901767u32;
744 pub const IP_ROUTER_MANAGER_VERSION: u32 = 1u32;
745 pub const IP_ROUTE_INFO: u32 = 4294901765u32;
746 pub const IP_SOURCE_QUENCH: u32 = 11016u32;
747 pub const IP_SPEC_MTU_CHANGE: u32 = 11020u32;
748 pub const IP_STATS: u32 = 3u32;
749 pub const IP_STATUS_BASE: u32 = 11000u32;
750 pub const IP_SUCCESS: u32 = 0u32;
751 pub const IP_TIME_EXCEEDED: u32 = 11041u32;
752 pub const IP_TTL_EXPIRED_REASSEM: u32 = 11014u32;
753 pub const IP_TTL_EXPIRED_TRANSIT: u32 = 11013u32;
754 pub const IP_UNBIND_ADAPTER: u32 = 11027u32;
755 pub const IP_UNLOAD: u32 = 11022u32;
756 pub const IP_UNRECOGNIZED_NEXT_HEADER: u32 = 11043u32;
757 pub const LB_DST_ADDR_USE_DSTADDR_FLAG: u32 = 8u32;
758 pub const LB_DST_ADDR_USE_SRCADDR_FLAG: u32 = 4u32;
759 pub const LB_DST_MASK_LATE_FLAG: u32 = 32u32;
760 pub const LB_SRC_ADDR_USE_DSTADDR_FLAG: u32 = 2u32;
761 pub const LB_SRC_ADDR_USE_SRCADDR_FLAG: u32 = 1u32;
762 pub const LB_SRC_MASK_LATE_FLAG: u32 = 16u32;
763 pub const MAXLEN_IFDESCR: u32 = 256u32;
764 pub const MAXLEN_PHYSADDR: u32 = 8u32;
765 pub const MAX_ADAPTER_ADDRESS_LENGTH: u32 = 8u32;
766 pub const MAX_ADAPTER_DESCRIPTION_LENGTH: u32 = 128u32;
767 pub const MAX_ADAPTER_NAME: u32 = 128u32;
768 pub const MAX_ADAPTER_NAME_LENGTH: u32 = 256u32;
769 pub const MAX_DHCPV6_DUID_LENGTH: u32 = 130u32;
770 pub const MAX_DNS_SUFFIX_STRING_LENGTH: u32 = 256u32;
771 pub const MAX_DOMAIN_NAME_LEN: u32 = 128u32;
772 pub const MAX_HOSTNAME_LEN: u32 = 128u32;
773 pub const MAX_IF_TYPE: u32 = 281u32;
774 pub const MAX_INTERFACE_NAME_LEN: u32 = 256u32;
775 pub const MAX_IP_STATUS: u32 = 11050u32;
776 pub const MAX_MIB_OFFSET: u32 = 8u32;
777 pub const MAX_OPT_SIZE: u32 = 40u32;
778 pub const MAX_SCOPE_ID_LEN: u32 = 256u32;
779 pub const MAX_SCOPE_NAME_LEN: u32 = 255u32;
780 pub const MCAST_BOUNDARY: u32 = 26u32;
781 pub const MCAST_GLOBAL: u32 = 24u32;
782 pub const MCAST_IF_ENTRY: u32 = 23u32;
783 pub const MCAST_MFE: u32 = 18u32;
784 pub const MCAST_MFE_STATS: u32 = 19u32;
785 pub const MCAST_MFE_STATS_EX: u32 = 35u32;
786 pub const MCAST_SCOPE: u32 = 27u32;
787 pub const MIB_IF_ADMIN_STATUS_DOWN: u32 = 2u32;
788 pub const MIB_IF_ADMIN_STATUS_TESTING: u32 = 3u32;
789 pub const MIB_IF_ADMIN_STATUS_UP: u32 = 1u32;
790 pub const MIB_IF_TYPE_ETHERNET: u32 = 6u32;
791 pub const MIB_IF_TYPE_FDDI: u32 = 15u32;
792 pub const MIB_IF_TYPE_LOOPBACK: u32 = 24u32;
793 pub const MIB_IF_TYPE_OTHER: u32 = 1u32;
794 pub const MIB_IF_TYPE_PPP: u32 = 23u32;
795 pub const MIB_IF_TYPE_SLIP: u32 = 28u32;
796 pub const MIB_IF_TYPE_TOKENRING: u32 = 9u32;
797 pub const MIB_INVALID_TEREDO_PORT_NUMBER: u32 = 0u32;
798 pub const MIB_IPADDR_DELETED: u32 = 64u32;
799 pub const MIB_IPADDR_DISCONNECTED: u32 = 8u32;
800 pub const MIB_IPADDR_DNS_ELIGIBLE: u32 = 256u32;
801 pub const MIB_IPADDR_DYNAMIC: u32 = 4u32;
802 pub const MIB_IPADDR_PRIMARY: u32 = 1u32;
803 pub const MIB_IPADDR_TRANSIENT: u32 = 128u32;
804 pub const MIB_IPNET_TYPE_DYNAMIC: MIB_IPNET_TYPE = 3i32;
805 pub const MIB_IPNET_TYPE_INVALID: MIB_IPNET_TYPE = 2i32;
806 pub const MIB_IPNET_TYPE_OTHER: MIB_IPNET_TYPE = 1i32;
807 pub const MIB_IPNET_TYPE_STATIC: MIB_IPNET_TYPE = 4i32;
808 pub const MIB_IPROUTE_METRIC_UNUSED: u32 = 4294967295u32;
809 pub const MIB_IPROUTE_TYPE_DIRECT: MIB_IPFORWARD_TYPE = 3i32;
810 pub const MIB_IPROUTE_TYPE_INDIRECT: MIB_IPFORWARD_TYPE = 4i32;
811 pub const MIB_IPROUTE_TYPE_INVALID: MIB_IPFORWARD_TYPE = 2i32;
812 pub const MIB_IPROUTE_TYPE_OTHER: MIB_IPFORWARD_TYPE = 1i32;
813 pub const MIB_IP_FORWARDING: MIB_IPSTATS_FORWARDING = 1i32;
814 pub const MIB_IP_NOT_FORWARDING: MIB_IPSTATS_FORWARDING = 2i32;
815 pub const MIB_TCP_RTO_CONSTANT: TCP_RTO_ALGORITHM = 2i32;
816 pub const MIB_TCP_RTO_OTHER: TCP_RTO_ALGORITHM = 1i32;
817 pub const MIB_TCP_RTO_RSRE: TCP_RTO_ALGORITHM = 3i32;
818 pub const MIB_TCP_RTO_VANJ: TCP_RTO_ALGORITHM = 4i32;
819 pub const MIB_TCP_STATE_CLOSED: MIB_TCP_STATE = 1i32;
820 pub const MIB_TCP_STATE_CLOSE_WAIT: MIB_TCP_STATE = 8i32;
821 pub const MIB_TCP_STATE_CLOSING: MIB_TCP_STATE = 9i32;
822 pub const MIB_TCP_STATE_DELETE_TCB: MIB_TCP_STATE = 12i32;
823 pub const MIB_TCP_STATE_ESTAB: MIB_TCP_STATE = 5i32;
824 pub const MIB_TCP_STATE_FIN_WAIT1: MIB_TCP_STATE = 6i32;
825 pub const MIB_TCP_STATE_FIN_WAIT2: MIB_TCP_STATE = 7i32;
826 pub const MIB_TCP_STATE_LAST_ACK: MIB_TCP_STATE = 10i32;
827 pub const MIB_TCP_STATE_LISTEN: MIB_TCP_STATE = 2i32;
828 pub const MIB_TCP_STATE_RESERVED: MIB_TCP_STATE = 100i32;
829 pub const MIB_TCP_STATE_SYN_RCVD: MIB_TCP_STATE = 4i32;
830 pub const MIB_TCP_STATE_SYN_SENT: MIB_TCP_STATE = 3i32;
831 pub const MIB_TCP_STATE_TIME_WAIT: MIB_TCP_STATE = 11i32;
832 pub const MIB_USE_CURRENT_FORWARDING: u32 = 4294967295u32;
833 pub const MIB_USE_CURRENT_TTL: u32 = 4294967295u32;
834 pub const MIN_IF_TYPE: u32 = 1u32;
835 pub const MIXED_NODETYPE: u32 = 4u32;
836 pub const MibAddInstance: MIB_NOTIFICATION_TYPE = 1i32;
837 pub const MibDeleteInstance: MIB_NOTIFICATION_TYPE = 2i32;
838 pub const MibIfEntryNormal: MIB_IF_ENTRY_LEVEL = 0i32;
839 pub const MibIfEntryNormalWithoutStatistics: MIB_IF_ENTRY_LEVEL = 2i32;
840 pub const MibIfTableNormal: MIB_IF_TABLE_LEVEL = 0i32;
841 pub const MibIfTableNormalWithoutStatistics: MIB_IF_TABLE_LEVEL = 2i32;
842 pub const MibIfTableRaw: MIB_IF_TABLE_LEVEL = 1i32;
843 pub const MibInitialNotification: MIB_NOTIFICATION_TYPE = 3i32;
844 pub const MibParameterNotification: MIB_NOTIFICATION_TYPE = 0i32;
845 pub const ND_NEIGHBOR_ADVERT: ICMP6_TYPE = 136i32;
846 pub const ND_NEIGHBOR_SOLICIT: ICMP6_TYPE = 135i32;
847 pub const ND_REDIRECT: ICMP6_TYPE = 137i32;
848 pub const ND_ROUTER_ADVERT: ICMP6_TYPE = 134i32;
849 pub const ND_ROUTER_SOLICIT: ICMP6_TYPE = 133i32;
850 pub const NET_ADDRESS_DNS_NAME: NET_ADDRESS_FORMAT = 1i32;
851 pub const NET_ADDRESS_FORMAT_UNSPECIFIED: NET_ADDRESS_FORMAT = 0i32;
852 pub const NET_ADDRESS_IPV4: NET_ADDRESS_FORMAT = 2i32;
853 pub const NET_ADDRESS_IPV6: NET_ADDRESS_FORMAT = 3i32;
854 pub const NET_STRING_IPV4_ADDRESS: u32 = 1u32;
855 pub const NET_STRING_IPV4_NETWORK: u32 = 4u32;
856 pub const NET_STRING_IPV4_SERVICE: u32 = 2u32;
857 pub const NET_STRING_IPV6_ADDRESS: u32 = 8u32;
858 pub const NET_STRING_IPV6_ADDRESS_NO_SCOPE: u32 = 16u32;
859 pub const NET_STRING_IPV6_NETWORK: u32 = 128u32;
860 pub const NET_STRING_IPV6_SERVICE: u32 = 32u32;
861 pub const NET_STRING_IPV6_SERVICE_NO_SCOPE: u32 = 64u32;
862 pub const NET_STRING_NAMED_ADDRESS: u32 = 256u32;
863 pub const NET_STRING_NAMED_SERVICE: u32 = 512u32;
864 pub const NUMBER_OF_EXPORTED_VARIABLES: u32 = 39u32;
865 pub const PEER_TO_PEER_NODETYPE: u32 = 2u32;
866 pub const PFERROR_BUFFER_TOO_SMALL: u32 = 23002u32;
867 pub const PFERROR_NO_FILTERS_GIVEN: u32 = 23001u32;
868 pub const PFERROR_NO_PF_INTERFACE: u32 = 23000u32;
869 pub const PFFT_FILTER: PFFRAMETYPE = 1i32;
870 pub const PFFT_FRAG: PFFRAMETYPE = 2i32;
871 pub const PFFT_SPOOF: PFFRAMETYPE = 3i32;
872 pub const PF_ACTION_DROP: PFFORWARD_ACTION = 1i32;
873 pub const PF_ACTION_FORWARD: PFFORWARD_ACTION = 0i32;
874 pub const PF_IPV4: PFADDRESSTYPE = 0i32;
875 pub const PF_IPV6: PFADDRESSTYPE = 1i32;
876 pub const PROXY_ARP: u32 = 22u32;
877 pub const ROUTE_LONGER: u32 = 32u32;
878 pub const ROUTE_MATCHING: u32 = 31u32;
879 pub const ROUTE_SHORTER: u32 = 33u32;
880 pub const ROUTE_STATE: u32 = 34u32;
881 pub const TCP6_STATS: u32 = 38u32;
882 pub const TCPIP_OWNER_MODULE_INFO_BASIC: TCPIP_OWNER_MODULE_INFO_CLASS = 0i32;
883 pub const TCPIP_OWNING_MODULE_SIZE: u32 = 16u32;
884 pub const TCP_ROW: u32 = 14u32;
885 pub const TCP_STATS: u32 = 12u32;
886 pub const TCP_TABLE: u32 = 13u32;
887 pub const TCP_TABLE_BASIC_ALL: TCP_TABLE_CLASS = 2i32;
888 pub const TCP_TABLE_BASIC_CONNECTIONS: TCP_TABLE_CLASS = 1i32;
889 pub const TCP_TABLE_BASIC_LISTENER: TCP_TABLE_CLASS = 0i32;
890 pub const TCP_TABLE_OWNER_MODULE_ALL: TCP_TABLE_CLASS = 8i32;
891 pub const TCP_TABLE_OWNER_MODULE_CONNECTIONS: TCP_TABLE_CLASS = 7i32;
892 pub const TCP_TABLE_OWNER_MODULE_LISTENER: TCP_TABLE_CLASS = 6i32;
893 pub const TCP_TABLE_OWNER_PID_ALL: TCP_TABLE_CLASS = 5i32;
894 pub const TCP_TABLE_OWNER_PID_CONNECTIONS: TCP_TABLE_CLASS = 4i32;
895 pub const TCP_TABLE_OWNER_PID_LISTENER: TCP_TABLE_CLASS = 3i32;
896 pub const TcpBoolOptDisabled: TCP_BOOLEAN_OPTIONAL = 0i32;
897 pub const TcpBoolOptEnabled: TCP_BOOLEAN_OPTIONAL = 1i32;
898 pub const TcpBoolOptUnchanged: TCP_BOOLEAN_OPTIONAL = -1i32;
899 pub const TcpConnectionEstatsBandwidth: TCP_ESTATS_TYPE = 7i32;
900 pub const TcpConnectionEstatsData: TCP_ESTATS_TYPE = 1i32;
901 pub const TcpConnectionEstatsFineRtt: TCP_ESTATS_TYPE = 8i32;
902 pub const TcpConnectionEstatsMaximum: TCP_ESTATS_TYPE = 9i32;
903 pub const TcpConnectionEstatsObsRec: TCP_ESTATS_TYPE = 6i32;
904 pub const TcpConnectionEstatsPath: TCP_ESTATS_TYPE = 3i32;
905 pub const TcpConnectionEstatsRec: TCP_ESTATS_TYPE = 5i32;
906 pub const TcpConnectionEstatsSendBuff: TCP_ESTATS_TYPE = 4i32;
907 pub const TcpConnectionEstatsSndCong: TCP_ESTATS_TYPE = 2i32;
908 pub const TcpConnectionEstatsSynOpts: TCP_ESTATS_TYPE = 0i32;
909 pub const TcpConnectionOffloadStateInHost: TCP_CONNECTION_OFFLOAD_STATE = 0i32;
910 pub const TcpConnectionOffloadStateMax: TCP_CONNECTION_OFFLOAD_STATE = 4i32;
911 pub const TcpConnectionOffloadStateOffloaded: TCP_CONNECTION_OFFLOAD_STATE = 2i32;
912 pub const TcpConnectionOffloadStateOffloading: TCP_CONNECTION_OFFLOAD_STATE = 1i32;
913 pub const TcpConnectionOffloadStateUploading: TCP_CONNECTION_OFFLOAD_STATE = 3i32;
914 pub const TcpErrorAboveAckWindow: TCP_SOFT_ERROR = 4i32;
915 pub const TcpErrorAboveDataWindow: TCP_SOFT_ERROR = 2i32;
916 pub const TcpErrorAboveTsWindow: TCP_SOFT_ERROR = 6i32;
917 pub const TcpErrorBelowAckWindow: TCP_SOFT_ERROR = 3i32;
918 pub const TcpErrorBelowDataWindow: TCP_SOFT_ERROR = 1i32;
919 pub const TcpErrorBelowTsWindow: TCP_SOFT_ERROR = 5i32;
920 pub const TcpErrorDataChecksumError: TCP_SOFT_ERROR = 7i32;
921 pub const TcpErrorDataLengthError: TCP_SOFT_ERROR = 8i32;
922 pub const TcpErrorMaxSoftError: TCP_SOFT_ERROR = 9i32;
923 pub const TcpErrorNone: TCP_SOFT_ERROR = 0i32;
924 pub const TcpRtoAlgorithmConstant: TCP_RTO_ALGORITHM = 2i32;
925 pub const TcpRtoAlgorithmOther: TCP_RTO_ALGORITHM = 1i32;
926 pub const TcpRtoAlgorithmRsre: TCP_RTO_ALGORITHM = 3i32;
927 pub const TcpRtoAlgorithmVanj: TCP_RTO_ALGORITHM = 4i32;
928 pub const UDP6_STATS: u32 = 37u32;
929 pub const UDP_ROW: u32 = 17u32;
930 pub const UDP_STATS: u32 = 15u32;
931 pub const UDP_TABLE: u32 = 16u32;
932 pub const UDP_TABLE_BASIC: UDP_TABLE_CLASS = 0i32;
933 pub const UDP_TABLE_OWNER_MODULE: UDP_TABLE_CLASS = 2i32;
934 pub const UDP_TABLE_OWNER_PID: UDP_TABLE_CLASS = 1i32;
935 pub type DNS_SERVER_PROPERTY_TYPE = i32;
936 pub type GET_ADAPTERS_ADDRESSES_FLAGS = u32;
937 pub type GLOBAL_FILTER = i32;
938 pub type ICMP4_TYPE = i32;
939 pub type ICMP6_TYPE = i32;
940 pub type IF_ACCESS_TYPE = i32;
941 pub type INTERNAL_IF_OPER_STATUS = i32;
942 pub type MIB_IF_ENTRY_LEVEL = i32;
943 pub type MIB_IF_TABLE_LEVEL = i32;
944 pub type MIB_IPFORWARD_TYPE = i32;
945 pub type MIB_IPNET_TYPE = i32;
946 pub type MIB_IPSTATS_FORWARDING = i32;
947 pub type MIB_NOTIFICATION_TYPE = i32;
948 pub type MIB_TCP_STATE = i32;
949 pub type NET_ADDRESS_FORMAT = i32;
950 pub type PFADDRESSTYPE = i32;
951 pub type PFFORWARD_ACTION = i32;
952 pub type PFFRAMETYPE = i32;
953 pub type TCPIP_OWNER_MODULE_INFO_CLASS = i32;
954 pub type TCP_BOOLEAN_OPTIONAL = i32;
955 pub type TCP_CONNECTION_OFFLOAD_STATE = i32;
956 pub type TCP_ESTATS_TYPE = i32;
957 pub type TCP_RTO_ALGORITHM = i32;
958 pub type TCP_SOFT_ERROR = i32;
959 pub type TCP_TABLE_CLASS = i32;
960 pub type UDP_TABLE_CLASS = i32;
961 #[repr(C)]
962 pub struct ARP_SEND_REPLY {
963 pub DestAddress: u32,
964 pub SrcAddress: u32,
965 }
966 impl ::core::marker::Copy for ARP_SEND_REPLY {}
967 impl ::core::clone::Clone for ARP_SEND_REPLY {
968 fn clone(&self) -> Self {
969 *self
970 }
971 }
972 #[repr(C)]
973 pub struct DNS_DOH_SERVER_SETTINGS {
974 pub Template: ::windows_sys::core::PWSTR,
975 pub Flags: u64,
976 }
977 impl ::core::marker::Copy for DNS_DOH_SERVER_SETTINGS {}
978 impl ::core::clone::Clone for DNS_DOH_SERVER_SETTINGS {
979 fn clone(&self) -> Self {
980 *self
981 }
982 }
983 #[repr(C)]
984 pub struct DNS_INTERFACE_SETTINGS {
985 pub Version: u32,
986 pub Flags: u64,
987 pub Domain: ::windows_sys::core::PWSTR,
988 pub NameServer: ::windows_sys::core::PWSTR,
989 pub SearchList: ::windows_sys::core::PWSTR,
990 pub RegistrationEnabled: u32,
991 pub RegisterAdapterName: u32,
992 pub EnableLLMNR: u32,
993 pub QueryAdapterName: u32,
994 pub ProfileNameServer: ::windows_sys::core::PWSTR,
995 }
996 impl ::core::marker::Copy for DNS_INTERFACE_SETTINGS {}
997 impl ::core::clone::Clone for DNS_INTERFACE_SETTINGS {
998 fn clone(&self) -> Self {
999 *self
1000 }
1001 }
1002 #[repr(C)]
1003 pub struct DNS_INTERFACE_SETTINGS3 {
1004 pub Version: u32,
1005 pub Flags: u64,
1006 pub Domain: ::windows_sys::core::PWSTR,
1007 pub NameServer: ::windows_sys::core::PWSTR,
1008 pub SearchList: ::windows_sys::core::PWSTR,
1009 pub RegistrationEnabled: u32,
1010 pub RegisterAdapterName: u32,
1011 pub EnableLLMNR: u32,
1012 pub QueryAdapterName: u32,
1013 pub ProfileNameServer: ::windows_sys::core::PWSTR,
1014 pub DisableUnconstrainedQueries: u32,
1015 pub SupplementalSearchList: ::windows_sys::core::PWSTR,
1016 pub cServerProperties: u32,
1017 pub ServerProperties: *mut DNS_SERVER_PROPERTY,
1018 pub cProfileServerProperties: u32,
1019 pub ProfileServerProperties: *mut DNS_SERVER_PROPERTY,
1020 }
1021 impl ::core::marker::Copy for DNS_INTERFACE_SETTINGS3 {}
1022 impl ::core::clone::Clone for DNS_INTERFACE_SETTINGS3 {
1023 fn clone(&self) -> Self {
1024 *self
1025 }
1026 }
1027 #[repr(C)]
1028 pub struct DNS_INTERFACE_SETTINGS4 {
1029 pub Version: u32,
1030 pub Flags: u64,
1031 pub Domain: ::windows_sys::core::PWSTR,
1032 pub NameServer: ::windows_sys::core::PWSTR,
1033 pub SearchList: ::windows_sys::core::PWSTR,
1034 pub RegistrationEnabled: u32,
1035 pub RegisterAdapterName: u32,
1036 pub EnableLLMNR: u32,
1037 pub QueryAdapterName: u32,
1038 pub ProfileNameServer: ::windows_sys::core::PWSTR,
1039 pub DisableUnconstrainedQueries: u32,
1040 pub SupplementalSearchList: ::windows_sys::core::PWSTR,
1041 pub cServerProperties: u32,
1042 pub ServerProperties: *mut DNS_SERVER_PROPERTY,
1043 pub cProfileServerProperties: u32,
1044 pub ProfileServerProperties: *mut DNS_SERVER_PROPERTY,
1045 pub EncryptedDnsAdapterFlags: u32,
1046 }
1047 impl ::core::marker::Copy for DNS_INTERFACE_SETTINGS4 {}
1048 impl ::core::clone::Clone for DNS_INTERFACE_SETTINGS4 {
1049 fn clone(&self) -> Self {
1050 *self
1051 }
1052 }
1053 #[repr(C)]
1054 pub struct DNS_INTERFACE_SETTINGS_EX {
1055 pub SettingsV1: DNS_INTERFACE_SETTINGS,
1056 pub DisableUnconstrainedQueries: u32,
1057 pub SupplementalSearchList: ::windows_sys::core::PWSTR,
1058 }
1059 impl ::core::marker::Copy for DNS_INTERFACE_SETTINGS_EX {}
1060 impl ::core::clone::Clone for DNS_INTERFACE_SETTINGS_EX {
1061 fn clone(&self) -> Self {
1062 *self
1063 }
1064 }
1065 #[repr(C)]
1066 pub struct DNS_SERVER_PROPERTY {
1067 pub Version: u32,
1068 pub ServerIndex: u32,
1069 pub Type: DNS_SERVER_PROPERTY_TYPE,
1070 pub Property: DNS_SERVER_PROPERTY_TYPES,
1071 }
1072 impl ::core::marker::Copy for DNS_SERVER_PROPERTY {}
1073 impl ::core::clone::Clone for DNS_SERVER_PROPERTY {
1074 fn clone(&self) -> Self {
1075 *self
1076 }
1077 }
1078 #[repr(C)]
1079 pub union DNS_SERVER_PROPERTY_TYPES {
1080 pub DohSettings: *mut DNS_DOH_SERVER_SETTINGS,
1081 }
1082 impl ::core::marker::Copy for DNS_SERVER_PROPERTY_TYPES {}
1083 impl ::core::clone::Clone for DNS_SERVER_PROPERTY_TYPES {
1084 fn clone(&self) -> Self {
1085 *self
1086 }
1087 }
1088 #[repr(C)]
1089 pub struct DNS_SETTINGS {
1090 pub Version: u32,
1091 pub Flags: u64,
1092 pub Hostname: ::windows_sys::core::PWSTR,
1093 pub Domain: ::windows_sys::core::PWSTR,
1094 pub SearchList: ::windows_sys::core::PWSTR,
1095 }
1096 impl ::core::marker::Copy for DNS_SETTINGS {}
1097 impl ::core::clone::Clone for DNS_SETTINGS {
1098 fn clone(&self) -> Self {
1099 *self
1100 }
1101 }
1102 #[repr(C)]
1103 pub struct DNS_SETTINGS2 {
1104 pub Version: u32,
1105 pub Flags: u64,
1106 pub Hostname: ::windows_sys::core::PWSTR,
1107 pub Domain: ::windows_sys::core::PWSTR,
1108 pub SearchList: ::windows_sys::core::PWSTR,
1109 pub SettingFlags: u64,
1110 }
1111 impl ::core::marker::Copy for DNS_SETTINGS2 {}
1112 impl ::core::clone::Clone for DNS_SETTINGS2 {
1113 fn clone(&self) -> Self {
1114 *self
1115 }
1116 }
1117 #[repr(C)]
1118 pub struct FIXED_INFO_W2KSP1 {
1119 pub HostName: [u8; 132],
1120 pub DomainName: [u8; 132],
1121 pub CurrentDnsServer: *mut IP_ADDR_STRING,
1122 pub DnsServerList: IP_ADDR_STRING,
1123 pub NodeType: u32,
1124 pub ScopeId: [u8; 260],
1125 pub EnableRouting: u32,
1126 pub EnableProxy: u32,
1127 pub EnableDns: u32,
1128 }
1129 impl ::core::marker::Copy for FIXED_INFO_W2KSP1 {}
1130 impl ::core::clone::Clone for FIXED_INFO_W2KSP1 {
1131 fn clone(&self) -> Self {
1132 *self
1133 }
1134 }
1135 pub type HIFTIMESTAMPCHANGE = isize;
1136 #[repr(C)]
1137 pub struct ICMPV6_ECHO_REPLY_LH {
1138 pub Address: IPV6_ADDRESS_EX,
1139 pub Status: u32,
1140 pub RoundTripTime: u32,
1141 }
1142 impl ::core::marker::Copy for ICMPV6_ECHO_REPLY_LH {}
1143 impl ::core::clone::Clone for ICMPV6_ECHO_REPLY_LH {
1144 fn clone(&self) -> Self {
1145 *self
1146 }
1147 }
1148 #[repr(C)]
1149 pub struct ICMP_ECHO_REPLY {
1150 pub Address: u32,
1151 pub Status: u32,
1152 pub RoundTripTime: u32,
1153 pub DataSize: u16,
1154 pub Reserved: u16,
1155 pub Data: *mut ::core::ffi::c_void,
1156 pub Options: IP_OPTION_INFORMATION,
1157 }
1158 impl ::core::marker::Copy for ICMP_ECHO_REPLY {}
1159 impl ::core::clone::Clone for ICMP_ECHO_REPLY {
1160 fn clone(&self) -> Self {
1161 *self
1162 }
1163 }
1164 #[repr(C)]
1165 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1166 pub struct ICMP_ECHO_REPLY32 {
1167 pub Address: u32,
1168 pub Status: u32,
1169 pub RoundTripTime: u32,
1170 pub DataSize: u16,
1171 pub Reserved: u16,
1172 pub Data: *mut ::core::ffi::c_void,
1173 pub Options: IP_OPTION_INFORMATION32,
1174 }
1175 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1176 impl ::core::marker::Copy for ICMP_ECHO_REPLY32 {}
1177 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1178 impl ::core::clone::Clone for ICMP_ECHO_REPLY32 {
1179 fn clone(&self) -> Self {
1180 *self
1181 }
1182 }
1183 #[repr(C)]
1184 pub struct INTERFACE_HARDWARE_CROSSTIMESTAMP {
1185 pub SystemTimestamp1: u64,
1186 pub HardwareClockTimestamp: u64,
1187 pub SystemTimestamp2: u64,
1188 }
1189 impl ::core::marker::Copy for INTERFACE_HARDWARE_CROSSTIMESTAMP {}
1190 impl ::core::clone::Clone for INTERFACE_HARDWARE_CROSSTIMESTAMP {
1191 fn clone(&self) -> Self {
1192 *self
1193 }
1194 }
1195 #[repr(C)]
1196 #[doc = "Required features: `\"Win32_Foundation\"`"]
1197 #[cfg(feature = "Win32_Foundation")]
1198 pub struct INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES {
1199 pub PtpV2OverUdpIPv4EventMessageReceive: super::super::Foundation::BOOLEAN,
1200 pub PtpV2OverUdpIPv4AllMessageReceive: super::super::Foundation::BOOLEAN,
1201 pub PtpV2OverUdpIPv4EventMessageTransmit: super::super::Foundation::BOOLEAN,
1202 pub PtpV2OverUdpIPv4AllMessageTransmit: super::super::Foundation::BOOLEAN,
1203 pub PtpV2OverUdpIPv6EventMessageReceive: super::super::Foundation::BOOLEAN,
1204 pub PtpV2OverUdpIPv6AllMessageReceive: super::super::Foundation::BOOLEAN,
1205 pub PtpV2OverUdpIPv6EventMessageTransmit: super::super::Foundation::BOOLEAN,
1206 pub PtpV2OverUdpIPv6AllMessageTransmit: super::super::Foundation::BOOLEAN,
1207 pub AllReceive: super::super::Foundation::BOOLEAN,
1208 pub AllTransmit: super::super::Foundation::BOOLEAN,
1209 pub TaggedTransmit: super::super::Foundation::BOOLEAN,
1210 }
1211 #[cfg(feature = "Win32_Foundation")]
1212 impl ::core::marker::Copy for INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES {}
1213 #[cfg(feature = "Win32_Foundation")]
1214 impl ::core::clone::Clone for INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES {
1215 fn clone(&self) -> Self {
1216 *self
1217 }
1218 }
1219 #[repr(C)]
1220 #[doc = "Required features: `\"Win32_Foundation\"`"]
1221 #[cfg(feature = "Win32_Foundation")]
1222 pub struct INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES {
1223 pub AllReceive: super::super::Foundation::BOOLEAN,
1224 pub AllTransmit: super::super::Foundation::BOOLEAN,
1225 pub TaggedTransmit: super::super::Foundation::BOOLEAN,
1226 }
1227 #[cfg(feature = "Win32_Foundation")]
1228 impl ::core::marker::Copy for INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES {}
1229 #[cfg(feature = "Win32_Foundation")]
1230 impl ::core::clone::Clone for INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES {
1231 fn clone(&self) -> Self {
1232 *self
1233 }
1234 }
1235 #[repr(C)]
1236 #[doc = "Required features: `\"Win32_Foundation\"`"]
1237 #[cfg(feature = "Win32_Foundation")]
1238 pub struct INTERFACE_TIMESTAMP_CAPABILITIES {
1239 pub HardwareClockFrequencyHz: u64,
1240 pub SupportsCrossTimestamp: super::super::Foundation::BOOLEAN,
1241 pub HardwareCapabilities: INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES,
1242 pub SoftwareCapabilities: INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES,
1243 }
1244 #[cfg(feature = "Win32_Foundation")]
1245 impl ::core::marker::Copy for INTERFACE_TIMESTAMP_CAPABILITIES {}
1246 #[cfg(feature = "Win32_Foundation")]
1247 impl ::core::clone::Clone for INTERFACE_TIMESTAMP_CAPABILITIES {
1248 fn clone(&self) -> Self {
1249 *self
1250 }
1251 }
1252 #[repr(C, packed(1))]
1253 pub struct IPV6_ADDRESS_EX {
1254 pub sin6_port: u16,
1255 pub sin6_flowinfo: u32,
1256 pub sin6_addr: [u16; 8],
1257 pub sin6_scope_id: u32,
1258 }
1259 impl ::core::marker::Copy for IPV6_ADDRESS_EX {}
1260 impl ::core::clone::Clone for IPV6_ADDRESS_EX {
1261 fn clone(&self) -> Self {
1262 *self
1263 }
1264 }
1265 #[repr(C)]
1266 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
1267 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1268 pub struct IP_ADAPTER_ADDRESSES_LH {
1269 pub Anonymous1: IP_ADAPTER_ADDRESSES_LH_0,
1270 pub Next: *mut IP_ADAPTER_ADDRESSES_LH,
1271 pub AdapterName: ::windows_sys::core::PSTR,
1272 pub FirstUnicastAddress: *mut IP_ADAPTER_UNICAST_ADDRESS_LH,
1273 pub FirstAnycastAddress: *mut IP_ADAPTER_ANYCAST_ADDRESS_XP,
1274 pub FirstMulticastAddress: *mut IP_ADAPTER_MULTICAST_ADDRESS_XP,
1275 pub FirstDnsServerAddress: *mut IP_ADAPTER_DNS_SERVER_ADDRESS_XP,
1276 pub DnsSuffix: ::windows_sys::core::PWSTR,
1277 pub Description: ::windows_sys::core::PWSTR,
1278 pub FriendlyName: ::windows_sys::core::PWSTR,
1279 pub PhysicalAddress: [u8; 8],
1280 pub PhysicalAddressLength: u32,
1281 pub Anonymous2: IP_ADAPTER_ADDRESSES_LH_1,
1282 pub Mtu: u32,
1283 pub IfType: u32,
1284 pub OperStatus: super::Ndis::IF_OPER_STATUS,
1285 pub Ipv6IfIndex: u32,
1286 pub ZoneIndices: [u32; 16],
1287 pub FirstPrefix: *mut IP_ADAPTER_PREFIX_XP,
1288 pub TransmitLinkSpeed: u64,
1289 pub ReceiveLinkSpeed: u64,
1290 pub FirstWinsServerAddress: *mut IP_ADAPTER_WINS_SERVER_ADDRESS_LH,
1291 pub FirstGatewayAddress: *mut IP_ADAPTER_GATEWAY_ADDRESS_LH,
1292 pub Ipv4Metric: u32,
1293 pub Ipv6Metric: u32,
1294 pub Luid: super::Ndis::NET_LUID_LH,
1295 pub Dhcpv4Server: super::super::Networking::WinSock::SOCKET_ADDRESS,
1296 pub CompartmentId: u32,
1297 pub NetworkGuid: ::windows_sys::core::GUID,
1298 pub ConnectionType: super::Ndis::NET_IF_CONNECTION_TYPE,
1299 pub TunnelType: super::Ndis::TUNNEL_TYPE,
1300 pub Dhcpv6Server: super::super::Networking::WinSock::SOCKET_ADDRESS,
1301 pub Dhcpv6ClientDuid: [u8; 130],
1302 pub Dhcpv6ClientDuidLength: u32,
1303 pub Dhcpv6Iaid: u32,
1304 pub FirstDnsSuffix: *mut IP_ADAPTER_DNS_SUFFIX,
1305 }
1306 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1307 impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_LH {}
1308 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1309 impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_LH {
1310 fn clone(&self) -> Self {
1311 *self
1312 }
1313 }
1314 #[repr(C)]
1315 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
1316 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1317 pub union IP_ADAPTER_ADDRESSES_LH_0 {
1318 pub Alignment: u64,
1319 pub Anonymous: IP_ADAPTER_ADDRESSES_LH_0_0,
1320 }
1321 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1322 impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_LH_0 {}
1323 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1324 impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_LH_0 {
1325 fn clone(&self) -> Self {
1326 *self
1327 }
1328 }
1329 #[repr(C)]
1330 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
1331 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1332 pub struct IP_ADAPTER_ADDRESSES_LH_0_0 {
1333 pub Length: u32,
1334 pub IfIndex: u32,
1335 }
1336 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1337 impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_LH_0_0 {}
1338 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1339 impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_LH_0_0 {
1340 fn clone(&self) -> Self {
1341 *self
1342 }
1343 }
1344 #[repr(C)]
1345 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
1346 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1347 pub union IP_ADAPTER_ADDRESSES_LH_1 {
1348 pub Flags: u32,
1349 pub Anonymous: IP_ADAPTER_ADDRESSES_LH_1_0,
1350 }
1351 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1352 impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_LH_1 {}
1353 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1354 impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_LH_1 {
1355 fn clone(&self) -> Self {
1356 *self
1357 }
1358 }
1359 #[repr(C)]
1360 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
1361 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1362 pub struct IP_ADAPTER_ADDRESSES_LH_1_0 {
1363 pub _bitfield: u32,
1364 }
1365 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1366 impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_LH_1_0 {}
1367 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1368 impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_LH_1_0 {
1369 fn clone(&self) -> Self {
1370 *self
1371 }
1372 }
1373 #[repr(C)]
1374 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
1375 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1376 pub struct IP_ADAPTER_ADDRESSES_XP {
1377 pub Anonymous: IP_ADAPTER_ADDRESSES_XP_0,
1378 pub Next: *mut IP_ADAPTER_ADDRESSES_XP,
1379 pub AdapterName: ::windows_sys::core::PSTR,
1380 pub FirstUnicastAddress: *mut IP_ADAPTER_UNICAST_ADDRESS_XP,
1381 pub FirstAnycastAddress: *mut IP_ADAPTER_ANYCAST_ADDRESS_XP,
1382 pub FirstMulticastAddress: *mut IP_ADAPTER_MULTICAST_ADDRESS_XP,
1383 pub FirstDnsServerAddress: *mut IP_ADAPTER_DNS_SERVER_ADDRESS_XP,
1384 pub DnsSuffix: ::windows_sys::core::PWSTR,
1385 pub Description: ::windows_sys::core::PWSTR,
1386 pub FriendlyName: ::windows_sys::core::PWSTR,
1387 pub PhysicalAddress: [u8; 8],
1388 pub PhysicalAddressLength: u32,
1389 pub Flags: u32,
1390 pub Mtu: u32,
1391 pub IfType: u32,
1392 pub OperStatus: super::Ndis::IF_OPER_STATUS,
1393 pub Ipv6IfIndex: u32,
1394 pub ZoneIndices: [u32; 16],
1395 pub FirstPrefix: *mut IP_ADAPTER_PREFIX_XP,
1396 }
1397 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1398 impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_XP {}
1399 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1400 impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_XP {
1401 fn clone(&self) -> Self {
1402 *self
1403 }
1404 }
1405 #[repr(C)]
1406 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
1407 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1408 pub union IP_ADAPTER_ADDRESSES_XP_0 {
1409 pub Alignment: u64,
1410 pub Anonymous: IP_ADAPTER_ADDRESSES_XP_0_0,
1411 }
1412 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1413 impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_XP_0 {}
1414 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1415 impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_XP_0 {
1416 fn clone(&self) -> Self {
1417 *self
1418 }
1419 }
1420 #[repr(C)]
1421 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
1422 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1423 pub struct IP_ADAPTER_ADDRESSES_XP_0_0 {
1424 pub Length: u32,
1425 pub IfIndex: u32,
1426 }
1427 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1428 impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_XP_0_0 {}
1429 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
1430 impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_XP_0_0 {
1431 fn clone(&self) -> Self {
1432 *self
1433 }
1434 }
1435 #[repr(C)]
1436 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1437 #[cfg(feature = "Win32_Networking_WinSock")]
1438 pub struct IP_ADAPTER_ANYCAST_ADDRESS_XP {
1439 pub Anonymous: IP_ADAPTER_ANYCAST_ADDRESS_XP_0,
1440 pub Next: *mut IP_ADAPTER_ANYCAST_ADDRESS_XP,
1441 pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS,
1442 }
1443 #[cfg(feature = "Win32_Networking_WinSock")]
1444 impl ::core::marker::Copy for IP_ADAPTER_ANYCAST_ADDRESS_XP {}
1445 #[cfg(feature = "Win32_Networking_WinSock")]
1446 impl ::core::clone::Clone for IP_ADAPTER_ANYCAST_ADDRESS_XP {
1447 fn clone(&self) -> Self {
1448 *self
1449 }
1450 }
1451 #[repr(C)]
1452 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1453 #[cfg(feature = "Win32_Networking_WinSock")]
1454 pub union IP_ADAPTER_ANYCAST_ADDRESS_XP_0 {
1455 pub Alignment: u64,
1456 pub Anonymous: IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0,
1457 }
1458 #[cfg(feature = "Win32_Networking_WinSock")]
1459 impl ::core::marker::Copy for IP_ADAPTER_ANYCAST_ADDRESS_XP_0 {}
1460 #[cfg(feature = "Win32_Networking_WinSock")]
1461 impl ::core::clone::Clone for IP_ADAPTER_ANYCAST_ADDRESS_XP_0 {
1462 fn clone(&self) -> Self {
1463 *self
1464 }
1465 }
1466 #[repr(C)]
1467 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1468 #[cfg(feature = "Win32_Networking_WinSock")]
1469 pub struct IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0 {
1470 pub Length: u32,
1471 pub Flags: u32,
1472 }
1473 #[cfg(feature = "Win32_Networking_WinSock")]
1474 impl ::core::marker::Copy for IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0 {}
1475 #[cfg(feature = "Win32_Networking_WinSock")]
1476 impl ::core::clone::Clone for IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0 {
1477 fn clone(&self) -> Self {
1478 *self
1479 }
1480 }
1481 #[repr(C)]
1482 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1483 #[cfg(feature = "Win32_Networking_WinSock")]
1484 pub struct IP_ADAPTER_DNS_SERVER_ADDRESS_XP {
1485 pub Anonymous: IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0,
1486 pub Next: *mut IP_ADAPTER_DNS_SERVER_ADDRESS_XP,
1487 pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS,
1488 }
1489 #[cfg(feature = "Win32_Networking_WinSock")]
1490 impl ::core::marker::Copy for IP_ADAPTER_DNS_SERVER_ADDRESS_XP {}
1491 #[cfg(feature = "Win32_Networking_WinSock")]
1492 impl ::core::clone::Clone for IP_ADAPTER_DNS_SERVER_ADDRESS_XP {
1493 fn clone(&self) -> Self {
1494 *self
1495 }
1496 }
1497 #[repr(C)]
1498 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1499 #[cfg(feature = "Win32_Networking_WinSock")]
1500 pub union IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0 {
1501 pub Alignment: u64,
1502 pub Anonymous: IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0,
1503 }
1504 #[cfg(feature = "Win32_Networking_WinSock")]
1505 impl ::core::marker::Copy for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0 {}
1506 #[cfg(feature = "Win32_Networking_WinSock")]
1507 impl ::core::clone::Clone for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0 {
1508 fn clone(&self) -> Self {
1509 *self
1510 }
1511 }
1512 #[repr(C)]
1513 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1514 #[cfg(feature = "Win32_Networking_WinSock")]
1515 pub struct IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0 {
1516 pub Length: u32,
1517 pub Reserved: u32,
1518 }
1519 #[cfg(feature = "Win32_Networking_WinSock")]
1520 impl ::core::marker::Copy for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0 {}
1521 #[cfg(feature = "Win32_Networking_WinSock")]
1522 impl ::core::clone::Clone for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0 {
1523 fn clone(&self) -> Self {
1524 *self
1525 }
1526 }
1527 #[repr(C)]
1528 pub struct IP_ADAPTER_DNS_SUFFIX {
1529 pub Next: *mut IP_ADAPTER_DNS_SUFFIX,
1530 pub String: [u16; 256],
1531 }
1532 impl ::core::marker::Copy for IP_ADAPTER_DNS_SUFFIX {}
1533 impl ::core::clone::Clone for IP_ADAPTER_DNS_SUFFIX {
1534 fn clone(&self) -> Self {
1535 *self
1536 }
1537 }
1538 #[repr(C)]
1539 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1540 #[cfg(feature = "Win32_Networking_WinSock")]
1541 pub struct IP_ADAPTER_GATEWAY_ADDRESS_LH {
1542 pub Anonymous: IP_ADAPTER_GATEWAY_ADDRESS_LH_0,
1543 pub Next: *mut IP_ADAPTER_GATEWAY_ADDRESS_LH,
1544 pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS,
1545 }
1546 #[cfg(feature = "Win32_Networking_WinSock")]
1547 impl ::core::marker::Copy for IP_ADAPTER_GATEWAY_ADDRESS_LH {}
1548 #[cfg(feature = "Win32_Networking_WinSock")]
1549 impl ::core::clone::Clone for IP_ADAPTER_GATEWAY_ADDRESS_LH {
1550 fn clone(&self) -> Self {
1551 *self
1552 }
1553 }
1554 #[repr(C)]
1555 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1556 #[cfg(feature = "Win32_Networking_WinSock")]
1557 pub union IP_ADAPTER_GATEWAY_ADDRESS_LH_0 {
1558 pub Alignment: u64,
1559 pub Anonymous: IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0,
1560 }
1561 #[cfg(feature = "Win32_Networking_WinSock")]
1562 impl ::core::marker::Copy for IP_ADAPTER_GATEWAY_ADDRESS_LH_0 {}
1563 #[cfg(feature = "Win32_Networking_WinSock")]
1564 impl ::core::clone::Clone for IP_ADAPTER_GATEWAY_ADDRESS_LH_0 {
1565 fn clone(&self) -> Self {
1566 *self
1567 }
1568 }
1569 #[repr(C)]
1570 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1571 #[cfg(feature = "Win32_Networking_WinSock")]
1572 pub struct IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0 {
1573 pub Length: u32,
1574 pub Reserved: u32,
1575 }
1576 #[cfg(feature = "Win32_Networking_WinSock")]
1577 impl ::core::marker::Copy for IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0 {}
1578 #[cfg(feature = "Win32_Networking_WinSock")]
1579 impl ::core::clone::Clone for IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0 {
1580 fn clone(&self) -> Self {
1581 *self
1582 }
1583 }
1584 #[repr(C)]
1585 pub struct IP_ADAPTER_INDEX_MAP {
1586 pub Index: u32,
1587 pub Name: [u16; 128],
1588 }
1589 impl ::core::marker::Copy for IP_ADAPTER_INDEX_MAP {}
1590 impl ::core::clone::Clone for IP_ADAPTER_INDEX_MAP {
1591 fn clone(&self) -> Self {
1592 *self
1593 }
1594 }
1595 #[repr(C)]
1596 #[doc = "Required features: `\"Win32_Foundation\"`"]
1597 #[cfg(feature = "Win32_Foundation")]
1598 pub struct IP_ADAPTER_INFO {
1599 pub Next: *mut IP_ADAPTER_INFO,
1600 pub ComboIndex: u32,
1601 pub AdapterName: [u8; 260],
1602 pub Description: [u8; 132],
1603 pub AddressLength: u32,
1604 pub Address: [u8; 8],
1605 pub Index: u32,
1606 pub Type: u32,
1607 pub DhcpEnabled: u32,
1608 pub CurrentIpAddress: *mut IP_ADDR_STRING,
1609 pub IpAddressList: IP_ADDR_STRING,
1610 pub GatewayList: IP_ADDR_STRING,
1611 pub DhcpServer: IP_ADDR_STRING,
1612 pub HaveWins: super::super::Foundation::BOOL,
1613 pub PrimaryWinsServer: IP_ADDR_STRING,
1614 pub SecondaryWinsServer: IP_ADDR_STRING,
1615 pub LeaseObtained: i64,
1616 pub LeaseExpires: i64,
1617 }
1618 #[cfg(feature = "Win32_Foundation")]
1619 impl ::core::marker::Copy for IP_ADAPTER_INFO {}
1620 #[cfg(feature = "Win32_Foundation")]
1621 impl ::core::clone::Clone for IP_ADAPTER_INFO {
1622 fn clone(&self) -> Self {
1623 *self
1624 }
1625 }
1626 #[repr(C)]
1627 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1628 #[cfg(feature = "Win32_Networking_WinSock")]
1629 pub struct IP_ADAPTER_MULTICAST_ADDRESS_XP {
1630 pub Anonymous: IP_ADAPTER_MULTICAST_ADDRESS_XP_0,
1631 pub Next: *mut IP_ADAPTER_MULTICAST_ADDRESS_XP,
1632 pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS,
1633 }
1634 #[cfg(feature = "Win32_Networking_WinSock")]
1635 impl ::core::marker::Copy for IP_ADAPTER_MULTICAST_ADDRESS_XP {}
1636 #[cfg(feature = "Win32_Networking_WinSock")]
1637 impl ::core::clone::Clone for IP_ADAPTER_MULTICAST_ADDRESS_XP {
1638 fn clone(&self) -> Self {
1639 *self
1640 }
1641 }
1642 #[repr(C)]
1643 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1644 #[cfg(feature = "Win32_Networking_WinSock")]
1645 pub union IP_ADAPTER_MULTICAST_ADDRESS_XP_0 {
1646 pub Alignment: u64,
1647 pub Anonymous: IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0,
1648 }
1649 #[cfg(feature = "Win32_Networking_WinSock")]
1650 impl ::core::marker::Copy for IP_ADAPTER_MULTICAST_ADDRESS_XP_0 {}
1651 #[cfg(feature = "Win32_Networking_WinSock")]
1652 impl ::core::clone::Clone for IP_ADAPTER_MULTICAST_ADDRESS_XP_0 {
1653 fn clone(&self) -> Self {
1654 *self
1655 }
1656 }
1657 #[repr(C)]
1658 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1659 #[cfg(feature = "Win32_Networking_WinSock")]
1660 pub struct IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0 {
1661 pub Length: u32,
1662 pub Flags: u32,
1663 }
1664 #[cfg(feature = "Win32_Networking_WinSock")]
1665 impl ::core::marker::Copy for IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0 {}
1666 #[cfg(feature = "Win32_Networking_WinSock")]
1667 impl ::core::clone::Clone for IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0 {
1668 fn clone(&self) -> Self {
1669 *self
1670 }
1671 }
1672 #[repr(C)]
1673 pub struct IP_ADAPTER_ORDER_MAP {
1674 pub NumAdapters: u32,
1675 pub AdapterOrder: [u32; 1],
1676 }
1677 impl ::core::marker::Copy for IP_ADAPTER_ORDER_MAP {}
1678 impl ::core::clone::Clone for IP_ADAPTER_ORDER_MAP {
1679 fn clone(&self) -> Self {
1680 *self
1681 }
1682 }
1683 #[repr(C)]
1684 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1685 #[cfg(feature = "Win32_Networking_WinSock")]
1686 pub struct IP_ADAPTER_PREFIX_XP {
1687 pub Anonymous: IP_ADAPTER_PREFIX_XP_0,
1688 pub Next: *mut IP_ADAPTER_PREFIX_XP,
1689 pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS,
1690 pub PrefixLength: u32,
1691 }
1692 #[cfg(feature = "Win32_Networking_WinSock")]
1693 impl ::core::marker::Copy for IP_ADAPTER_PREFIX_XP {}
1694 #[cfg(feature = "Win32_Networking_WinSock")]
1695 impl ::core::clone::Clone for IP_ADAPTER_PREFIX_XP {
1696 fn clone(&self) -> Self {
1697 *self
1698 }
1699 }
1700 #[repr(C)]
1701 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1702 #[cfg(feature = "Win32_Networking_WinSock")]
1703 pub union IP_ADAPTER_PREFIX_XP_0 {
1704 pub Alignment: u64,
1705 pub Anonymous: IP_ADAPTER_PREFIX_XP_0_0,
1706 }
1707 #[cfg(feature = "Win32_Networking_WinSock")]
1708 impl ::core::marker::Copy for IP_ADAPTER_PREFIX_XP_0 {}
1709 #[cfg(feature = "Win32_Networking_WinSock")]
1710 impl ::core::clone::Clone for IP_ADAPTER_PREFIX_XP_0 {
1711 fn clone(&self) -> Self {
1712 *self
1713 }
1714 }
1715 #[repr(C)]
1716 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1717 #[cfg(feature = "Win32_Networking_WinSock")]
1718 pub struct IP_ADAPTER_PREFIX_XP_0_0 {
1719 pub Length: u32,
1720 pub Flags: u32,
1721 }
1722 #[cfg(feature = "Win32_Networking_WinSock")]
1723 impl ::core::marker::Copy for IP_ADAPTER_PREFIX_XP_0_0 {}
1724 #[cfg(feature = "Win32_Networking_WinSock")]
1725 impl ::core::clone::Clone for IP_ADAPTER_PREFIX_XP_0_0 {
1726 fn clone(&self) -> Self {
1727 *self
1728 }
1729 }
1730 #[repr(C)]
1731 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1732 #[cfg(feature = "Win32_Networking_WinSock")]
1733 pub struct IP_ADAPTER_UNICAST_ADDRESS_LH {
1734 pub Anonymous: IP_ADAPTER_UNICAST_ADDRESS_LH_0,
1735 pub Next: *mut IP_ADAPTER_UNICAST_ADDRESS_LH,
1736 pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS,
1737 pub PrefixOrigin: super::super::Networking::WinSock::NL_PREFIX_ORIGIN,
1738 pub SuffixOrigin: super::super::Networking::WinSock::NL_SUFFIX_ORIGIN,
1739 pub DadState: super::super::Networking::WinSock::NL_DAD_STATE,
1740 pub ValidLifetime: u32,
1741 pub PreferredLifetime: u32,
1742 pub LeaseLifetime: u32,
1743 pub OnLinkPrefixLength: u8,
1744 }
1745 #[cfg(feature = "Win32_Networking_WinSock")]
1746 impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_LH {}
1747 #[cfg(feature = "Win32_Networking_WinSock")]
1748 impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_LH {
1749 fn clone(&self) -> Self {
1750 *self
1751 }
1752 }
1753 #[repr(C)]
1754 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1755 #[cfg(feature = "Win32_Networking_WinSock")]
1756 pub union IP_ADAPTER_UNICAST_ADDRESS_LH_0 {
1757 pub Alignment: u64,
1758 pub Anonymous: IP_ADAPTER_UNICAST_ADDRESS_LH_0_0,
1759 }
1760 #[cfg(feature = "Win32_Networking_WinSock")]
1761 impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_LH_0 {}
1762 #[cfg(feature = "Win32_Networking_WinSock")]
1763 impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_LH_0 {
1764 fn clone(&self) -> Self {
1765 *self
1766 }
1767 }
1768 #[repr(C)]
1769 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1770 #[cfg(feature = "Win32_Networking_WinSock")]
1771 pub struct IP_ADAPTER_UNICAST_ADDRESS_LH_0_0 {
1772 pub Length: u32,
1773 pub Flags: u32,
1774 }
1775 #[cfg(feature = "Win32_Networking_WinSock")]
1776 impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_LH_0_0 {}
1777 #[cfg(feature = "Win32_Networking_WinSock")]
1778 impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_LH_0_0 {
1779 fn clone(&self) -> Self {
1780 *self
1781 }
1782 }
1783 #[repr(C)]
1784 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1785 #[cfg(feature = "Win32_Networking_WinSock")]
1786 pub struct IP_ADAPTER_UNICAST_ADDRESS_XP {
1787 pub Anonymous: IP_ADAPTER_UNICAST_ADDRESS_XP_0,
1788 pub Next: *mut IP_ADAPTER_UNICAST_ADDRESS_XP,
1789 pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS,
1790 pub PrefixOrigin: super::super::Networking::WinSock::NL_PREFIX_ORIGIN,
1791 pub SuffixOrigin: super::super::Networking::WinSock::NL_SUFFIX_ORIGIN,
1792 pub DadState: super::super::Networking::WinSock::NL_DAD_STATE,
1793 pub ValidLifetime: u32,
1794 pub PreferredLifetime: u32,
1795 pub LeaseLifetime: u32,
1796 }
1797 #[cfg(feature = "Win32_Networking_WinSock")]
1798 impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_XP {}
1799 #[cfg(feature = "Win32_Networking_WinSock")]
1800 impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_XP {
1801 fn clone(&self) -> Self {
1802 *self
1803 }
1804 }
1805 #[repr(C)]
1806 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1807 #[cfg(feature = "Win32_Networking_WinSock")]
1808 pub union IP_ADAPTER_UNICAST_ADDRESS_XP_0 {
1809 pub Alignment: u64,
1810 pub Anonymous: IP_ADAPTER_UNICAST_ADDRESS_XP_0_0,
1811 }
1812 #[cfg(feature = "Win32_Networking_WinSock")]
1813 impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_XP_0 {}
1814 #[cfg(feature = "Win32_Networking_WinSock")]
1815 impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_XP_0 {
1816 fn clone(&self) -> Self {
1817 *self
1818 }
1819 }
1820 #[repr(C)]
1821 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1822 #[cfg(feature = "Win32_Networking_WinSock")]
1823 pub struct IP_ADAPTER_UNICAST_ADDRESS_XP_0_0 {
1824 pub Length: u32,
1825 pub Flags: u32,
1826 }
1827 #[cfg(feature = "Win32_Networking_WinSock")]
1828 impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_XP_0_0 {}
1829 #[cfg(feature = "Win32_Networking_WinSock")]
1830 impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_XP_0_0 {
1831 fn clone(&self) -> Self {
1832 *self
1833 }
1834 }
1835 #[repr(C)]
1836 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1837 #[cfg(feature = "Win32_Networking_WinSock")]
1838 pub struct IP_ADAPTER_WINS_SERVER_ADDRESS_LH {
1839 pub Anonymous: IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0,
1840 pub Next: *mut IP_ADAPTER_WINS_SERVER_ADDRESS_LH,
1841 pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS,
1842 }
1843 #[cfg(feature = "Win32_Networking_WinSock")]
1844 impl ::core::marker::Copy for IP_ADAPTER_WINS_SERVER_ADDRESS_LH {}
1845 #[cfg(feature = "Win32_Networking_WinSock")]
1846 impl ::core::clone::Clone for IP_ADAPTER_WINS_SERVER_ADDRESS_LH {
1847 fn clone(&self) -> Self {
1848 *self
1849 }
1850 }
1851 #[repr(C)]
1852 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1853 #[cfg(feature = "Win32_Networking_WinSock")]
1854 pub union IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0 {
1855 pub Alignment: u64,
1856 pub Anonymous: IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0,
1857 }
1858 #[cfg(feature = "Win32_Networking_WinSock")]
1859 impl ::core::marker::Copy for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0 {}
1860 #[cfg(feature = "Win32_Networking_WinSock")]
1861 impl ::core::clone::Clone for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0 {
1862 fn clone(&self) -> Self {
1863 *self
1864 }
1865 }
1866 #[repr(C)]
1867 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1868 #[cfg(feature = "Win32_Networking_WinSock")]
1869 pub struct IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0 {
1870 pub Length: u32,
1871 pub Reserved: u32,
1872 }
1873 #[cfg(feature = "Win32_Networking_WinSock")]
1874 impl ::core::marker::Copy for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0 {}
1875 #[cfg(feature = "Win32_Networking_WinSock")]
1876 impl ::core::clone::Clone for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0 {
1877 fn clone(&self) -> Self {
1878 *self
1879 }
1880 }
1881 #[repr(C)]
1882 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1883 #[cfg(feature = "Win32_Networking_WinSock")]
1884 pub struct IP_ADDRESS_PREFIX {
1885 pub Prefix: super::super::Networking::WinSock::SOCKADDR_INET,
1886 pub PrefixLength: u8,
1887 }
1888 #[cfg(feature = "Win32_Networking_WinSock")]
1889 impl ::core::marker::Copy for IP_ADDRESS_PREFIX {}
1890 #[cfg(feature = "Win32_Networking_WinSock")]
1891 impl ::core::clone::Clone for IP_ADDRESS_PREFIX {
1892 fn clone(&self) -> Self {
1893 *self
1894 }
1895 }
1896 #[repr(C)]
1897 pub struct IP_ADDRESS_STRING {
1898 pub String: [u8; 16],
1899 }
1900 impl ::core::marker::Copy for IP_ADDRESS_STRING {}
1901 impl ::core::clone::Clone for IP_ADDRESS_STRING {
1902 fn clone(&self) -> Self {
1903 *self
1904 }
1905 }
1906 #[repr(C)]
1907 pub struct IP_ADDR_STRING {
1908 pub Next: *mut IP_ADDR_STRING,
1909 pub IpAddress: IP_ADDRESS_STRING,
1910 pub IpMask: IP_ADDRESS_STRING,
1911 pub Context: u32,
1912 }
1913 impl ::core::marker::Copy for IP_ADDR_STRING {}
1914 impl ::core::clone::Clone for IP_ADDR_STRING {
1915 fn clone(&self) -> Self {
1916 *self
1917 }
1918 }
1919 #[repr(C)]
1920 pub struct IP_INTERFACE_INFO {
1921 pub NumAdapters: i32,
1922 pub Adapter: [IP_ADAPTER_INDEX_MAP; 1],
1923 }
1924 impl ::core::marker::Copy for IP_INTERFACE_INFO {}
1925 impl ::core::clone::Clone for IP_INTERFACE_INFO {
1926 fn clone(&self) -> Self {
1927 *self
1928 }
1929 }
1930 #[repr(C)]
1931 pub struct IP_INTERFACE_NAME_INFO_W2KSP1 {
1932 pub Index: u32,
1933 pub MediaType: u32,
1934 pub ConnectionType: u8,
1935 pub AccessType: u8,
1936 pub DeviceGuid: ::windows_sys::core::GUID,
1937 pub InterfaceGuid: ::windows_sys::core::GUID,
1938 }
1939 impl ::core::marker::Copy for IP_INTERFACE_NAME_INFO_W2KSP1 {}
1940 impl ::core::clone::Clone for IP_INTERFACE_NAME_INFO_W2KSP1 {
1941 fn clone(&self) -> Self {
1942 *self
1943 }
1944 }
1945 #[repr(C)]
1946 pub struct IP_MCAST_COUNTER_INFO {
1947 pub InMcastOctets: u64,
1948 pub OutMcastOctets: u64,
1949 pub InMcastPkts: u64,
1950 pub OutMcastPkts: u64,
1951 }
1952 impl ::core::marker::Copy for IP_MCAST_COUNTER_INFO {}
1953 impl ::core::clone::Clone for IP_MCAST_COUNTER_INFO {
1954 fn clone(&self) -> Self {
1955 *self
1956 }
1957 }
1958 #[repr(C)]
1959 pub struct IP_OPTION_INFORMATION {
1960 pub Ttl: u8,
1961 pub Tos: u8,
1962 pub Flags: u8,
1963 pub OptionsSize: u8,
1964 pub OptionsData: *mut u8,
1965 }
1966 impl ::core::marker::Copy for IP_OPTION_INFORMATION {}
1967 impl ::core::clone::Clone for IP_OPTION_INFORMATION {
1968 fn clone(&self) -> Self {
1969 *self
1970 }
1971 }
1972 #[repr(C)]
1973 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1974 pub struct IP_OPTION_INFORMATION32 {
1975 pub Ttl: u8,
1976 pub Tos: u8,
1977 pub Flags: u8,
1978 pub OptionsSize: u8,
1979 pub OptionsData: *mut u8,
1980 }
1981 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1982 impl ::core::marker::Copy for IP_OPTION_INFORMATION32 {}
1983 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1984 impl ::core::clone::Clone for IP_OPTION_INFORMATION32 {
1985 fn clone(&self) -> Self {
1986 *self
1987 }
1988 }
1989 #[repr(C)]
1990 pub struct IP_PER_ADAPTER_INFO_W2KSP1 {
1991 pub AutoconfigEnabled: u32,
1992 pub AutoconfigActive: u32,
1993 pub CurrentDnsServer: *mut IP_ADDR_STRING,
1994 pub DnsServerList: IP_ADDR_STRING,
1995 }
1996 impl ::core::marker::Copy for IP_PER_ADAPTER_INFO_W2KSP1 {}
1997 impl ::core::clone::Clone for IP_PER_ADAPTER_INFO_W2KSP1 {
1998 fn clone(&self) -> Self {
1999 *self
2000 }
2001 }
2002 #[repr(C)]
2003 pub struct IP_UNIDIRECTIONAL_ADAPTER_ADDRESS {
2004 pub NumAdapters: u32,
2005 pub Address: [u32; 1],
2006 }
2007 impl ::core::marker::Copy for IP_UNIDIRECTIONAL_ADAPTER_ADDRESS {}
2008 impl ::core::clone::Clone for IP_UNIDIRECTIONAL_ADAPTER_ADDRESS {
2009 fn clone(&self) -> Self {
2010 *self
2011 }
2012 }
2013 #[repr(C)]
2014 pub struct MIBICMPINFO {
2015 pub icmpInStats: MIBICMPSTATS,
2016 pub icmpOutStats: MIBICMPSTATS,
2017 }
2018 impl ::core::marker::Copy for MIBICMPINFO {}
2019 impl ::core::clone::Clone for MIBICMPINFO {
2020 fn clone(&self) -> Self {
2021 *self
2022 }
2023 }
2024 #[repr(C)]
2025 pub struct MIBICMPSTATS {
2026 pub dwMsgs: u32,
2027 pub dwErrors: u32,
2028 pub dwDestUnreachs: u32,
2029 pub dwTimeExcds: u32,
2030 pub dwParmProbs: u32,
2031 pub dwSrcQuenchs: u32,
2032 pub dwRedirects: u32,
2033 pub dwEchos: u32,
2034 pub dwEchoReps: u32,
2035 pub dwTimestamps: u32,
2036 pub dwTimestampReps: u32,
2037 pub dwAddrMasks: u32,
2038 pub dwAddrMaskReps: u32,
2039 }
2040 impl ::core::marker::Copy for MIBICMPSTATS {}
2041 impl ::core::clone::Clone for MIBICMPSTATS {
2042 fn clone(&self) -> Self {
2043 *self
2044 }
2045 }
2046 #[repr(C)]
2047 pub struct MIBICMPSTATS_EX_XPSP1 {
2048 pub dwMsgs: u32,
2049 pub dwErrors: u32,
2050 pub rgdwTypeCount: [u32; 256],
2051 }
2052 impl ::core::marker::Copy for MIBICMPSTATS_EX_XPSP1 {}
2053 impl ::core::clone::Clone for MIBICMPSTATS_EX_XPSP1 {
2054 fn clone(&self) -> Self {
2055 *self
2056 }
2057 }
2058 #[repr(C)]
2059 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2060 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2061 pub struct MIB_ANYCASTIPADDRESS_ROW {
2062 pub Address: super::super::Networking::WinSock::SOCKADDR_INET,
2063 pub InterfaceLuid: super::Ndis::NET_LUID_LH,
2064 pub InterfaceIndex: u32,
2065 pub ScopeId: super::super::Networking::WinSock::SCOPE_ID,
2066 }
2067 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2068 impl ::core::marker::Copy for MIB_ANYCASTIPADDRESS_ROW {}
2069 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2070 impl ::core::clone::Clone for MIB_ANYCASTIPADDRESS_ROW {
2071 fn clone(&self) -> Self {
2072 *self
2073 }
2074 }
2075 #[repr(C)]
2076 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2077 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2078 pub struct MIB_ANYCASTIPADDRESS_TABLE {
2079 pub NumEntries: u32,
2080 pub Table: [MIB_ANYCASTIPADDRESS_ROW; 1],
2081 }
2082 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2083 impl ::core::marker::Copy for MIB_ANYCASTIPADDRESS_TABLE {}
2084 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2085 impl ::core::clone::Clone for MIB_ANYCASTIPADDRESS_TABLE {
2086 fn clone(&self) -> Self {
2087 *self
2088 }
2089 }
2090 #[repr(C)]
2091 pub struct MIB_BEST_IF {
2092 pub dwDestAddr: u32,
2093 pub dwIfIndex: u32,
2094 }
2095 impl ::core::marker::Copy for MIB_BEST_IF {}
2096 impl ::core::clone::Clone for MIB_BEST_IF {
2097 fn clone(&self) -> Self {
2098 *self
2099 }
2100 }
2101 #[repr(C)]
2102 pub struct MIB_BOUNDARYROW {
2103 pub dwGroupAddress: u32,
2104 pub dwGroupMask: u32,
2105 }
2106 impl ::core::marker::Copy for MIB_BOUNDARYROW {}
2107 impl ::core::clone::Clone for MIB_BOUNDARYROW {
2108 fn clone(&self) -> Self {
2109 *self
2110 }
2111 }
2112 #[repr(C)]
2113 pub struct MIB_ICMP {
2114 pub stats: MIBICMPINFO,
2115 }
2116 impl ::core::marker::Copy for MIB_ICMP {}
2117 impl ::core::clone::Clone for MIB_ICMP {
2118 fn clone(&self) -> Self {
2119 *self
2120 }
2121 }
2122 #[repr(C)]
2123 pub struct MIB_ICMP_EX_XPSP1 {
2124 pub icmpInStats: MIBICMPSTATS_EX_XPSP1,
2125 pub icmpOutStats: MIBICMPSTATS_EX_XPSP1,
2126 }
2127 impl ::core::marker::Copy for MIB_ICMP_EX_XPSP1 {}
2128 impl ::core::clone::Clone for MIB_ICMP_EX_XPSP1 {
2129 fn clone(&self) -> Self {
2130 *self
2131 }
2132 }
2133 #[repr(C)]
2134 pub struct MIB_IFNUMBER {
2135 pub dwValue: u32,
2136 }
2137 impl ::core::marker::Copy for MIB_IFNUMBER {}
2138 impl ::core::clone::Clone for MIB_IFNUMBER {
2139 fn clone(&self) -> Self {
2140 *self
2141 }
2142 }
2143 #[repr(C)]
2144 pub struct MIB_IFROW {
2145 pub wszName: [u16; 256],
2146 pub dwIndex: u32,
2147 pub dwType: u32,
2148 pub dwMtu: u32,
2149 pub dwSpeed: u32,
2150 pub dwPhysAddrLen: u32,
2151 pub bPhysAddr: [u8; 8],
2152 pub dwAdminStatus: u32,
2153 pub dwOperStatus: INTERNAL_IF_OPER_STATUS,
2154 pub dwLastChange: u32,
2155 pub dwInOctets: u32,
2156 pub dwInUcastPkts: u32,
2157 pub dwInNUcastPkts: u32,
2158 pub dwInDiscards: u32,
2159 pub dwInErrors: u32,
2160 pub dwInUnknownProtos: u32,
2161 pub dwOutOctets: u32,
2162 pub dwOutUcastPkts: u32,
2163 pub dwOutNUcastPkts: u32,
2164 pub dwOutDiscards: u32,
2165 pub dwOutErrors: u32,
2166 pub dwOutQLen: u32,
2167 pub dwDescrLen: u32,
2168 pub bDescr: [u8; 256],
2169 }
2170 impl ::core::marker::Copy for MIB_IFROW {}
2171 impl ::core::clone::Clone for MIB_IFROW {
2172 fn clone(&self) -> Self {
2173 *self
2174 }
2175 }
2176 #[repr(C)]
2177 pub struct MIB_IFSTACK_ROW {
2178 pub HigherLayerInterfaceIndex: u32,
2179 pub LowerLayerInterfaceIndex: u32,
2180 }
2181 impl ::core::marker::Copy for MIB_IFSTACK_ROW {}
2182 impl ::core::clone::Clone for MIB_IFSTACK_ROW {
2183 fn clone(&self) -> Self {
2184 *self
2185 }
2186 }
2187 #[repr(C)]
2188 pub struct MIB_IFSTACK_TABLE {
2189 pub NumEntries: u32,
2190 pub Table: [MIB_IFSTACK_ROW; 1],
2191 }
2192 impl ::core::marker::Copy for MIB_IFSTACK_TABLE {}
2193 impl ::core::clone::Clone for MIB_IFSTACK_TABLE {
2194 fn clone(&self) -> Self {
2195 *self
2196 }
2197 }
2198 #[repr(C)]
2199 #[doc = "Required features: `\"Win32_Foundation\"`"]
2200 #[cfg(feature = "Win32_Foundation")]
2201 pub struct MIB_IFSTATUS {
2202 pub dwIfIndex: u32,
2203 pub dwAdminStatus: u32,
2204 pub dwOperationalStatus: u32,
2205 pub bMHbeatActive: super::super::Foundation::BOOL,
2206 pub bMHbeatAlive: super::super::Foundation::BOOL,
2207 }
2208 #[cfg(feature = "Win32_Foundation")]
2209 impl ::core::marker::Copy for MIB_IFSTATUS {}
2210 #[cfg(feature = "Win32_Foundation")]
2211 impl ::core::clone::Clone for MIB_IFSTATUS {
2212 fn clone(&self) -> Self {
2213 *self
2214 }
2215 }
2216 #[repr(C)]
2217 pub struct MIB_IFTABLE {
2218 pub dwNumEntries: u32,
2219 pub table: [MIB_IFROW; 1],
2220 }
2221 impl ::core::marker::Copy for MIB_IFTABLE {}
2222 impl ::core::clone::Clone for MIB_IFTABLE {
2223 fn clone(&self) -> Self {
2224 *self
2225 }
2226 }
2227 #[repr(C)]
2228 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"]
2229 #[cfg(feature = "Win32_NetworkManagement_Ndis")]
2230 pub struct MIB_IF_ROW2 {
2231 pub InterfaceLuid: super::Ndis::NET_LUID_LH,
2232 pub InterfaceIndex: u32,
2233 pub InterfaceGuid: ::windows_sys::core::GUID,
2234 pub Alias: [u16; 257],
2235 pub Description: [u16; 257],
2236 pub PhysicalAddressLength: u32,
2237 pub PhysicalAddress: [u8; 32],
2238 pub PermanentPhysicalAddress: [u8; 32],
2239 pub Mtu: u32,
2240 pub Type: u32,
2241 pub TunnelType: super::Ndis::TUNNEL_TYPE,
2242 pub MediaType: super::Ndis::NDIS_MEDIUM,
2243 pub PhysicalMediumType: super::Ndis::NDIS_PHYSICAL_MEDIUM,
2244 pub AccessType: super::Ndis::NET_IF_ACCESS_TYPE,
2245 pub DirectionType: super::Ndis::NET_IF_DIRECTION_TYPE,
2246 pub InterfaceAndOperStatusFlags: MIB_IF_ROW2_0,
2247 pub OperStatus: super::Ndis::IF_OPER_STATUS,
2248 pub AdminStatus: super::Ndis::NET_IF_ADMIN_STATUS,
2249 pub MediaConnectState: super::Ndis::NET_IF_MEDIA_CONNECT_STATE,
2250 pub NetworkGuid: ::windows_sys::core::GUID,
2251 pub ConnectionType: super::Ndis::NET_IF_CONNECTION_TYPE,
2252 pub TransmitLinkSpeed: u64,
2253 pub ReceiveLinkSpeed: u64,
2254 pub InOctets: u64,
2255 pub InUcastPkts: u64,
2256 pub InNUcastPkts: u64,
2257 pub InDiscards: u64,
2258 pub InErrors: u64,
2259 pub InUnknownProtos: u64,
2260 pub InUcastOctets: u64,
2261 pub InMulticastOctets: u64,
2262 pub InBroadcastOctets: u64,
2263 pub OutOctets: u64,
2264 pub OutUcastPkts: u64,
2265 pub OutNUcastPkts: u64,
2266 pub OutDiscards: u64,
2267 pub OutErrors: u64,
2268 pub OutUcastOctets: u64,
2269 pub OutMulticastOctets: u64,
2270 pub OutBroadcastOctets: u64,
2271 pub OutQLen: u64,
2272 }
2273 #[cfg(feature = "Win32_NetworkManagement_Ndis")]
2274 impl ::core::marker::Copy for MIB_IF_ROW2 {}
2275 #[cfg(feature = "Win32_NetworkManagement_Ndis")]
2276 impl ::core::clone::Clone for MIB_IF_ROW2 {
2277 fn clone(&self) -> Self {
2278 *self
2279 }
2280 }
2281 #[repr(C)]
2282 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"]
2283 #[cfg(feature = "Win32_NetworkManagement_Ndis")]
2284 pub struct MIB_IF_ROW2_0 {
2285 pub _bitfield: u8,
2286 }
2287 #[cfg(feature = "Win32_NetworkManagement_Ndis")]
2288 impl ::core::marker::Copy for MIB_IF_ROW2_0 {}
2289 #[cfg(feature = "Win32_NetworkManagement_Ndis")]
2290 impl ::core::clone::Clone for MIB_IF_ROW2_0 {
2291 fn clone(&self) -> Self {
2292 *self
2293 }
2294 }
2295 #[repr(C)]
2296 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"]
2297 #[cfg(feature = "Win32_NetworkManagement_Ndis")]
2298 pub struct MIB_IF_TABLE2 {
2299 pub NumEntries: u32,
2300 pub Table: [MIB_IF_ROW2; 1],
2301 }
2302 #[cfg(feature = "Win32_NetworkManagement_Ndis")]
2303 impl ::core::marker::Copy for MIB_IF_TABLE2 {}
2304 #[cfg(feature = "Win32_NetworkManagement_Ndis")]
2305 impl ::core::clone::Clone for MIB_IF_TABLE2 {
2306 fn clone(&self) -> Self {
2307 *self
2308 }
2309 }
2310 #[repr(C)]
2311 pub struct MIB_INVERTEDIFSTACK_ROW {
2312 pub LowerLayerInterfaceIndex: u32,
2313 pub HigherLayerInterfaceIndex: u32,
2314 }
2315 impl ::core::marker::Copy for MIB_INVERTEDIFSTACK_ROW {}
2316 impl ::core::clone::Clone for MIB_INVERTEDIFSTACK_ROW {
2317 fn clone(&self) -> Self {
2318 *self
2319 }
2320 }
2321 #[repr(C)]
2322 pub struct MIB_INVERTEDIFSTACK_TABLE {
2323 pub NumEntries: u32,
2324 pub Table: [MIB_INVERTEDIFSTACK_ROW; 1],
2325 }
2326 impl ::core::marker::Copy for MIB_INVERTEDIFSTACK_TABLE {}
2327 impl ::core::clone::Clone for MIB_INVERTEDIFSTACK_TABLE {
2328 fn clone(&self) -> Self {
2329 *self
2330 }
2331 }
2332 #[repr(C)]
2333 pub struct MIB_IPADDRROW_W2K {
2334 pub dwAddr: u32,
2335 pub dwIndex: u32,
2336 pub dwMask: u32,
2337 pub dwBCastAddr: u32,
2338 pub dwReasmSize: u32,
2339 pub unused1: u16,
2340 pub unused2: u16,
2341 }
2342 impl ::core::marker::Copy for MIB_IPADDRROW_W2K {}
2343 impl ::core::clone::Clone for MIB_IPADDRROW_W2K {
2344 fn clone(&self) -> Self {
2345 *self
2346 }
2347 }
2348 #[repr(C)]
2349 pub struct MIB_IPADDRROW_XP {
2350 pub dwAddr: u32,
2351 pub dwIndex: u32,
2352 pub dwMask: u32,
2353 pub dwBCastAddr: u32,
2354 pub dwReasmSize: u32,
2355 pub unused1: u16,
2356 pub wType: u16,
2357 }
2358 impl ::core::marker::Copy for MIB_IPADDRROW_XP {}
2359 impl ::core::clone::Clone for MIB_IPADDRROW_XP {
2360 fn clone(&self) -> Self {
2361 *self
2362 }
2363 }
2364 #[repr(C)]
2365 pub struct MIB_IPADDRTABLE {
2366 pub dwNumEntries: u32,
2367 pub table: [MIB_IPADDRROW_XP; 1],
2368 }
2369 impl ::core::marker::Copy for MIB_IPADDRTABLE {}
2370 impl ::core::clone::Clone for MIB_IPADDRTABLE {
2371 fn clone(&self) -> Self {
2372 *self
2373 }
2374 }
2375 #[repr(C)]
2376 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
2377 #[cfg(feature = "Win32_Networking_WinSock")]
2378 pub struct MIB_IPDESTROW {
2379 pub ForwardRow: MIB_IPFORWARDROW,
2380 pub dwForwardPreference: u32,
2381 pub dwForwardViewSet: u32,
2382 }
2383 #[cfg(feature = "Win32_Networking_WinSock")]
2384 impl ::core::marker::Copy for MIB_IPDESTROW {}
2385 #[cfg(feature = "Win32_Networking_WinSock")]
2386 impl ::core::clone::Clone for MIB_IPDESTROW {
2387 fn clone(&self) -> Self {
2388 *self
2389 }
2390 }
2391 #[repr(C)]
2392 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
2393 #[cfg(feature = "Win32_Networking_WinSock")]
2394 pub struct MIB_IPDESTTABLE {
2395 pub dwNumEntries: u32,
2396 pub table: [MIB_IPDESTROW; 1],
2397 }
2398 #[cfg(feature = "Win32_Networking_WinSock")]
2399 impl ::core::marker::Copy for MIB_IPDESTTABLE {}
2400 #[cfg(feature = "Win32_Networking_WinSock")]
2401 impl ::core::clone::Clone for MIB_IPDESTTABLE {
2402 fn clone(&self) -> Self {
2403 *self
2404 }
2405 }
2406 #[repr(C)]
2407 pub struct MIB_IPFORWARDNUMBER {
2408 pub dwValue: u32,
2409 }
2410 impl ::core::marker::Copy for MIB_IPFORWARDNUMBER {}
2411 impl ::core::clone::Clone for MIB_IPFORWARDNUMBER {
2412 fn clone(&self) -> Self {
2413 *self
2414 }
2415 }
2416 #[repr(C)]
2417 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
2418 #[cfg(feature = "Win32_Networking_WinSock")]
2419 pub struct MIB_IPFORWARDROW {
2420 pub dwForwardDest: u32,
2421 pub dwForwardMask: u32,
2422 pub dwForwardPolicy: u32,
2423 pub dwForwardNextHop: u32,
2424 pub dwForwardIfIndex: u32,
2425 pub Anonymous1: MIB_IPFORWARDROW_0,
2426 pub Anonymous2: MIB_IPFORWARDROW_1,
2427 pub dwForwardAge: u32,
2428 pub dwForwardNextHopAS: u32,
2429 pub dwForwardMetric1: u32,
2430 pub dwForwardMetric2: u32,
2431 pub dwForwardMetric3: u32,
2432 pub dwForwardMetric4: u32,
2433 pub dwForwardMetric5: u32,
2434 }
2435 #[cfg(feature = "Win32_Networking_WinSock")]
2436 impl ::core::marker::Copy for MIB_IPFORWARDROW {}
2437 #[cfg(feature = "Win32_Networking_WinSock")]
2438 impl ::core::clone::Clone for MIB_IPFORWARDROW {
2439 fn clone(&self) -> Self {
2440 *self
2441 }
2442 }
2443 #[repr(C)]
2444 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
2445 #[cfg(feature = "Win32_Networking_WinSock")]
2446 pub union MIB_IPFORWARDROW_0 {
2447 pub dwForwardType: u32,
2448 pub ForwardType: MIB_IPFORWARD_TYPE,
2449 }
2450 #[cfg(feature = "Win32_Networking_WinSock")]
2451 impl ::core::marker::Copy for MIB_IPFORWARDROW_0 {}
2452 #[cfg(feature = "Win32_Networking_WinSock")]
2453 impl ::core::clone::Clone for MIB_IPFORWARDROW_0 {
2454 fn clone(&self) -> Self {
2455 *self
2456 }
2457 }
2458 #[repr(C)]
2459 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
2460 #[cfg(feature = "Win32_Networking_WinSock")]
2461 pub union MIB_IPFORWARDROW_1 {
2462 pub dwForwardProto: u32,
2463 pub ForwardProto: super::super::Networking::WinSock::NL_ROUTE_PROTOCOL,
2464 }
2465 #[cfg(feature = "Win32_Networking_WinSock")]
2466 impl ::core::marker::Copy for MIB_IPFORWARDROW_1 {}
2467 #[cfg(feature = "Win32_Networking_WinSock")]
2468 impl ::core::clone::Clone for MIB_IPFORWARDROW_1 {
2469 fn clone(&self) -> Self {
2470 *self
2471 }
2472 }
2473 #[repr(C)]
2474 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
2475 #[cfg(feature = "Win32_Networking_WinSock")]
2476 pub struct MIB_IPFORWARDTABLE {
2477 pub dwNumEntries: u32,
2478 pub table: [MIB_IPFORWARDROW; 1],
2479 }
2480 #[cfg(feature = "Win32_Networking_WinSock")]
2481 impl ::core::marker::Copy for MIB_IPFORWARDTABLE {}
2482 #[cfg(feature = "Win32_Networking_WinSock")]
2483 impl ::core::clone::Clone for MIB_IPFORWARDTABLE {
2484 fn clone(&self) -> Self {
2485 *self
2486 }
2487 }
2488 #[repr(C)]
2489 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2490 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2491 pub struct MIB_IPFORWARD_ROW2 {
2492 pub InterfaceLuid: super::Ndis::NET_LUID_LH,
2493 pub InterfaceIndex: u32,
2494 pub DestinationPrefix: IP_ADDRESS_PREFIX,
2495 pub NextHop: super::super::Networking::WinSock::SOCKADDR_INET,
2496 pub SitePrefixLength: u8,
2497 pub ValidLifetime: u32,
2498 pub PreferredLifetime: u32,
2499 pub Metric: u32,
2500 pub Protocol: super::super::Networking::WinSock::NL_ROUTE_PROTOCOL,
2501 pub Loopback: super::super::Foundation::BOOLEAN,
2502 pub AutoconfigureAddress: super::super::Foundation::BOOLEAN,
2503 pub Publish: super::super::Foundation::BOOLEAN,
2504 pub Immortal: super::super::Foundation::BOOLEAN,
2505 pub Age: u32,
2506 pub Origin: super::super::Networking::WinSock::NL_ROUTE_ORIGIN,
2507 }
2508 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2509 impl ::core::marker::Copy for MIB_IPFORWARD_ROW2 {}
2510 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2511 impl ::core::clone::Clone for MIB_IPFORWARD_ROW2 {
2512 fn clone(&self) -> Self {
2513 *self
2514 }
2515 }
2516 #[repr(C)]
2517 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2518 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2519 pub struct MIB_IPFORWARD_TABLE2 {
2520 pub NumEntries: u32,
2521 pub Table: [MIB_IPFORWARD_ROW2; 1],
2522 }
2523 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2524 impl ::core::marker::Copy for MIB_IPFORWARD_TABLE2 {}
2525 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2526 impl ::core::clone::Clone for MIB_IPFORWARD_TABLE2 {
2527 fn clone(&self) -> Self {
2528 *self
2529 }
2530 }
2531 #[repr(C)]
2532 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2533 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2534 pub struct MIB_IPINTERFACE_ROW {
2535 pub Family: super::super::Networking::WinSock::ADDRESS_FAMILY,
2536 pub InterfaceLuid: super::Ndis::NET_LUID_LH,
2537 pub InterfaceIndex: u32,
2538 pub MaxReassemblySize: u32,
2539 pub InterfaceIdentifier: u64,
2540 pub MinRouterAdvertisementInterval: u32,
2541 pub MaxRouterAdvertisementInterval: u32,
2542 pub AdvertisingEnabled: super::super::Foundation::BOOLEAN,
2543 pub ForwardingEnabled: super::super::Foundation::BOOLEAN,
2544 pub WeakHostSend: super::super::Foundation::BOOLEAN,
2545 pub WeakHostReceive: super::super::Foundation::BOOLEAN,
2546 pub UseAutomaticMetric: super::super::Foundation::BOOLEAN,
2547 pub UseNeighborUnreachabilityDetection: super::super::Foundation::BOOLEAN,
2548 pub ManagedAddressConfigurationSupported: super::super::Foundation::BOOLEAN,
2549 pub OtherStatefulConfigurationSupported: super::super::Foundation::BOOLEAN,
2550 pub AdvertiseDefaultRoute: super::super::Foundation::BOOLEAN,
2551 pub RouterDiscoveryBehavior: super::super::Networking::WinSock::NL_ROUTER_DISCOVERY_BEHAVIOR,
2552 pub DadTransmits: u32,
2553 pub BaseReachableTime: u32,
2554 pub RetransmitTime: u32,
2555 pub PathMtuDiscoveryTimeout: u32,
2556 pub LinkLocalAddressBehavior: super::super::Networking::WinSock::NL_LINK_LOCAL_ADDRESS_BEHAVIOR,
2557 pub LinkLocalAddressTimeout: u32,
2558 pub ZoneIndices: [u32; 16],
2559 pub SitePrefixLength: u32,
2560 pub Metric: u32,
2561 pub NlMtu: u32,
2562 pub Connected: super::super::Foundation::BOOLEAN,
2563 pub SupportsWakeUpPatterns: super::super::Foundation::BOOLEAN,
2564 pub SupportsNeighborDiscovery: super::super::Foundation::BOOLEAN,
2565 pub SupportsRouterDiscovery: super::super::Foundation::BOOLEAN,
2566 pub ReachableTime: u32,
2567 pub TransmitOffload: super::super::Networking::WinSock::NL_INTERFACE_OFFLOAD_ROD,
2568 pub ReceiveOffload: super::super::Networking::WinSock::NL_INTERFACE_OFFLOAD_ROD,
2569 pub DisableDefaultRoutes: super::super::Foundation::BOOLEAN,
2570 }
2571 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2572 impl ::core::marker::Copy for MIB_IPINTERFACE_ROW {}
2573 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2574 impl ::core::clone::Clone for MIB_IPINTERFACE_ROW {
2575 fn clone(&self) -> Self {
2576 *self
2577 }
2578 }
2579 #[repr(C)]
2580 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2581 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2582 pub struct MIB_IPINTERFACE_TABLE {
2583 pub NumEntries: u32,
2584 pub Table: [MIB_IPINTERFACE_ROW; 1],
2585 }
2586 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2587 impl ::core::marker::Copy for MIB_IPINTERFACE_TABLE {}
2588 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2589 impl ::core::clone::Clone for MIB_IPINTERFACE_TABLE {
2590 fn clone(&self) -> Self {
2591 *self
2592 }
2593 }
2594 #[repr(C)]
2595 pub struct MIB_IPMCAST_BOUNDARY {
2596 pub dwIfIndex: u32,
2597 pub dwGroupAddress: u32,
2598 pub dwGroupMask: u32,
2599 pub dwStatus: u32,
2600 }
2601 impl ::core::marker::Copy for MIB_IPMCAST_BOUNDARY {}
2602 impl ::core::clone::Clone for MIB_IPMCAST_BOUNDARY {
2603 fn clone(&self) -> Self {
2604 *self
2605 }
2606 }
2607 #[repr(C)]
2608 pub struct MIB_IPMCAST_BOUNDARY_TABLE {
2609 pub dwNumEntries: u32,
2610 pub table: [MIB_IPMCAST_BOUNDARY; 1],
2611 }
2612 impl ::core::marker::Copy for MIB_IPMCAST_BOUNDARY_TABLE {}
2613 impl ::core::clone::Clone for MIB_IPMCAST_BOUNDARY_TABLE {
2614 fn clone(&self) -> Self {
2615 *self
2616 }
2617 }
2618 #[repr(C)]
2619 pub struct MIB_IPMCAST_GLOBAL {
2620 pub dwEnable: u32,
2621 }
2622 impl ::core::marker::Copy for MIB_IPMCAST_GLOBAL {}
2623 impl ::core::clone::Clone for MIB_IPMCAST_GLOBAL {
2624 fn clone(&self) -> Self {
2625 *self
2626 }
2627 }
2628 #[repr(C)]
2629 pub struct MIB_IPMCAST_IF_ENTRY {
2630 pub dwIfIndex: u32,
2631 pub dwTtl: u32,
2632 pub dwProtocol: u32,
2633 pub dwRateLimit: u32,
2634 pub ulInMcastOctets: u32,
2635 pub ulOutMcastOctets: u32,
2636 }
2637 impl ::core::marker::Copy for MIB_IPMCAST_IF_ENTRY {}
2638 impl ::core::clone::Clone for MIB_IPMCAST_IF_ENTRY {
2639 fn clone(&self) -> Self {
2640 *self
2641 }
2642 }
2643 #[repr(C)]
2644 pub struct MIB_IPMCAST_IF_TABLE {
2645 pub dwNumEntries: u32,
2646 pub table: [MIB_IPMCAST_IF_ENTRY; 1],
2647 }
2648 impl ::core::marker::Copy for MIB_IPMCAST_IF_TABLE {}
2649 impl ::core::clone::Clone for MIB_IPMCAST_IF_TABLE {
2650 fn clone(&self) -> Self {
2651 *self
2652 }
2653 }
2654 #[repr(C)]
2655 pub struct MIB_IPMCAST_MFE {
2656 pub dwGroup: u32,
2657 pub dwSource: u32,
2658 pub dwSrcMask: u32,
2659 pub dwUpStrmNgbr: u32,
2660 pub dwInIfIndex: u32,
2661 pub dwInIfProtocol: u32,
2662 pub dwRouteProtocol: u32,
2663 pub dwRouteNetwork: u32,
2664 pub dwRouteMask: u32,
2665 pub ulUpTime: u32,
2666 pub ulExpiryTime: u32,
2667 pub ulTimeOut: u32,
2668 pub ulNumOutIf: u32,
2669 pub fFlags: u32,
2670 pub dwReserved: u32,
2671 pub rgmioOutInfo: [MIB_IPMCAST_OIF_XP; 1],
2672 }
2673 impl ::core::marker::Copy for MIB_IPMCAST_MFE {}
2674 impl ::core::clone::Clone for MIB_IPMCAST_MFE {
2675 fn clone(&self) -> Self {
2676 *self
2677 }
2678 }
2679 #[repr(C)]
2680 pub struct MIB_IPMCAST_MFE_STATS {
2681 pub dwGroup: u32,
2682 pub dwSource: u32,
2683 pub dwSrcMask: u32,
2684 pub dwUpStrmNgbr: u32,
2685 pub dwInIfIndex: u32,
2686 pub dwInIfProtocol: u32,
2687 pub dwRouteProtocol: u32,
2688 pub dwRouteNetwork: u32,
2689 pub dwRouteMask: u32,
2690 pub ulUpTime: u32,
2691 pub ulExpiryTime: u32,
2692 pub ulNumOutIf: u32,
2693 pub ulInPkts: u32,
2694 pub ulInOctets: u32,
2695 pub ulPktsDifferentIf: u32,
2696 pub ulQueueOverflow: u32,
2697 pub rgmiosOutStats: [MIB_IPMCAST_OIF_STATS_LH; 1],
2698 }
2699 impl ::core::marker::Copy for MIB_IPMCAST_MFE_STATS {}
2700 impl ::core::clone::Clone for MIB_IPMCAST_MFE_STATS {
2701 fn clone(&self) -> Self {
2702 *self
2703 }
2704 }
2705 #[repr(C)]
2706 pub struct MIB_IPMCAST_MFE_STATS_EX_XP {
2707 pub dwGroup: u32,
2708 pub dwSource: u32,
2709 pub dwSrcMask: u32,
2710 pub dwUpStrmNgbr: u32,
2711 pub dwInIfIndex: u32,
2712 pub dwInIfProtocol: u32,
2713 pub dwRouteProtocol: u32,
2714 pub dwRouteNetwork: u32,
2715 pub dwRouteMask: u32,
2716 pub ulUpTime: u32,
2717 pub ulExpiryTime: u32,
2718 pub ulNumOutIf: u32,
2719 pub ulInPkts: u32,
2720 pub ulInOctets: u32,
2721 pub ulPktsDifferentIf: u32,
2722 pub ulQueueOverflow: u32,
2723 pub ulUninitMfe: u32,
2724 pub ulNegativeMfe: u32,
2725 pub ulInDiscards: u32,
2726 pub ulInHdrErrors: u32,
2727 pub ulTotalOutPackets: u32,
2728 pub rgmiosOutStats: [MIB_IPMCAST_OIF_STATS_LH; 1],
2729 }
2730 impl ::core::marker::Copy for MIB_IPMCAST_MFE_STATS_EX_XP {}
2731 impl ::core::clone::Clone for MIB_IPMCAST_MFE_STATS_EX_XP {
2732 fn clone(&self) -> Self {
2733 *self
2734 }
2735 }
2736 #[repr(C)]
2737 pub struct MIB_IPMCAST_OIF_STATS_LH {
2738 pub dwOutIfIndex: u32,
2739 pub dwNextHopAddr: u32,
2740 pub dwDialContext: u32,
2741 pub ulTtlTooLow: u32,
2742 pub ulFragNeeded: u32,
2743 pub ulOutPackets: u32,
2744 pub ulOutDiscards: u32,
2745 }
2746 impl ::core::marker::Copy for MIB_IPMCAST_OIF_STATS_LH {}
2747 impl ::core::clone::Clone for MIB_IPMCAST_OIF_STATS_LH {
2748 fn clone(&self) -> Self {
2749 *self
2750 }
2751 }
2752 #[repr(C)]
2753 pub struct MIB_IPMCAST_OIF_STATS_W2K {
2754 pub dwOutIfIndex: u32,
2755 pub dwNextHopAddr: u32,
2756 pub pvDialContext: *mut ::core::ffi::c_void,
2757 pub ulTtlTooLow: u32,
2758 pub ulFragNeeded: u32,
2759 pub ulOutPackets: u32,
2760 pub ulOutDiscards: u32,
2761 }
2762 impl ::core::marker::Copy for MIB_IPMCAST_OIF_STATS_W2K {}
2763 impl ::core::clone::Clone for MIB_IPMCAST_OIF_STATS_W2K {
2764 fn clone(&self) -> Self {
2765 *self
2766 }
2767 }
2768 #[repr(C)]
2769 pub struct MIB_IPMCAST_OIF_W2K {
2770 pub dwOutIfIndex: u32,
2771 pub dwNextHopAddr: u32,
2772 pub pvReserved: *mut ::core::ffi::c_void,
2773 pub dwReserved: u32,
2774 }
2775 impl ::core::marker::Copy for MIB_IPMCAST_OIF_W2K {}
2776 impl ::core::clone::Clone for MIB_IPMCAST_OIF_W2K {
2777 fn clone(&self) -> Self {
2778 *self
2779 }
2780 }
2781 #[repr(C)]
2782 pub struct MIB_IPMCAST_OIF_XP {
2783 pub dwOutIfIndex: u32,
2784 pub dwNextHopAddr: u32,
2785 pub dwReserved: u32,
2786 pub dwReserved1: u32,
2787 }
2788 impl ::core::marker::Copy for MIB_IPMCAST_OIF_XP {}
2789 impl ::core::clone::Clone for MIB_IPMCAST_OIF_XP {
2790 fn clone(&self) -> Self {
2791 *self
2792 }
2793 }
2794 #[repr(C)]
2795 pub struct MIB_IPMCAST_SCOPE {
2796 pub dwGroupAddress: u32,
2797 pub dwGroupMask: u32,
2798 pub snNameBuffer: [u16; 256],
2799 pub dwStatus: u32,
2800 }
2801 impl ::core::marker::Copy for MIB_IPMCAST_SCOPE {}
2802 impl ::core::clone::Clone for MIB_IPMCAST_SCOPE {
2803 fn clone(&self) -> Self {
2804 *self
2805 }
2806 }
2807 #[repr(C)]
2808 pub struct MIB_IPNETROW_LH {
2809 pub dwIndex: u32,
2810 pub dwPhysAddrLen: u32,
2811 pub bPhysAddr: [u8; 8],
2812 pub dwAddr: u32,
2813 pub Anonymous: MIB_IPNETROW_LH_0,
2814 }
2815 impl ::core::marker::Copy for MIB_IPNETROW_LH {}
2816 impl ::core::clone::Clone for MIB_IPNETROW_LH {
2817 fn clone(&self) -> Self {
2818 *self
2819 }
2820 }
2821 #[repr(C)]
2822 pub union MIB_IPNETROW_LH_0 {
2823 pub dwType: u32,
2824 pub Type: MIB_IPNET_TYPE,
2825 }
2826 impl ::core::marker::Copy for MIB_IPNETROW_LH_0 {}
2827 impl ::core::clone::Clone for MIB_IPNETROW_LH_0 {
2828 fn clone(&self) -> Self {
2829 *self
2830 }
2831 }
2832 #[repr(C)]
2833 pub struct MIB_IPNETROW_W2K {
2834 pub dwIndex: u32,
2835 pub dwPhysAddrLen: u32,
2836 pub bPhysAddr: [u8; 8],
2837 pub dwAddr: u32,
2838 pub dwType: u32,
2839 }
2840 impl ::core::marker::Copy for MIB_IPNETROW_W2K {}
2841 impl ::core::clone::Clone for MIB_IPNETROW_W2K {
2842 fn clone(&self) -> Self {
2843 *self
2844 }
2845 }
2846 #[repr(C)]
2847 pub struct MIB_IPNETTABLE {
2848 pub dwNumEntries: u32,
2849 pub table: [MIB_IPNETROW_LH; 1],
2850 }
2851 impl ::core::marker::Copy for MIB_IPNETTABLE {}
2852 impl ::core::clone::Clone for MIB_IPNETTABLE {
2853 fn clone(&self) -> Self {
2854 *self
2855 }
2856 }
2857 #[repr(C)]
2858 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2859 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2860 pub struct MIB_IPNET_ROW2 {
2861 pub Address: super::super::Networking::WinSock::SOCKADDR_INET,
2862 pub InterfaceIndex: u32,
2863 pub InterfaceLuid: super::Ndis::NET_LUID_LH,
2864 pub PhysicalAddress: [u8; 32],
2865 pub PhysicalAddressLength: u32,
2866 pub State: super::super::Networking::WinSock::NL_NEIGHBOR_STATE,
2867 pub Anonymous: MIB_IPNET_ROW2_0,
2868 pub ReachabilityTime: MIB_IPNET_ROW2_1,
2869 }
2870 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2871 impl ::core::marker::Copy for MIB_IPNET_ROW2 {}
2872 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2873 impl ::core::clone::Clone for MIB_IPNET_ROW2 {
2874 fn clone(&self) -> Self {
2875 *self
2876 }
2877 }
2878 #[repr(C)]
2879 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2880 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2881 pub union MIB_IPNET_ROW2_0 {
2882 pub Anonymous: MIB_IPNET_ROW2_0_0,
2883 pub Flags: u8,
2884 }
2885 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2886 impl ::core::marker::Copy for MIB_IPNET_ROW2_0 {}
2887 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2888 impl ::core::clone::Clone for MIB_IPNET_ROW2_0 {
2889 fn clone(&self) -> Self {
2890 *self
2891 }
2892 }
2893 #[repr(C)]
2894 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2895 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2896 pub struct MIB_IPNET_ROW2_0_0 {
2897 pub _bitfield: u8,
2898 }
2899 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2900 impl ::core::marker::Copy for MIB_IPNET_ROW2_0_0 {}
2901 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2902 impl ::core::clone::Clone for MIB_IPNET_ROW2_0_0 {
2903 fn clone(&self) -> Self {
2904 *self
2905 }
2906 }
2907 #[repr(C)]
2908 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2909 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2910 pub union MIB_IPNET_ROW2_1 {
2911 pub LastReachable: u32,
2912 pub LastUnreachable: u32,
2913 }
2914 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2915 impl ::core::marker::Copy for MIB_IPNET_ROW2_1 {}
2916 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2917 impl ::core::clone::Clone for MIB_IPNET_ROW2_1 {
2918 fn clone(&self) -> Self {
2919 *self
2920 }
2921 }
2922 #[repr(C)]
2923 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2924 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2925 pub struct MIB_IPNET_TABLE2 {
2926 pub NumEntries: u32,
2927 pub Table: [MIB_IPNET_ROW2; 1],
2928 }
2929 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2930 impl ::core::marker::Copy for MIB_IPNET_TABLE2 {}
2931 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2932 impl ::core::clone::Clone for MIB_IPNET_TABLE2 {
2933 fn clone(&self) -> Self {
2934 *self
2935 }
2936 }
2937 #[repr(C)]
2938 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2939 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2940 pub struct MIB_IPPATH_ROW {
2941 pub Source: super::super::Networking::WinSock::SOCKADDR_INET,
2942 pub Destination: super::super::Networking::WinSock::SOCKADDR_INET,
2943 pub InterfaceLuid: super::Ndis::NET_LUID_LH,
2944 pub InterfaceIndex: u32,
2945 pub CurrentNextHop: super::super::Networking::WinSock::SOCKADDR_INET,
2946 pub PathMtu: u32,
2947 pub RttMean: u32,
2948 pub RttDeviation: u32,
2949 pub Anonymous: MIB_IPPATH_ROW_0,
2950 pub IsReachable: super::super::Foundation::BOOLEAN,
2951 pub LinkTransmitSpeed: u64,
2952 pub LinkReceiveSpeed: u64,
2953 }
2954 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2955 impl ::core::marker::Copy for MIB_IPPATH_ROW {}
2956 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2957 impl ::core::clone::Clone for MIB_IPPATH_ROW {
2958 fn clone(&self) -> Self {
2959 *self
2960 }
2961 }
2962 #[repr(C)]
2963 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2964 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2965 pub union MIB_IPPATH_ROW_0 {
2966 pub LastReachable: u32,
2967 pub LastUnreachable: u32,
2968 }
2969 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2970 impl ::core::marker::Copy for MIB_IPPATH_ROW_0 {}
2971 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2972 impl ::core::clone::Clone for MIB_IPPATH_ROW_0 {
2973 fn clone(&self) -> Self {
2974 *self
2975 }
2976 }
2977 #[repr(C)]
2978 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
2979 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2980 pub struct MIB_IPPATH_TABLE {
2981 pub NumEntries: u32,
2982 pub Table: [MIB_IPPATH_ROW; 1],
2983 }
2984 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2985 impl ::core::marker::Copy for MIB_IPPATH_TABLE {}
2986 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
2987 impl ::core::clone::Clone for MIB_IPPATH_TABLE {
2988 fn clone(&self) -> Self {
2989 *self
2990 }
2991 }
2992 #[repr(C)]
2993 pub struct MIB_IPSTATS_LH {
2994 pub Anonymous: MIB_IPSTATS_LH_0,
2995 pub dwDefaultTTL: u32,
2996 pub dwInReceives: u32,
2997 pub dwInHdrErrors: u32,
2998 pub dwInAddrErrors: u32,
2999 pub dwForwDatagrams: u32,
3000 pub dwInUnknownProtos: u32,
3001 pub dwInDiscards: u32,
3002 pub dwInDelivers: u32,
3003 pub dwOutRequests: u32,
3004 pub dwRoutingDiscards: u32,
3005 pub dwOutDiscards: u32,
3006 pub dwOutNoRoutes: u32,
3007 pub dwReasmTimeout: u32,
3008 pub dwReasmReqds: u32,
3009 pub dwReasmOks: u32,
3010 pub dwReasmFails: u32,
3011 pub dwFragOks: u32,
3012 pub dwFragFails: u32,
3013 pub dwFragCreates: u32,
3014 pub dwNumIf: u32,
3015 pub dwNumAddr: u32,
3016 pub dwNumRoutes: u32,
3017 }
3018 impl ::core::marker::Copy for MIB_IPSTATS_LH {}
3019 impl ::core::clone::Clone for MIB_IPSTATS_LH {
3020 fn clone(&self) -> Self {
3021 *self
3022 }
3023 }
3024 #[repr(C)]
3025 pub union MIB_IPSTATS_LH_0 {
3026 pub dwForwarding: u32,
3027 pub Forwarding: MIB_IPSTATS_FORWARDING,
3028 }
3029 impl ::core::marker::Copy for MIB_IPSTATS_LH_0 {}
3030 impl ::core::clone::Clone for MIB_IPSTATS_LH_0 {
3031 fn clone(&self) -> Self {
3032 *self
3033 }
3034 }
3035 #[repr(C)]
3036 pub struct MIB_IPSTATS_W2K {
3037 pub dwForwarding: u32,
3038 pub dwDefaultTTL: u32,
3039 pub dwInReceives: u32,
3040 pub dwInHdrErrors: u32,
3041 pub dwInAddrErrors: u32,
3042 pub dwForwDatagrams: u32,
3043 pub dwInUnknownProtos: u32,
3044 pub dwInDiscards: u32,
3045 pub dwInDelivers: u32,
3046 pub dwOutRequests: u32,
3047 pub dwRoutingDiscards: u32,
3048 pub dwOutDiscards: u32,
3049 pub dwOutNoRoutes: u32,
3050 pub dwReasmTimeout: u32,
3051 pub dwReasmReqds: u32,
3052 pub dwReasmOks: u32,
3053 pub dwReasmFails: u32,
3054 pub dwFragOks: u32,
3055 pub dwFragFails: u32,
3056 pub dwFragCreates: u32,
3057 pub dwNumIf: u32,
3058 pub dwNumAddr: u32,
3059 pub dwNumRoutes: u32,
3060 }
3061 impl ::core::marker::Copy for MIB_IPSTATS_W2K {}
3062 impl ::core::clone::Clone for MIB_IPSTATS_W2K {
3063 fn clone(&self) -> Self {
3064 *self
3065 }
3066 }
3067 #[repr(C)]
3068 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
3069 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3070 pub struct MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES {
3071 pub InboundBandwidthInformation: super::super::Networking::WinSock::NL_BANDWIDTH_INFORMATION,
3072 pub OutboundBandwidthInformation: super::super::Networking::WinSock::NL_BANDWIDTH_INFORMATION,
3073 }
3074 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3075 impl ::core::marker::Copy for MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES {}
3076 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3077 impl ::core::clone::Clone for MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES {
3078 fn clone(&self) -> Self {
3079 *self
3080 }
3081 }
3082 #[repr(C)]
3083 pub struct MIB_MCAST_LIMIT_ROW {
3084 pub dwTtl: u32,
3085 pub dwRateLimit: u32,
3086 }
3087 impl ::core::marker::Copy for MIB_MCAST_LIMIT_ROW {}
3088 impl ::core::clone::Clone for MIB_MCAST_LIMIT_ROW {
3089 fn clone(&self) -> Self {
3090 *self
3091 }
3092 }
3093 #[repr(C)]
3094 pub struct MIB_MFE_STATS_TABLE {
3095 pub dwNumEntries: u32,
3096 pub table: [MIB_IPMCAST_MFE_STATS; 1],
3097 }
3098 impl ::core::marker::Copy for MIB_MFE_STATS_TABLE {}
3099 impl ::core::clone::Clone for MIB_MFE_STATS_TABLE {
3100 fn clone(&self) -> Self {
3101 *self
3102 }
3103 }
3104 #[repr(C)]
3105 pub struct MIB_MFE_STATS_TABLE_EX_XP {
3106 pub dwNumEntries: u32,
3107 pub table: [*mut MIB_IPMCAST_MFE_STATS_EX_XP; 1],
3108 }
3109 impl ::core::marker::Copy for MIB_MFE_STATS_TABLE_EX_XP {}
3110 impl ::core::clone::Clone for MIB_MFE_STATS_TABLE_EX_XP {
3111 fn clone(&self) -> Self {
3112 *self
3113 }
3114 }
3115 #[repr(C)]
3116 pub struct MIB_MFE_TABLE {
3117 pub dwNumEntries: u32,
3118 pub table: [MIB_IPMCAST_MFE; 1],
3119 }
3120 impl ::core::marker::Copy for MIB_MFE_TABLE {}
3121 impl ::core::clone::Clone for MIB_MFE_TABLE {
3122 fn clone(&self) -> Self {
3123 *self
3124 }
3125 }
3126 #[repr(C)]
3127 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
3128 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3129 pub struct MIB_MULTICASTIPADDRESS_ROW {
3130 pub Address: super::super::Networking::WinSock::SOCKADDR_INET,
3131 pub InterfaceIndex: u32,
3132 pub InterfaceLuid: super::Ndis::NET_LUID_LH,
3133 pub ScopeId: super::super::Networking::WinSock::SCOPE_ID,
3134 }
3135 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3136 impl ::core::marker::Copy for MIB_MULTICASTIPADDRESS_ROW {}
3137 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3138 impl ::core::clone::Clone for MIB_MULTICASTIPADDRESS_ROW {
3139 fn clone(&self) -> Self {
3140 *self
3141 }
3142 }
3143 #[repr(C)]
3144 #[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
3145 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3146 pub struct MIB_MULTICASTIPADDRESS_TABLE {
3147 pub NumEntries: u32,
3148 pub Table: [MIB_MULTICASTIPADDRESS_ROW; 1],
3149 }
3150 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3151 impl ::core::marker::Copy for MIB_MULTICASTIPADDRESS_TABLE {}
3152 #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3153 impl ::core::clone::Clone for MIB_MULTICASTIPADDRESS_TABLE {
3154 fn clone(&self) -> Self {
3155 *self
3156 }
3157 }
3158 #[repr(C)]
3159 pub struct MIB_OPAQUE_INFO {
3160 pub dwId: u32,
3161 pub Anonymous: MIB_OPAQUE_INFO_0,
3162 }
3163 impl ::core::marker::Copy for MIB_OPAQUE_INFO {}
3164 impl ::core::clone::Clone for MIB_OPAQUE_INFO {
3165 fn clone(&self) -> Self {
3166 *self
3167 }
3168 }
3169 #[repr(C)]
3170 pub union MIB_OPAQUE_INFO_0 {
3171 pub ullAlign: u64,
3172 pub rgbyData: [u8; 1],
3173 }
3174 impl ::core::marker::Copy for MIB_OPAQUE_INFO_0 {}
3175 impl ::core::clone::Clone for MIB_OPAQUE_INFO_0 {
3176 fn clone(&self) -> Self {
3177 *self
3178 }
3179 }
3180 #[repr(C)]
3181 pub struct MIB_OPAQUE_QUERY {
3182 pub dwVarId: u32,
3183 pub rgdwVarIndex: [u32; 1],
3184 }
3185 impl ::core::marker::Copy for MIB_OPAQUE_QUERY {}
3186 impl ::core::clone::Clone for MIB_OPAQUE_QUERY {
3187 fn clone(&self) -> Self {
3188 *self
3189 }
3190 }
3191 #[repr(C)]
3192 pub struct MIB_PROXYARP {
3193 pub dwAddress: u32,
3194 pub dwMask: u32,
3195 pub dwIfIndex: u32,
3196 }
3197 impl ::core::marker::Copy for MIB_PROXYARP {}
3198 impl ::core::clone::Clone for MIB_PROXYARP {
3199 fn clone(&self) -> Self {
3200 *self
3201 }
3202 }
3203 #[repr(C)]
3204 #[doc = "Required features: `\"Win32_Foundation\"`"]
3205 #[cfg(feature = "Win32_Foundation")]
3206 pub struct MIB_ROUTESTATE {
3207 pub bRoutesSetToStack: super::super::Foundation::BOOL,
3208 }
3209 #[cfg(feature = "Win32_Foundation")]
3210 impl ::core::marker::Copy for MIB_ROUTESTATE {}
3211 #[cfg(feature = "Win32_Foundation")]
3212 impl ::core::clone::Clone for MIB_ROUTESTATE {
3213 fn clone(&self) -> Self {
3214 *self
3215 }
3216 }
3217 #[repr(C)]
3218 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3219 #[cfg(feature = "Win32_Networking_WinSock")]
3220 pub struct MIB_TCP6ROW {
3221 pub State: MIB_TCP_STATE,
3222 pub LocalAddr: super::super::Networking::WinSock::IN6_ADDR,
3223 pub dwLocalScopeId: u32,
3224 pub dwLocalPort: u32,
3225 pub RemoteAddr: super::super::Networking::WinSock::IN6_ADDR,
3226 pub dwRemoteScopeId: u32,
3227 pub dwRemotePort: u32,
3228 }
3229 #[cfg(feature = "Win32_Networking_WinSock")]
3230 impl ::core::marker::Copy for MIB_TCP6ROW {}
3231 #[cfg(feature = "Win32_Networking_WinSock")]
3232 impl ::core::clone::Clone for MIB_TCP6ROW {
3233 fn clone(&self) -> Self {
3234 *self
3235 }
3236 }
3237 #[repr(C)]
3238 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3239 #[cfg(feature = "Win32_Networking_WinSock")]
3240 pub struct MIB_TCP6ROW2 {
3241 pub LocalAddr: super::super::Networking::WinSock::IN6_ADDR,
3242 pub dwLocalScopeId: u32,
3243 pub dwLocalPort: u32,
3244 pub RemoteAddr: super::super::Networking::WinSock::IN6_ADDR,
3245 pub dwRemoteScopeId: u32,
3246 pub dwRemotePort: u32,
3247 pub State: MIB_TCP_STATE,
3248 pub dwOwningPid: u32,
3249 pub dwOffloadState: TCP_CONNECTION_OFFLOAD_STATE,
3250 }
3251 #[cfg(feature = "Win32_Networking_WinSock")]
3252 impl ::core::marker::Copy for MIB_TCP6ROW2 {}
3253 #[cfg(feature = "Win32_Networking_WinSock")]
3254 impl ::core::clone::Clone for MIB_TCP6ROW2 {
3255 fn clone(&self) -> Self {
3256 *self
3257 }
3258 }
3259 #[repr(C)]
3260 pub struct MIB_TCP6ROW_OWNER_MODULE {
3261 pub ucLocalAddr: [u8; 16],
3262 pub dwLocalScopeId: u32,
3263 pub dwLocalPort: u32,
3264 pub ucRemoteAddr: [u8; 16],
3265 pub dwRemoteScopeId: u32,
3266 pub dwRemotePort: u32,
3267 pub dwState: u32,
3268 pub dwOwningPid: u32,
3269 pub liCreateTimestamp: i64,
3270 pub OwningModuleInfo: [u64; 16],
3271 }
3272 impl ::core::marker::Copy for MIB_TCP6ROW_OWNER_MODULE {}
3273 impl ::core::clone::Clone for MIB_TCP6ROW_OWNER_MODULE {
3274 fn clone(&self) -> Self {
3275 *self
3276 }
3277 }
3278 #[repr(C)]
3279 pub struct MIB_TCP6ROW_OWNER_PID {
3280 pub ucLocalAddr: [u8; 16],
3281 pub dwLocalScopeId: u32,
3282 pub dwLocalPort: u32,
3283 pub ucRemoteAddr: [u8; 16],
3284 pub dwRemoteScopeId: u32,
3285 pub dwRemotePort: u32,
3286 pub dwState: u32,
3287 pub dwOwningPid: u32,
3288 }
3289 impl ::core::marker::Copy for MIB_TCP6ROW_OWNER_PID {}
3290 impl ::core::clone::Clone for MIB_TCP6ROW_OWNER_PID {
3291 fn clone(&self) -> Self {
3292 *self
3293 }
3294 }
3295 #[repr(C)]
3296 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3297 #[cfg(feature = "Win32_Networking_WinSock")]
3298 pub struct MIB_TCP6TABLE {
3299 pub dwNumEntries: u32,
3300 pub table: [MIB_TCP6ROW; 1],
3301 }
3302 #[cfg(feature = "Win32_Networking_WinSock")]
3303 impl ::core::marker::Copy for MIB_TCP6TABLE {}
3304 #[cfg(feature = "Win32_Networking_WinSock")]
3305 impl ::core::clone::Clone for MIB_TCP6TABLE {
3306 fn clone(&self) -> Self {
3307 *self
3308 }
3309 }
3310 #[repr(C)]
3311 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3312 #[cfg(feature = "Win32_Networking_WinSock")]
3313 pub struct MIB_TCP6TABLE2 {
3314 pub dwNumEntries: u32,
3315 pub table: [MIB_TCP6ROW2; 1],
3316 }
3317 #[cfg(feature = "Win32_Networking_WinSock")]
3318 impl ::core::marker::Copy for MIB_TCP6TABLE2 {}
3319 #[cfg(feature = "Win32_Networking_WinSock")]
3320 impl ::core::clone::Clone for MIB_TCP6TABLE2 {
3321 fn clone(&self) -> Self {
3322 *self
3323 }
3324 }
3325 #[repr(C)]
3326 pub struct MIB_TCP6TABLE_OWNER_MODULE {
3327 pub dwNumEntries: u32,
3328 pub table: [MIB_TCP6ROW_OWNER_MODULE; 1],
3329 }
3330 impl ::core::marker::Copy for MIB_TCP6TABLE_OWNER_MODULE {}
3331 impl ::core::clone::Clone for MIB_TCP6TABLE_OWNER_MODULE {
3332 fn clone(&self) -> Self {
3333 *self
3334 }
3335 }
3336 #[repr(C)]
3337 pub struct MIB_TCP6TABLE_OWNER_PID {
3338 pub dwNumEntries: u32,
3339 pub table: [MIB_TCP6ROW_OWNER_PID; 1],
3340 }
3341 impl ::core::marker::Copy for MIB_TCP6TABLE_OWNER_PID {}
3342 impl ::core::clone::Clone for MIB_TCP6TABLE_OWNER_PID {
3343 fn clone(&self) -> Self {
3344 *self
3345 }
3346 }
3347 #[repr(C)]
3348 pub struct MIB_TCPROW2 {
3349 pub dwState: u32,
3350 pub dwLocalAddr: u32,
3351 pub dwLocalPort: u32,
3352 pub dwRemoteAddr: u32,
3353 pub dwRemotePort: u32,
3354 pub dwOwningPid: u32,
3355 pub dwOffloadState: TCP_CONNECTION_OFFLOAD_STATE,
3356 }
3357 impl ::core::marker::Copy for MIB_TCPROW2 {}
3358 impl ::core::clone::Clone for MIB_TCPROW2 {
3359 fn clone(&self) -> Self {
3360 *self
3361 }
3362 }
3363 #[repr(C)]
3364 pub struct MIB_TCPROW_LH {
3365 pub Anonymous: MIB_TCPROW_LH_0,
3366 pub dwLocalAddr: u32,
3367 pub dwLocalPort: u32,
3368 pub dwRemoteAddr: u32,
3369 pub dwRemotePort: u32,
3370 }
3371 impl ::core::marker::Copy for MIB_TCPROW_LH {}
3372 impl ::core::clone::Clone for MIB_TCPROW_LH {
3373 fn clone(&self) -> Self {
3374 *self
3375 }
3376 }
3377 #[repr(C)]
3378 pub union MIB_TCPROW_LH_0 {
3379 pub dwState: u32,
3380 pub State: MIB_TCP_STATE,
3381 }
3382 impl ::core::marker::Copy for MIB_TCPROW_LH_0 {}
3383 impl ::core::clone::Clone for MIB_TCPROW_LH_0 {
3384 fn clone(&self) -> Self {
3385 *self
3386 }
3387 }
3388 #[repr(C)]
3389 pub struct MIB_TCPROW_OWNER_MODULE {
3390 pub dwState: u32,
3391 pub dwLocalAddr: u32,
3392 pub dwLocalPort: u32,
3393 pub dwRemoteAddr: u32,
3394 pub dwRemotePort: u32,
3395 pub dwOwningPid: u32,
3396 pub liCreateTimestamp: i64,
3397 pub OwningModuleInfo: [u64; 16],
3398 }
3399 impl ::core::marker::Copy for MIB_TCPROW_OWNER_MODULE {}
3400 impl ::core::clone::Clone for MIB_TCPROW_OWNER_MODULE {
3401 fn clone(&self) -> Self {
3402 *self
3403 }
3404 }
3405 #[repr(C)]
3406 pub struct MIB_TCPROW_OWNER_PID {
3407 pub dwState: u32,
3408 pub dwLocalAddr: u32,
3409 pub dwLocalPort: u32,
3410 pub dwRemoteAddr: u32,
3411 pub dwRemotePort: u32,
3412 pub dwOwningPid: u32,
3413 }
3414 impl ::core::marker::Copy for MIB_TCPROW_OWNER_PID {}
3415 impl ::core::clone::Clone for MIB_TCPROW_OWNER_PID {
3416 fn clone(&self) -> Self {
3417 *self
3418 }
3419 }
3420 #[repr(C)]
3421 pub struct MIB_TCPROW_W2K {
3422 pub dwState: u32,
3423 pub dwLocalAddr: u32,
3424 pub dwLocalPort: u32,
3425 pub dwRemoteAddr: u32,
3426 pub dwRemotePort: u32,
3427 }
3428 impl ::core::marker::Copy for MIB_TCPROW_W2K {}
3429 impl ::core::clone::Clone for MIB_TCPROW_W2K {
3430 fn clone(&self) -> Self {
3431 *self
3432 }
3433 }
3434 #[repr(C)]
3435 pub struct MIB_TCPSTATS2 {
3436 pub RtoAlgorithm: TCP_RTO_ALGORITHM,
3437 pub dwRtoMin: u32,
3438 pub dwRtoMax: u32,
3439 pub dwMaxConn: u32,
3440 pub dwActiveOpens: u32,
3441 pub dwPassiveOpens: u32,
3442 pub dwAttemptFails: u32,
3443 pub dwEstabResets: u32,
3444 pub dwCurrEstab: u32,
3445 pub dw64InSegs: u64,
3446 pub dw64OutSegs: u64,
3447 pub dwRetransSegs: u32,
3448 pub dwInErrs: u32,
3449 pub dwOutRsts: u32,
3450 pub dwNumConns: u32,
3451 }
3452 impl ::core::marker::Copy for MIB_TCPSTATS2 {}
3453 impl ::core::clone::Clone for MIB_TCPSTATS2 {
3454 fn clone(&self) -> Self {
3455 *self
3456 }
3457 }
3458 #[repr(C)]
3459 pub struct MIB_TCPSTATS_LH {
3460 pub Anonymous: MIB_TCPSTATS_LH_0,
3461 pub dwRtoMin: u32,
3462 pub dwRtoMax: u32,
3463 pub dwMaxConn: u32,
3464 pub dwActiveOpens: u32,
3465 pub dwPassiveOpens: u32,
3466 pub dwAttemptFails: u32,
3467 pub dwEstabResets: u32,
3468 pub dwCurrEstab: u32,
3469 pub dwInSegs: u32,
3470 pub dwOutSegs: u32,
3471 pub dwRetransSegs: u32,
3472 pub dwInErrs: u32,
3473 pub dwOutRsts: u32,
3474 pub dwNumConns: u32,
3475 }
3476 impl ::core::marker::Copy for MIB_TCPSTATS_LH {}
3477 impl ::core::clone::Clone for MIB_TCPSTATS_LH {
3478 fn clone(&self) -> Self {
3479 *self
3480 }
3481 }
3482 #[repr(C)]
3483 pub union MIB_TCPSTATS_LH_0 {
3484 pub dwRtoAlgorithm: u32,
3485 pub RtoAlgorithm: TCP_RTO_ALGORITHM,
3486 }
3487 impl ::core::marker::Copy for MIB_TCPSTATS_LH_0 {}
3488 impl ::core::clone::Clone for MIB_TCPSTATS_LH_0 {
3489 fn clone(&self) -> Self {
3490 *self
3491 }
3492 }
3493 #[repr(C)]
3494 pub struct MIB_TCPSTATS_W2K {
3495 pub dwRtoAlgorithm: u32,
3496 pub dwRtoMin: u32,
3497 pub dwRtoMax: u32,
3498 pub dwMaxConn: u32,
3499 pub dwActiveOpens: u32,
3500 pub dwPassiveOpens: u32,
3501 pub dwAttemptFails: u32,
3502 pub dwEstabResets: u32,
3503 pub dwCurrEstab: u32,
3504 pub dwInSegs: u32,
3505 pub dwOutSegs: u32,
3506 pub dwRetransSegs: u32,
3507 pub dwInErrs: u32,
3508 pub dwOutRsts: u32,
3509 pub dwNumConns: u32,
3510 }
3511 impl ::core::marker::Copy for MIB_TCPSTATS_W2K {}
3512 impl ::core::clone::Clone for MIB_TCPSTATS_W2K {
3513 fn clone(&self) -> Self {
3514 *self
3515 }
3516 }
3517 #[repr(C)]
3518 pub struct MIB_TCPTABLE {
3519 pub dwNumEntries: u32,
3520 pub table: [MIB_TCPROW_LH; 1],
3521 }
3522 impl ::core::marker::Copy for MIB_TCPTABLE {}
3523 impl ::core::clone::Clone for MIB_TCPTABLE {
3524 fn clone(&self) -> Self {
3525 *self
3526 }
3527 }
3528 #[repr(C)]
3529 pub struct MIB_TCPTABLE2 {
3530 pub dwNumEntries: u32,
3531 pub table: [MIB_TCPROW2; 1],
3532 }
3533 impl ::core::marker::Copy for MIB_TCPTABLE2 {}
3534 impl ::core::clone::Clone for MIB_TCPTABLE2 {
3535 fn clone(&self) -> Self {
3536 *self
3537 }
3538 }
3539 #[repr(C)]
3540 pub struct MIB_TCPTABLE_OWNER_MODULE {
3541 pub dwNumEntries: u32,
3542 pub table: [MIB_TCPROW_OWNER_MODULE; 1],
3543 }
3544 impl ::core::marker::Copy for MIB_TCPTABLE_OWNER_MODULE {}
3545 impl ::core::clone::Clone for MIB_TCPTABLE_OWNER_MODULE {
3546 fn clone(&self) -> Self {
3547 *self
3548 }
3549 }
3550 #[repr(C)]
3551 pub struct MIB_TCPTABLE_OWNER_PID {
3552 pub dwNumEntries: u32,
3553 pub table: [MIB_TCPROW_OWNER_PID; 1],
3554 }
3555 impl ::core::marker::Copy for MIB_TCPTABLE_OWNER_PID {}
3556 impl ::core::clone::Clone for MIB_TCPTABLE_OWNER_PID {
3557 fn clone(&self) -> Self {
3558 *self
3559 }
3560 }
3561 #[repr(C)]
3562 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3563 #[cfg(feature = "Win32_Networking_WinSock")]
3564 pub struct MIB_UDP6ROW {
3565 pub dwLocalAddr: super::super::Networking::WinSock::IN6_ADDR,
3566 pub dwLocalScopeId: u32,
3567 pub dwLocalPort: u32,
3568 }
3569 #[cfg(feature = "Win32_Networking_WinSock")]
3570 impl ::core::marker::Copy for MIB_UDP6ROW {}
3571 #[cfg(feature = "Win32_Networking_WinSock")]
3572 impl ::core::clone::Clone for MIB_UDP6ROW {
3573 fn clone(&self) -> Self {
3574 *self
3575 }
3576 }
3577 #[repr(C)]
3578 pub struct MIB_UDP6ROW2 {
3579 pub ucLocalAddr: [u8; 16],
3580 pub dwLocalScopeId: u32,
3581 pub dwLocalPort: u32,
3582 pub dwOwningPid: u32,
3583 pub liCreateTimestamp: i64,
3584 pub Anonymous: MIB_UDP6ROW2_0,
3585 pub OwningModuleInfo: [u64; 16],
3586 pub ucRemoteAddr: [u8; 16],
3587 pub dwRemoteScopeId: u32,
3588 pub dwRemotePort: u32,
3589 }
3590 impl ::core::marker::Copy for MIB_UDP6ROW2 {}
3591 impl ::core::clone::Clone for MIB_UDP6ROW2 {
3592 fn clone(&self) -> Self {
3593 *self
3594 }
3595 }
3596 #[repr(C)]
3597 pub union MIB_UDP6ROW2_0 {
3598 pub Anonymous: MIB_UDP6ROW2_0_0,
3599 pub dwFlags: i32,
3600 }
3601 impl ::core::marker::Copy for MIB_UDP6ROW2_0 {}
3602 impl ::core::clone::Clone for MIB_UDP6ROW2_0 {
3603 fn clone(&self) -> Self {
3604 *self
3605 }
3606 }
3607 #[repr(C)]
3608 pub struct MIB_UDP6ROW2_0_0 {
3609 pub _bitfield: i32,
3610 }
3611 impl ::core::marker::Copy for MIB_UDP6ROW2_0_0 {}
3612 impl ::core::clone::Clone for MIB_UDP6ROW2_0_0 {
3613 fn clone(&self) -> Self {
3614 *self
3615 }
3616 }
3617 #[repr(C)]
3618 pub struct MIB_UDP6ROW_OWNER_MODULE {
3619 pub ucLocalAddr: [u8; 16],
3620 pub dwLocalScopeId: u32,
3621 pub dwLocalPort: u32,
3622 pub dwOwningPid: u32,
3623 pub liCreateTimestamp: i64,
3624 pub Anonymous: MIB_UDP6ROW_OWNER_MODULE_0,
3625 pub OwningModuleInfo: [u64; 16],
3626 }
3627 impl ::core::marker::Copy for MIB_UDP6ROW_OWNER_MODULE {}
3628 impl ::core::clone::Clone for MIB_UDP6ROW_OWNER_MODULE {
3629 fn clone(&self) -> Self {
3630 *self
3631 }
3632 }
3633 #[repr(C)]
3634 pub union MIB_UDP6ROW_OWNER_MODULE_0 {
3635 pub Anonymous: MIB_UDP6ROW_OWNER_MODULE_0_0,
3636 pub dwFlags: i32,
3637 }
3638 impl ::core::marker::Copy for MIB_UDP6ROW_OWNER_MODULE_0 {}
3639 impl ::core::clone::Clone for MIB_UDP6ROW_OWNER_MODULE_0 {
3640 fn clone(&self) -> Self {
3641 *self
3642 }
3643 }
3644 #[repr(C)]
3645 pub struct MIB_UDP6ROW_OWNER_MODULE_0_0 {
3646 pub _bitfield: i32,
3647 }
3648 impl ::core::marker::Copy for MIB_UDP6ROW_OWNER_MODULE_0_0 {}
3649 impl ::core::clone::Clone for MIB_UDP6ROW_OWNER_MODULE_0_0 {
3650 fn clone(&self) -> Self {
3651 *self
3652 }
3653 }
3654 #[repr(C)]
3655 pub struct MIB_UDP6ROW_OWNER_PID {
3656 pub ucLocalAddr: [u8; 16],
3657 pub dwLocalScopeId: u32,
3658 pub dwLocalPort: u32,
3659 pub dwOwningPid: u32,
3660 }
3661 impl ::core::marker::Copy for MIB_UDP6ROW_OWNER_PID {}
3662 impl ::core::clone::Clone for MIB_UDP6ROW_OWNER_PID {
3663 fn clone(&self) -> Self {
3664 *self
3665 }
3666 }
3667 #[repr(C)]
3668 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3669 #[cfg(feature = "Win32_Networking_WinSock")]
3670 pub struct MIB_UDP6TABLE {
3671 pub dwNumEntries: u32,
3672 pub table: [MIB_UDP6ROW; 1],
3673 }
3674 #[cfg(feature = "Win32_Networking_WinSock")]
3675 impl ::core::marker::Copy for MIB_UDP6TABLE {}
3676 #[cfg(feature = "Win32_Networking_WinSock")]
3677 impl ::core::clone::Clone for MIB_UDP6TABLE {
3678 fn clone(&self) -> Self {
3679 *self
3680 }
3681 }
3682 #[repr(C)]
3683 pub struct MIB_UDP6TABLE2 {
3684 pub dwNumEntries: u32,
3685 pub table: [MIB_UDP6ROW2; 1],
3686 }
3687 impl ::core::marker::Copy for MIB_UDP6TABLE2 {}
3688 impl ::core::clone::Clone for MIB_UDP6TABLE2 {
3689 fn clone(&self) -> Self {
3690 *self
3691 }
3692 }
3693 #[repr(C)]
3694 pub struct MIB_UDP6TABLE_OWNER_MODULE {
3695 pub dwNumEntries: u32,
3696 pub table: [MIB_UDP6ROW_OWNER_MODULE; 1],
3697 }
3698 impl ::core::marker::Copy for MIB_UDP6TABLE_OWNER_MODULE {}
3699 impl ::core::clone::Clone for MIB_UDP6TABLE_OWNER_MODULE {
3700 fn clone(&self) -> Self {
3701 *self
3702 }
3703 }
3704 #[repr(C)]
3705 pub struct MIB_UDP6TABLE_OWNER_PID {
3706 pub dwNumEntries: u32,
3707 pub table: [MIB_UDP6ROW_OWNER_PID; 1],
3708 }
3709 impl ::core::marker::Copy for MIB_UDP6TABLE_OWNER_PID {}
3710 impl ::core::clone::Clone for MIB_UDP6TABLE_OWNER_PID {
3711 fn clone(&self) -> Self {
3712 *self
3713 }
3714 }
3715 #[repr(C)]
3716 pub struct MIB_UDPROW {
3717 pub dwLocalAddr: u32,
3718 pub dwLocalPort: u32,
3719 }
3720 impl ::core::marker::Copy for MIB_UDPROW {}
3721 impl ::core::clone::Clone for MIB_UDPROW {
3722 fn clone(&self) -> Self {
3723 *self
3724 }
3725 }
3726 #[repr(C)]
3727 pub struct MIB_UDPROW2 {
3728 pub dwLocalAddr: u32,
3729 pub dwLocalPort: u32,
3730 pub dwOwningPid: u32,
3731 pub liCreateTimestamp: i64,
3732 pub Anonymous: MIB_UDPROW2_0,
3733 pub OwningModuleInfo: [u64; 16],
3734 pub dwRemoteAddr: u32,
3735 pub dwRemotePort: u32,
3736 }
3737 impl ::core::marker::Copy for MIB_UDPROW2 {}
3738 impl ::core::clone::Clone for MIB_UDPROW2 {
3739 fn clone(&self) -> Self {
3740 *self
3741 }
3742 }
3743 #[repr(C)]
3744 pub union MIB_UDPROW2_0 {
3745 pub Anonymous: MIB_UDPROW2_0_0,
3746 pub dwFlags: i32,
3747 }
3748 impl ::core::marker::Copy for MIB_UDPROW2_0 {}
3749 impl ::core::clone::Clone for MIB_UDPROW2_0 {
3750 fn clone(&self) -> Self {
3751 *self
3752 }
3753 }
3754 #[repr(C)]
3755 pub struct MIB_UDPROW2_0_0 {
3756 pub _bitfield: i32,
3757 }
3758 impl ::core::marker::Copy for MIB_UDPROW2_0_0 {}
3759 impl ::core::clone::Clone for MIB_UDPROW2_0_0 {
3760 fn clone(&self) -> Self {
3761 *self
3762 }
3763 }
3764 #[repr(C)]
3765 pub struct MIB_UDPROW_OWNER_MODULE {
3766 pub dwLocalAddr: u32,
3767 pub dwLocalPort: u32,
3768 pub dwOwningPid: u32,
3769 pub liCreateTimestamp: i64,
3770 pub Anonymous: MIB_UDPROW_OWNER_MODULE_0,
3771 pub OwningModuleInfo: [u64; 16],
3772 }
3773 impl ::core::marker::Copy for MIB_UDPROW_OWNER_MODULE {}
3774 impl ::core::clone::Clone for MIB_UDPROW_OWNER_MODULE {
3775 fn clone(&self) -> Self {
3776 *self
3777 }
3778 }
3779 #[repr(C)]
3780 pub union MIB_UDPROW_OWNER_MODULE_0 {
3781 pub Anonymous: MIB_UDPROW_OWNER_MODULE_0_0,
3782 pub dwFlags: i32,
3783 }
3784 impl ::core::marker::Copy for MIB_UDPROW_OWNER_MODULE_0 {}
3785 impl ::core::clone::Clone for MIB_UDPROW_OWNER_MODULE_0 {
3786 fn clone(&self) -> Self {
3787 *self
3788 }
3789 }
3790 #[repr(C)]
3791 pub struct MIB_UDPROW_OWNER_MODULE_0_0 {
3792 pub _bitfield: i32,
3793 }
3794 impl ::core::marker::Copy for MIB_UDPROW_OWNER_MODULE_0_0 {}
3795 impl ::core::clone::Clone for MIB_UDPROW_OWNER_MODULE_0_0 {
3796 fn clone(&self) -> Self {
3797 *self
3798 }
3799 }
3800 #[repr(C)]
3801 pub struct MIB_UDPROW_OWNER_PID {
3802 pub dwLocalAddr: u32,
3803 pub dwLocalPort: u32,
3804 pub dwOwningPid: u32,
3805 }
3806 impl ::core::marker::Copy for MIB_UDPROW_OWNER_PID {}
3807 impl ::core::clone::Clone for MIB_UDPROW_OWNER_PID {
3808 fn clone(&self) -> Self {
3809 *self
3810 }
3811 }
3812 #[repr(C)]
3813 pub struct MIB_UDPSTATS {
3814 pub dwInDatagrams: u32,
3815 pub dwNoPorts: u32,
3816 pub dwInErrors: u32,
3817 pub dwOutDatagrams: u32,
3818 pub dwNumAddrs: u32,
3819 }
3820 impl ::core::marker::Copy for MIB_UDPSTATS {}
3821 impl ::core::clone::Clone for MIB_UDPSTATS {
3822 fn clone(&self) -> Self {
3823 *self
3824 }
3825 }
3826 #[repr(C)]
3827 pub struct MIB_UDPSTATS2 {
3828 pub dw64InDatagrams: u64,
3829 pub dwNoPorts: u32,
3830 pub dwInErrors: u32,
3831 pub dw64OutDatagrams: u64,
3832 pub dwNumAddrs: u32,
3833 }
3834 impl ::core::marker::Copy for MIB_UDPSTATS2 {}
3835 impl ::core::clone::Clone for MIB_UDPSTATS2 {
3836 fn clone(&self) -> Self {
3837 *self
3838 }
3839 }
3840 #[repr(C)]
3841 pub struct MIB_UDPTABLE {
3842 pub dwNumEntries: u32,
3843 pub table: [MIB_UDPROW; 1],
3844 }
3845 impl ::core::marker::Copy for MIB_UDPTABLE {}
3846 impl ::core::clone::Clone for MIB_UDPTABLE {
3847 fn clone(&self) -> Self {
3848 *self
3849 }
3850 }
3851 #[repr(C)]
3852 pub struct MIB_UDPTABLE2 {
3853 pub dwNumEntries: u32,
3854 pub table: [MIB_UDPROW2; 1],
3855 }
3856 impl ::core::marker::Copy for MIB_UDPTABLE2 {}
3857 impl ::core::clone::Clone for MIB_UDPTABLE2 {
3858 fn clone(&self) -> Self {
3859 *self
3860 }
3861 }
3862 #[repr(C)]
3863 pub struct MIB_UDPTABLE_OWNER_MODULE {
3864 pub dwNumEntries: u32,
3865 pub table: [MIB_UDPROW_OWNER_MODULE; 1],
3866 }
3867 impl ::core::marker::Copy for MIB_UDPTABLE_OWNER_MODULE {}
3868 impl ::core::clone::Clone for MIB_UDPTABLE_OWNER_MODULE {
3869 fn clone(&self) -> Self {
3870 *self
3871 }
3872 }
3873 #[repr(C)]
3874 pub struct MIB_UDPTABLE_OWNER_PID {
3875 pub dwNumEntries: u32,
3876 pub table: [MIB_UDPROW_OWNER_PID; 1],
3877 }
3878 impl ::core::marker::Copy for MIB_UDPTABLE_OWNER_PID {}
3879 impl ::core::clone::Clone for MIB_UDPTABLE_OWNER_PID {
3880 fn clone(&self) -> Self {
3881 *self
3882 }
3883 }
3884 #[repr(C)]
3885 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
3886 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3887 pub struct MIB_UNICASTIPADDRESS_ROW {
3888 pub Address: super::super::Networking::WinSock::SOCKADDR_INET,
3889 pub InterfaceLuid: super::Ndis::NET_LUID_LH,
3890 pub InterfaceIndex: u32,
3891 pub PrefixOrigin: super::super::Networking::WinSock::NL_PREFIX_ORIGIN,
3892 pub SuffixOrigin: super::super::Networking::WinSock::NL_SUFFIX_ORIGIN,
3893 pub ValidLifetime: u32,
3894 pub PreferredLifetime: u32,
3895 pub OnLinkPrefixLength: u8,
3896 pub SkipAsSource: super::super::Foundation::BOOLEAN,
3897 pub DadState: super::super::Networking::WinSock::NL_DAD_STATE,
3898 pub ScopeId: super::super::Networking::WinSock::SCOPE_ID,
3899 pub CreationTimeStamp: i64,
3900 }
3901 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3902 impl ::core::marker::Copy for MIB_UNICASTIPADDRESS_ROW {}
3903 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3904 impl ::core::clone::Clone for MIB_UNICASTIPADDRESS_ROW {
3905 fn clone(&self) -> Self {
3906 *self
3907 }
3908 }
3909 #[repr(C)]
3910 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
3911 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3912 pub struct MIB_UNICASTIPADDRESS_TABLE {
3913 pub NumEntries: u32,
3914 pub Table: [MIB_UNICASTIPADDRESS_ROW; 1],
3915 }
3916 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3917 impl ::core::marker::Copy for MIB_UNICASTIPADDRESS_TABLE {}
3918 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
3919 impl ::core::clone::Clone for MIB_UNICASTIPADDRESS_TABLE {
3920 fn clone(&self) -> Self {
3921 *self
3922 }
3923 }
3924 #[repr(C)]
3925 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3926 #[cfg(feature = "Win32_Networking_WinSock")]
3927 pub struct NET_ADDRESS_INFO {
3928 pub Format: NET_ADDRESS_FORMAT,
3929 pub Anonymous: NET_ADDRESS_INFO_0,
3930 }
3931 #[cfg(feature = "Win32_Networking_WinSock")]
3932 impl ::core::marker::Copy for NET_ADDRESS_INFO {}
3933 #[cfg(feature = "Win32_Networking_WinSock")]
3934 impl ::core::clone::Clone for NET_ADDRESS_INFO {
3935 fn clone(&self) -> Self {
3936 *self
3937 }
3938 }
3939 #[repr(C)]
3940 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3941 #[cfg(feature = "Win32_Networking_WinSock")]
3942 pub union NET_ADDRESS_INFO_0 {
3943 pub NamedAddress: NET_ADDRESS_INFO_0_0,
3944 pub Ipv4Address: super::super::Networking::WinSock::SOCKADDR_IN,
3945 pub Ipv6Address: super::super::Networking::WinSock::SOCKADDR_IN6,
3946 pub IpAddress: super::super::Networking::WinSock::SOCKADDR,
3947 }
3948 #[cfg(feature = "Win32_Networking_WinSock")]
3949 impl ::core::marker::Copy for NET_ADDRESS_INFO_0 {}
3950 #[cfg(feature = "Win32_Networking_WinSock")]
3951 impl ::core::clone::Clone for NET_ADDRESS_INFO_0 {
3952 fn clone(&self) -> Self {
3953 *self
3954 }
3955 }
3956 #[repr(C)]
3957 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3958 #[cfg(feature = "Win32_Networking_WinSock")]
3959 pub struct NET_ADDRESS_INFO_0_0 {
3960 pub Address: [u16; 256],
3961 pub Port: [u16; 6],
3962 }
3963 #[cfg(feature = "Win32_Networking_WinSock")]
3964 impl ::core::marker::Copy for NET_ADDRESS_INFO_0_0 {}
3965 #[cfg(feature = "Win32_Networking_WinSock")]
3966 impl ::core::clone::Clone for NET_ADDRESS_INFO_0_0 {
3967 fn clone(&self) -> Self {
3968 *self
3969 }
3970 }
3971 #[repr(C)]
3972 pub struct PFLOGFRAME {
3973 pub Timestamp: i64,
3974 pub pfeTypeOfFrame: PFFRAMETYPE,
3975 pub dwTotalSizeUsed: u32,
3976 pub dwFilterRule: u32,
3977 pub wSizeOfAdditionalData: u16,
3978 pub wSizeOfIpHeader: u16,
3979 pub dwInterfaceName: u32,
3980 pub dwIPIndex: u32,
3981 pub bPacketData: [u8; 1],
3982 }
3983 impl ::core::marker::Copy for PFLOGFRAME {}
3984 impl ::core::clone::Clone for PFLOGFRAME {
3985 fn clone(&self) -> Self {
3986 *self
3987 }
3988 }
3989 #[repr(C)]
3990 pub struct PF_FILTER_DESCRIPTOR {
3991 pub dwFilterFlags: u32,
3992 pub dwRule: u32,
3993 pub pfatType: PFADDRESSTYPE,
3994 pub SrcAddr: *mut u8,
3995 pub SrcMask: *mut u8,
3996 pub DstAddr: *mut u8,
3997 pub DstMask: *mut u8,
3998 pub dwProtocol: u32,
3999 pub fLateBound: u32,
4000 pub wSrcPort: u16,
4001 pub wDstPort: u16,
4002 pub wSrcPortHighRange: u16,
4003 pub wDstPortHighRange: u16,
4004 }
4005 impl ::core::marker::Copy for PF_FILTER_DESCRIPTOR {}
4006 impl ::core::clone::Clone for PF_FILTER_DESCRIPTOR {
4007 fn clone(&self) -> Self {
4008 *self
4009 }
4010 }
4011 #[repr(C)]
4012 pub struct PF_FILTER_STATS {
4013 pub dwNumPacketsFiltered: u32,
4014 pub info: PF_FILTER_DESCRIPTOR,
4015 }
4016 impl ::core::marker::Copy for PF_FILTER_STATS {}
4017 impl ::core::clone::Clone for PF_FILTER_STATS {
4018 fn clone(&self) -> Self {
4019 *self
4020 }
4021 }
4022 #[repr(C)]
4023 pub struct PF_INTERFACE_STATS {
4024 pub pvDriverContext: *mut ::core::ffi::c_void,
4025 pub dwFlags: u32,
4026 pub dwInDrops: u32,
4027 pub dwOutDrops: u32,
4028 pub eaInAction: PFFORWARD_ACTION,
4029 pub eaOutAction: PFFORWARD_ACTION,
4030 pub dwNumInFilters: u32,
4031 pub dwNumOutFilters: u32,
4032 pub dwFrag: u32,
4033 pub dwSpoof: u32,
4034 pub dwReserved1: u32,
4035 pub dwReserved2: u32,
4036 pub liSYN: i64,
4037 pub liTotalLogged: i64,
4038 pub dwLostLogEntries: u32,
4039 pub FilterInfo: [PF_FILTER_STATS; 1],
4040 }
4041 impl ::core::marker::Copy for PF_INTERFACE_STATS {}
4042 impl ::core::clone::Clone for PF_INTERFACE_STATS {
4043 fn clone(&self) -> Self {
4044 *self
4045 }
4046 }
4047 #[repr(C)]
4048 pub struct PF_LATEBIND_INFO {
4049 pub SrcAddr: *mut u8,
4050 pub DstAddr: *mut u8,
4051 pub Mask: *mut u8,
4052 }
4053 impl ::core::marker::Copy for PF_LATEBIND_INFO {}
4054 impl ::core::clone::Clone for PF_LATEBIND_INFO {
4055 fn clone(&self) -> Self {
4056 *self
4057 }
4058 }
4059 #[repr(C)]
4060 pub struct TCPIP_OWNER_MODULE_BASIC_INFO {
4061 pub pModuleName: ::windows_sys::core::PWSTR,
4062 pub pModulePath: ::windows_sys::core::PWSTR,
4063 }
4064 impl ::core::marker::Copy for TCPIP_OWNER_MODULE_BASIC_INFO {}
4065 impl ::core::clone::Clone for TCPIP_OWNER_MODULE_BASIC_INFO {
4066 fn clone(&self) -> Self {
4067 *self
4068 }
4069 }
4070 #[repr(C)]
4071 #[doc = "Required features: `\"Win32_Foundation\"`"]
4072 #[cfg(feature = "Win32_Foundation")]
4073 pub struct TCP_ESTATS_BANDWIDTH_ROD_v0 {
4074 pub OutboundBandwidth: u64,
4075 pub InboundBandwidth: u64,
4076 pub OutboundInstability: u64,
4077 pub InboundInstability: u64,
4078 pub OutboundBandwidthPeaked: super::super::Foundation::BOOLEAN,
4079 pub InboundBandwidthPeaked: super::super::Foundation::BOOLEAN,
4080 }
4081 #[cfg(feature = "Win32_Foundation")]
4082 impl ::core::marker::Copy for TCP_ESTATS_BANDWIDTH_ROD_v0 {}
4083 #[cfg(feature = "Win32_Foundation")]
4084 impl ::core::clone::Clone for TCP_ESTATS_BANDWIDTH_ROD_v0 {
4085 fn clone(&self) -> Self {
4086 *self
4087 }
4088 }
4089 #[repr(C)]
4090 pub struct TCP_ESTATS_BANDWIDTH_RW_v0 {
4091 pub EnableCollectionOutbound: TCP_BOOLEAN_OPTIONAL,
4092 pub EnableCollectionInbound: TCP_BOOLEAN_OPTIONAL,
4093 }
4094 impl ::core::marker::Copy for TCP_ESTATS_BANDWIDTH_RW_v0 {}
4095 impl ::core::clone::Clone for TCP_ESTATS_BANDWIDTH_RW_v0 {
4096 fn clone(&self) -> Self {
4097 *self
4098 }
4099 }
4100 #[repr(C)]
4101 pub struct TCP_ESTATS_DATA_ROD_v0 {
4102 pub DataBytesOut: u64,
4103 pub DataSegsOut: u64,
4104 pub DataBytesIn: u64,
4105 pub DataSegsIn: u64,
4106 pub SegsOut: u64,
4107 pub SegsIn: u64,
4108 pub SoftErrors: u32,
4109 pub SoftErrorReason: u32,
4110 pub SndUna: u32,
4111 pub SndNxt: u32,
4112 pub SndMax: u32,
4113 pub ThruBytesAcked: u64,
4114 pub RcvNxt: u32,
4115 pub ThruBytesReceived: u64,
4116 }
4117 impl ::core::marker::Copy for TCP_ESTATS_DATA_ROD_v0 {}
4118 impl ::core::clone::Clone for TCP_ESTATS_DATA_ROD_v0 {
4119 fn clone(&self) -> Self {
4120 *self
4121 }
4122 }
4123 #[repr(C)]
4124 #[doc = "Required features: `\"Win32_Foundation\"`"]
4125 #[cfg(feature = "Win32_Foundation")]
4126 pub struct TCP_ESTATS_DATA_RW_v0 {
4127 pub EnableCollection: super::super::Foundation::BOOLEAN,
4128 }
4129 #[cfg(feature = "Win32_Foundation")]
4130 impl ::core::marker::Copy for TCP_ESTATS_DATA_RW_v0 {}
4131 #[cfg(feature = "Win32_Foundation")]
4132 impl ::core::clone::Clone for TCP_ESTATS_DATA_RW_v0 {
4133 fn clone(&self) -> Self {
4134 *self
4135 }
4136 }
4137 #[repr(C)]
4138 pub struct TCP_ESTATS_FINE_RTT_ROD_v0 {
4139 pub RttVar: u32,
4140 pub MaxRtt: u32,
4141 pub MinRtt: u32,
4142 pub SumRtt: u32,
4143 }
4144 impl ::core::marker::Copy for TCP_ESTATS_FINE_RTT_ROD_v0 {}
4145 impl ::core::clone::Clone for TCP_ESTATS_FINE_RTT_ROD_v0 {
4146 fn clone(&self) -> Self {
4147 *self
4148 }
4149 }
4150 #[repr(C)]
4151 #[doc = "Required features: `\"Win32_Foundation\"`"]
4152 #[cfg(feature = "Win32_Foundation")]
4153 pub struct TCP_ESTATS_FINE_RTT_RW_v0 {
4154 pub EnableCollection: super::super::Foundation::BOOLEAN,
4155 }
4156 #[cfg(feature = "Win32_Foundation")]
4157 impl ::core::marker::Copy for TCP_ESTATS_FINE_RTT_RW_v0 {}
4158 #[cfg(feature = "Win32_Foundation")]
4159 impl ::core::clone::Clone for TCP_ESTATS_FINE_RTT_RW_v0 {
4160 fn clone(&self) -> Self {
4161 *self
4162 }
4163 }
4164 #[repr(C)]
4165 pub struct TCP_ESTATS_OBS_REC_ROD_v0 {
4166 pub CurRwinRcvd: u32,
4167 pub MaxRwinRcvd: u32,
4168 pub MinRwinRcvd: u32,
4169 pub WinScaleRcvd: u8,
4170 }
4171 impl ::core::marker::Copy for TCP_ESTATS_OBS_REC_ROD_v0 {}
4172 impl ::core::clone::Clone for TCP_ESTATS_OBS_REC_ROD_v0 {
4173 fn clone(&self) -> Self {
4174 *self
4175 }
4176 }
4177 #[repr(C)]
4178 #[doc = "Required features: `\"Win32_Foundation\"`"]
4179 #[cfg(feature = "Win32_Foundation")]
4180 pub struct TCP_ESTATS_OBS_REC_RW_v0 {
4181 pub EnableCollection: super::super::Foundation::BOOLEAN,
4182 }
4183 #[cfg(feature = "Win32_Foundation")]
4184 impl ::core::marker::Copy for TCP_ESTATS_OBS_REC_RW_v0 {}
4185 #[cfg(feature = "Win32_Foundation")]
4186 impl ::core::clone::Clone for TCP_ESTATS_OBS_REC_RW_v0 {
4187 fn clone(&self) -> Self {
4188 *self
4189 }
4190 }
4191 #[repr(C)]
4192 pub struct TCP_ESTATS_PATH_ROD_v0 {
4193 pub FastRetran: u32,
4194 pub Timeouts: u32,
4195 pub SubsequentTimeouts: u32,
4196 pub CurTimeoutCount: u32,
4197 pub AbruptTimeouts: u32,
4198 pub PktsRetrans: u32,
4199 pub BytesRetrans: u32,
4200 pub DupAcksIn: u32,
4201 pub SacksRcvd: u32,
4202 pub SackBlocksRcvd: u32,
4203 pub CongSignals: u32,
4204 pub PreCongSumCwnd: u32,
4205 pub PreCongSumRtt: u32,
4206 pub PostCongSumRtt: u32,
4207 pub PostCongCountRtt: u32,
4208 pub EcnSignals: u32,
4209 pub EceRcvd: u32,
4210 pub SendStall: u32,
4211 pub QuenchRcvd: u32,
4212 pub RetranThresh: u32,
4213 pub SndDupAckEpisodes: u32,
4214 pub SumBytesReordered: u32,
4215 pub NonRecovDa: u32,
4216 pub NonRecovDaEpisodes: u32,
4217 pub AckAfterFr: u32,
4218 pub DsackDups: u32,
4219 pub SampleRtt: u32,
4220 pub SmoothedRtt: u32,
4221 pub RttVar: u32,
4222 pub MaxRtt: u32,
4223 pub MinRtt: u32,
4224 pub SumRtt: u32,
4225 pub CountRtt: u32,
4226 pub CurRto: u32,
4227 pub MaxRto: u32,
4228 pub MinRto: u32,
4229 pub CurMss: u32,
4230 pub MaxMss: u32,
4231 pub MinMss: u32,
4232 pub SpuriousRtoDetections: u32,
4233 }
4234 impl ::core::marker::Copy for TCP_ESTATS_PATH_ROD_v0 {}
4235 impl ::core::clone::Clone for TCP_ESTATS_PATH_ROD_v0 {
4236 fn clone(&self) -> Self {
4237 *self
4238 }
4239 }
4240 #[repr(C)]
4241 #[doc = "Required features: `\"Win32_Foundation\"`"]
4242 #[cfg(feature = "Win32_Foundation")]
4243 pub struct TCP_ESTATS_PATH_RW_v0 {
4244 pub EnableCollection: super::super::Foundation::BOOLEAN,
4245 }
4246 #[cfg(feature = "Win32_Foundation")]
4247 impl ::core::marker::Copy for TCP_ESTATS_PATH_RW_v0 {}
4248 #[cfg(feature = "Win32_Foundation")]
4249 impl ::core::clone::Clone for TCP_ESTATS_PATH_RW_v0 {
4250 fn clone(&self) -> Self {
4251 *self
4252 }
4253 }
4254 #[repr(C)]
4255 pub struct TCP_ESTATS_REC_ROD_v0 {
4256 pub CurRwinSent: u32,
4257 pub MaxRwinSent: u32,
4258 pub MinRwinSent: u32,
4259 pub LimRwin: u32,
4260 pub DupAckEpisodes: u32,
4261 pub DupAcksOut: u32,
4262 pub CeRcvd: u32,
4263 pub EcnSent: u32,
4264 pub EcnNoncesRcvd: u32,
4265 pub CurReasmQueue: u32,
4266 pub MaxReasmQueue: u32,
4267 pub CurAppRQueue: usize,
4268 pub MaxAppRQueue: usize,
4269 pub WinScaleSent: u8,
4270 }
4271 impl ::core::marker::Copy for TCP_ESTATS_REC_ROD_v0 {}
4272 impl ::core::clone::Clone for TCP_ESTATS_REC_ROD_v0 {
4273 fn clone(&self) -> Self {
4274 *self
4275 }
4276 }
4277 #[repr(C)]
4278 #[doc = "Required features: `\"Win32_Foundation\"`"]
4279 #[cfg(feature = "Win32_Foundation")]
4280 pub struct TCP_ESTATS_REC_RW_v0 {
4281 pub EnableCollection: super::super::Foundation::BOOLEAN,
4282 }
4283 #[cfg(feature = "Win32_Foundation")]
4284 impl ::core::marker::Copy for TCP_ESTATS_REC_RW_v0 {}
4285 #[cfg(feature = "Win32_Foundation")]
4286 impl ::core::clone::Clone for TCP_ESTATS_REC_RW_v0 {
4287 fn clone(&self) -> Self {
4288 *self
4289 }
4290 }
4291 #[repr(C)]
4292 pub struct TCP_ESTATS_SEND_BUFF_ROD_v0 {
4293 pub CurRetxQueue: usize,
4294 pub MaxRetxQueue: usize,
4295 pub CurAppWQueue: usize,
4296 pub MaxAppWQueue: usize,
4297 }
4298 impl ::core::marker::Copy for TCP_ESTATS_SEND_BUFF_ROD_v0 {}
4299 impl ::core::clone::Clone for TCP_ESTATS_SEND_BUFF_ROD_v0 {
4300 fn clone(&self) -> Self {
4301 *self
4302 }
4303 }
4304 #[repr(C)]
4305 #[doc = "Required features: `\"Win32_Foundation\"`"]
4306 #[cfg(feature = "Win32_Foundation")]
4307 pub struct TCP_ESTATS_SEND_BUFF_RW_v0 {
4308 pub EnableCollection: super::super::Foundation::BOOLEAN,
4309 }
4310 #[cfg(feature = "Win32_Foundation")]
4311 impl ::core::marker::Copy for TCP_ESTATS_SEND_BUFF_RW_v0 {}
4312 #[cfg(feature = "Win32_Foundation")]
4313 impl ::core::clone::Clone for TCP_ESTATS_SEND_BUFF_RW_v0 {
4314 fn clone(&self) -> Self {
4315 *self
4316 }
4317 }
4318 #[repr(C)]
4319 pub struct TCP_ESTATS_SND_CONG_ROD_v0 {
4320 pub SndLimTransRwin: u32,
4321 pub SndLimTimeRwin: u32,
4322 pub SndLimBytesRwin: usize,
4323 pub SndLimTransCwnd: u32,
4324 pub SndLimTimeCwnd: u32,
4325 pub SndLimBytesCwnd: usize,
4326 pub SndLimTransSnd: u32,
4327 pub SndLimTimeSnd: u32,
4328 pub SndLimBytesSnd: usize,
4329 pub SlowStart: u32,
4330 pub CongAvoid: u32,
4331 pub OtherReductions: u32,
4332 pub CurCwnd: u32,
4333 pub MaxSsCwnd: u32,
4334 pub MaxCaCwnd: u32,
4335 pub CurSsthresh: u32,
4336 pub MaxSsthresh: u32,
4337 pub MinSsthresh: u32,
4338 }
4339 impl ::core::marker::Copy for TCP_ESTATS_SND_CONG_ROD_v0 {}
4340 impl ::core::clone::Clone for TCP_ESTATS_SND_CONG_ROD_v0 {
4341 fn clone(&self) -> Self {
4342 *self
4343 }
4344 }
4345 #[repr(C)]
4346 pub struct TCP_ESTATS_SND_CONG_ROS_v0 {
4347 pub LimCwnd: u32,
4348 }
4349 impl ::core::marker::Copy for TCP_ESTATS_SND_CONG_ROS_v0 {}
4350 impl ::core::clone::Clone for TCP_ESTATS_SND_CONG_ROS_v0 {
4351 fn clone(&self) -> Self {
4352 *self
4353 }
4354 }
4355 #[repr(C)]
4356 #[doc = "Required features: `\"Win32_Foundation\"`"]
4357 #[cfg(feature = "Win32_Foundation")]
4358 pub struct TCP_ESTATS_SND_CONG_RW_v0 {
4359 pub EnableCollection: super::super::Foundation::BOOLEAN,
4360 }
4361 #[cfg(feature = "Win32_Foundation")]
4362 impl ::core::marker::Copy for TCP_ESTATS_SND_CONG_RW_v0 {}
4363 #[cfg(feature = "Win32_Foundation")]
4364 impl ::core::clone::Clone for TCP_ESTATS_SND_CONG_RW_v0 {
4365 fn clone(&self) -> Self {
4366 *self
4367 }
4368 }
4369 #[repr(C)]
4370 #[doc = "Required features: `\"Win32_Foundation\"`"]
4371 #[cfg(feature = "Win32_Foundation")]
4372 pub struct TCP_ESTATS_SYN_OPTS_ROS_v0 {
4373 pub ActiveOpen: super::super::Foundation::BOOLEAN,
4374 pub MssRcvd: u32,
4375 pub MssSent: u32,
4376 }
4377 #[cfg(feature = "Win32_Foundation")]
4378 impl ::core::marker::Copy for TCP_ESTATS_SYN_OPTS_ROS_v0 {}
4379 #[cfg(feature = "Win32_Foundation")]
4380 impl ::core::clone::Clone for TCP_ESTATS_SYN_OPTS_ROS_v0 {
4381 fn clone(&self) -> Self {
4382 *self
4383 }
4384 }
4385 #[repr(C)]
4386 pub struct TCP_RESERVE_PORT_RANGE {
4387 pub UpperRange: u16,
4388 pub LowerRange: u16,
4389 }
4390 impl ::core::marker::Copy for TCP_RESERVE_PORT_RANGE {}
4391 impl ::core::clone::Clone for TCP_RESERVE_PORT_RANGE {
4392 fn clone(&self) -> Self {
4393 *self
4394 }
4395 }
4396 pub type PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void) -> ()>;
4397 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
4398 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
4399 pub type PIPFORWARD_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, row: *const MIB_IPFORWARD_ROW2, notificationtype: MIB_NOTIFICATION_TYPE) -> ()>;
4400 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
4401 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
4402 pub type PIPINTERFACE_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, row: *const MIB_IPINTERFACE_ROW, notificationtype: MIB_NOTIFICATION_TYPE) -> ()>;
4403 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
4404 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
4405 pub type PNETWORK_CONNECTIVITY_HINT_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, connectivityhint: super::super::Networking::WinSock::NL_NETWORK_CONNECTIVITY_HINT) -> ()>;
4406 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
4407 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
4408 pub type PSTABLE_UNICAST_IPADDRESS_TABLE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, addresstable: *const MIB_UNICASTIPADDRESS_TABLE) -> ()>;
4409 pub type PTEREDO_PORT_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, port: u16, notificationtype: MIB_NOTIFICATION_TYPE) -> ()>;
4410 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`"]
4411 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))]
4412 pub type PUNICAST_IPADDRESS_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, row: *const MIB_UNICASTIPADDRESS_ROW, notificationtype: MIB_NOTIFICATION_TYPE) -> ()>;