summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-17 15:46:03 -0400
committermidipix <writeonce@midipix.org>2016-06-17 15:46:03 -0400
commit262e3bc8fcc15d554db8ed39b588b09b91b0cd94 (patch)
tree449a9ee2d7af28c1b177fa4f8b0fc3fe1714988f
parent4543c962b1488e1ccbf1fe224837e4756ddd114c (diff)
downloadntapi-262e3bc8fcc15d554db8ed39b588b09b91b0cd94.tar.bz2
ntapi-262e3bc8fcc15d554db8ed39b588b09b91b0cd94.tar.xz
nt_socket.h: add definition for NT_AFD_DEFER_ACCEPT.
-rw-r--r--include/ntapi/nt_socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ntapi/nt_socket.h b/include/ntapi/nt_socket.h
index 4b7e783..aceb781 100644
--- a/include/ntapi/nt_socket.h
+++ b/include/ntapi/nt_socket.h
@@ -221,6 +221,9 @@
#define NT_AFD_IOCTL_GET_INFO (0x1207bu)
#define NT_AFD_IOCTL_SOCKOPT (0x120bfu)
+/* afd listen/accept bits */
+#define NT_AFD_DEFER_ACCEPT (0x01u)
+
/* afd sockopt mode bits */
#define NT_AFD_SOCKOPT_SET (0x01u)
#define NT_AFD_SOCKOPT_GET (0x02u)