summaryrefslogtreecommitdiffstats
path: root/packet.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-22 02:42:04 +0100
committerBen Lindstrom <mouring@eviladmin.org>2002-03-22 02:42:04 +0100
commitf6027d3407f8665cc64321bcee8786311a58fa0c (patch)
tree96a397097bfbf2b1dcf73f6bdbdfb6c7d9e577bb /packet.h
parent - markus@cvs.openbsd.org 2002/03/18 17:13:15 (diff)
downloadopenssh-f6027d3407f8665cc64321bcee8786311a58fa0c.tar.xz
openssh-f6027d3407f8665cc64321bcee8786311a58fa0c.zip
- markus@cvs.openbsd.org 2002/03/18 17:16:38
[packet.c packet.h] export/import cipher state, iv and ssh2 seqnr; needed by ssh-privsep
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index d6bf2aab4..151ca74a1 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.h,v 1.33 2002/03/04 17:27:39 stevesk Exp $ */
+/* $OpenBSD: packet.h,v 1.34 2002/03/18 17:16:38 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -56,6 +56,16 @@ void *packet_get_string(u_int *length_ptr);
void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2)));
void packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2)));
+void set_newkeys(int mode);
+int packet_get_keyiv_len(int);
+void packet_get_keyiv(int, u_char *, u_int);
+int packet_get_keycontext(int, u_char *);
+void packet_set_keycontext(int, u_char *);
+u_int32_t packet_get_seqnr(int);
+void packet_set_seqnr(int, u_int32_t);
+int packet_get_ssh1_cipher(void);
+void packet_set_iv(int, u_char *);
+
void packet_write_poll(void);
void packet_write_wait(void);
int packet_have_data_to_write(void);