summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntapi/nt_socket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ntapi/nt_socket.h b/include/ntapi/nt_socket.h
index 68a26b1..95f59e1 100644
--- a/include/ntapi/nt_socket.h
+++ b/include/ntapi/nt_socket.h
@@ -240,6 +240,12 @@
#define NT_AFD_DISCONNECT_WR (0x01u)
#define NT_AFD_DISCONNECT_RD (0x02u)
+/* afd socket share bits */
+#define NT_AFD_SHARE_UNIQUE (0x00u)
+#define NT_AFD_SHARE_REUSE (0x01u)
+#define NT_AFD_SHARE_WILDCARD (0x02u)
+#define NT_AFD_SHARE_EXCLUSIVE (0x03u)
+
/* send, sendto, sendmsg: *nix flags and bit place-holders */
#define NT_MSG_OOB (0x00000001u)
#define NT_MSG_PEEK (0x00000002u)