summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-22 00:08:41 -0400
committermidipix <writeonce@midipix.org>2016-03-22 00:08:41 -0400
commitf5a78b094189d5e1e79ef7800f9e37a9c1540329 (patch)
tree3c66e0a863c3eb6295a71d6e5d77280992128bbe /include
parentea6298c9b4f17fa22be5b2b0e1ee7965b0e5cb66 (diff)
downloadntapi-f5a78b094189d5e1e79ef7800f9e37a9c1540329.tar.bz2
ntapi-f5a78b094189d5e1e79ef7800f9e37a9c1540329.tar.xz
nt_socket.h: fixed AFD IOCTL definitions.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_socket.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/ntapi/nt_socket.h b/include/ntapi/nt_socket.h
index 7e08697..fcf6d96 100644
--- a/include/ntapi/nt_socket.h
+++ b/include/ntapi/nt_socket.h
@@ -182,8 +182,11 @@
#define NT_AFD_IOCTL_DISCONNECT (0x1202Bu)
#define NT_AFD_IOCTL_SELECT (0x12024u)
#define NT_AFD_IOCTL_GET_SOCK_NAME (0x1202Fu)
-#define NT_AFD_IOCTL_GET_PEER_NAME (0x1202Fu)
-#define NT_AFD_IOCTL_SET_CONTEXT (0x1202Fu)
+#define NT_AFD_IOCTL_GET_PEER_NAME (0x12033u)
+#define NT_AFD_IOCTL_SET_CONTEXT (0x12047u)
+#define NT_AFD_IOCTL_GET_CONTEXT (0x12043u)
+#define NT_AFD_IOCTL_SET_INFO (0x1203bu)
+#define NT_AFD_IOCTL_GET_INFO (0x1207bu)
/* afd socket shutdown bits */
#define NT_AFD_DISCONNECT_WR (0x01u)