summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-01-11 13:36:44 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-01-11 13:36:44 +0000
commitaf5f0a42ad00a8c1e441aad6d668259f3f7b4fc3 (patch)
treee343d2f1c288b8ffe3bfbf23a3acc124950e1f77 /usr.bin
parenta59eabe7ddfc331970e5fdee0ae96412285485dd (diff)
add defines for msg type ranges
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/ssh2.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh2.h b/usr.bin/ssh/ssh2.h
index e45aef275fe..77b4d0890da 100644
--- a/usr.bin/ssh/ssh2.h
+++ b/usr.bin/ssh/ssh2.h
@@ -52,7 +52,22 @@
*
* 192-255 Local extensions
*/
-/* RCSID("$OpenBSD: ssh2.h,v 1.6 2001/03/27 17:46:49 provos Exp $"); */
+/* RCSID("$OpenBSD: ssh2.h,v 1.7 2002/01/11 13:36:43 markus Exp $"); */
+
+/* ranges */
+
+#define SSH2_MSG_TRANSPORT_MIN 1
+#define SSH2_MSG_TRANSPORT_MAX 49
+#define SSH2_MSG_USERAUTH_MIN 50
+#define SSH2_MSG_USERAUTH_MAX 79
+#define SSH2_MSG_CONNECTION_MIN 80
+#define SSH2_MSG_CONNECTION_MAX 127
+#define SSH2_MSG_RESERVED_MIN 128
+#define SSH2_MSG_RESERVED_MAX 191
+#define SSH2_MSG_LOCAL_MIN 192
+#define SSH2_MSG_LOCAL_MAX 255
+#define SSH2_MSG_MIN 1
+#define SSH2_MSG_MAX 255
/* transport layer: generic */