summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:23:41 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:23:41 +1100
commit84b8ab3eeef42818e20d2b46627245fe450082ab (patch)
tree9456895307a8523f11ce0a819b1168738e9d83b9
parent659811f7fca35260b97352b632e0c9ca4d5d7979 (diff)
- markus@cvs.openbsd.org 2002/01/11 13:36:43
[ssh2.h] add defines for msg type ranges
-rw-r--r--ChangeLog5
-rw-r--r--ssh2.h17
2 files changed, 20 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2464c33a7..d29993ab7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -125,6 +125,9 @@
125 - markus@cvs.openbsd.org 2002/01/11 10:31:05 125 - markus@cvs.openbsd.org 2002/01/11 10:31:05
126 [packet.c] 126 [packet.c]
127 handle received SSH2_MSG_UNIMPLEMENTED messages; ok djm@ 127 handle received SSH2_MSG_UNIMPLEMENTED messages; ok djm@
128 - markus@cvs.openbsd.org 2002/01/11 13:36:43
129 [ssh2.h]
130 add defines for msg type ranges
128 131
129 132
13020020121 13320020121
@@ -7273,4 +7276,4 @@
7273 - Wrote replacements for strlcpy and mkdtemp 7276 - Wrote replacements for strlcpy and mkdtemp
7274 - Released 1.0pre1 7277 - Released 1.0pre1
7275 7278
7276$Id: ChangeLog,v 1.1759 2002/01/22 12:23:11 djm Exp $ 7279$Id: ChangeLog,v 1.1760 2002/01/22 12:23:41 djm Exp $
diff --git a/ssh2.h b/ssh2.h
index e45aef275..77b4d0890 100644
--- a/ssh2.h
+++ b/ssh2.h
@@ -52,7 +52,22 @@
52 * 52 *
53 * 192-255 Local extensions 53 * 192-255 Local extensions
54 */ 54 */
55/* RCSID("$OpenBSD: ssh2.h,v 1.6 2001/03/27 17:46:49 provos Exp $"); */ 55/* RCSID("$OpenBSD: ssh2.h,v 1.7 2002/01/11 13:36:43 markus Exp $"); */
56
57/* ranges */
58
59#define SSH2_MSG_TRANSPORT_MIN 1
60#define SSH2_MSG_TRANSPORT_MAX 49
61#define SSH2_MSG_USERAUTH_MIN 50
62#define SSH2_MSG_USERAUTH_MAX 79
63#define SSH2_MSG_CONNECTION_MIN 80
64#define SSH2_MSG_CONNECTION_MAX 127
65#define SSH2_MSG_RESERVED_MIN 128
66#define SSH2_MSG_RESERVED_MAX 191
67#define SSH2_MSG_LOCAL_MIN 192
68#define SSH2_MSG_LOCAL_MAX 255
69#define SSH2_MSG_MIN 1
70#define SSH2_MSG_MAX 255
56 71
57/* transport layer: generic */ 72/* transport layer: generic */
58 73