]> andersk Git - openssh.git/blobdiff - packet.h
- (bal) auth1.c minor resync while looking at the code.
[openssh.git] / packet.h
index b87a03cf8cff075bf9a6f293200386afa8123b2e..7b2de6349697cea6bfcf237cc75686c35aa15e56 100644 (file)
--- 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.38 2003/04/02 09:48:07 markus Exp $      */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -24,6 +24,7 @@ int      packet_get_connection_in(void);
 int      packet_get_connection_out(void);
 void     packet_close(void);
 void    packet_set_encryption_key(const u_char *, u_int, int);
+u_int   packet_get_encryption_key(u_char *);
 void     packet_set_protocol_flags(u_int);
 u_int   packet_get_protocol_flags(void);
 void     packet_start_compression(int);
@@ -57,11 +58,14 @@ void     packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1,
 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);
+void    packet_get_state(int, u_int32_t *, u_int64_t *, u_int32_t *);
+void    packet_set_state(int, u_int32_t, u_int64_t, 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);
@@ -86,10 +90,13 @@ int      packet_set_maxsize(int);
 do { \
        int _len = packet_remaining(); \
        if (_len > 0) { \
-               log("Packet integrity error (%d bytes remaining) at %s:%d", \
+               logit("Packet integrity error (%d bytes remaining) at %s:%d", \
                    _len ,__FILE__, __LINE__); \
                packet_disconnect("Packet integrity error."); \
        } \
 } while (0)
 
+int     packet_need_rekeying(void);
+void    packet_set_rekey_limit(u_int32_t);
+
 #endif                         /* PACKET_H */
This page took 0.034825 seconds and 4 git commands to generate.