[PATCH v5 3/5] include: Add IPv6 PROTECTION_LEVEL constants

Alex Henrie alexhenrie24 at gmail.com
Wed Aug 18 00:50:49 CDT 2021


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
Since these constants are specific to Windows, they don't need the WS_
prefix.
---
 include/ws2ipdef.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/ws2ipdef.h b/include/ws2ipdef.h
index 0344a193dc1..adc534dcb32 100644
--- a/include/ws2ipdef.h
+++ b/include/ws2ipdef.h
@@ -329,6 +329,11 @@ typedef struct WS(in6_pktinfo) {
 #define WS_TCP_DELAY_FIN_ACK            13
 #endif /* USE_WS_PREFIX */
 
+#define PROTECTION_LEVEL_UNRESTRICTED   10
+#define PROTECTION_LEVEL_EDGERESTRICTED 20
+#define PROTECTION_LEVEL_RESTRICTED     30
+#define PROTECTION_LEVEL_DEFAULT        ((UINT)-1)
+
 #ifndef USE_WS_PREFIX
 #define INET_ADDRSTRLEN         22
 #define INET6_ADDRSTRLEN        65
-- 
2.32.0




More information about the wine-devel mailing list