summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-12-21 15:00:19 +1100
committerDamien Miller <djm@mindrot.org>2001-12-21 15:00:19 +1100
commit278f907a2d6d00d6f52a11bf9577648aadbf0994 (patch)
tree50f885a7fd73b813754e3b675e810dc01ba78b78 /packet.h
parente737856350287104a12f5a97c81fad1f7bcd7096 (diff)
- djm@cvs.openbsd.org 2001/12/20 22:50:24
[auth2.c auth2-chall.c channels.c channels.h clientloop.c dispatch.c] [dispatch.h kex.c kex.h packet.c packet.h serverloop.c ssh.c] [sshconnect2.c] Conformance fix: we should send failing packet sequence number when responding with a SSH_MSG_UNIMPLEMENTED message. Spotted by yakk@yakk.dot.net; ok markus@
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index d281042f1..1cc79d47c 100644
--- a/packet.h
+++ b/packet.h
@@ -11,7 +11,7 @@
11 * called by a name other than "ssh" or "Secure Shell". 11 * called by a name other than "ssh" or "Secure Shell".
12 */ 12 */
13 13
14/* RCSID("$OpenBSD: packet.h,v 1.27 2001/12/19 17:16:13 stevesk Exp $"); */ 14/* RCSID("$OpenBSD: packet.h,v 1.28 2001/12/20 22:50:24 djm Exp $"); */
15 15
16#ifndef PACKET_H 16#ifndef PACKET_H
17#define PACKET_H 17#define PACKET_H
@@ -44,6 +44,8 @@ int packet_read(int *payload_len_ptr);
44void packet_read_expect(int *payload_len_ptr, int type); 44void packet_read_expect(int *payload_len_ptr, int type);
45int packet_read_poll(int *packet_len_ptr); 45int packet_read_poll(int *packet_len_ptr);
46void packet_process_incoming(const char *buf, u_int len); 46void packet_process_incoming(const char *buf, u_int len);
47int packet_read_seqnr(int *payload_len_ptr, u_int32_t *seqnr_p);
48int packet_read_poll_seqnr(int *packet_len_ptr, u_int32_t *seqnr_p);
47 49
48u_int packet_get_char(void); 50u_int packet_get_char(void);
49u_int packet_get_int(void); 51u_int packet_get_int(void);