[BACK]Return to packet.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/packet.c between version 1.170 and 1.171

version 1.170, 2010/08/31 11:54:45 version 1.171, 2010/11/05 02:46:47
Line 195 
Line 195 
 static struct session_state *  static struct session_state *
 alloc_session_state(void)  alloc_session_state(void)
 {  {
     struct session_state *s = xcalloc(1, sizeof(*s));          struct session_state *s = xcalloc(1, sizeof(*s));
   
     s->connection_in = -1;          s->connection_in = -1;
     s->connection_out = -1;          s->connection_out = -1;
     s->max_packet_size = 32768;          s->max_packet_size = 32768;
     s->packet_timeout_ms = -1;          s->packet_timeout_ms = -1;
     return s;          return s;
 }  }
   
 /*  /*
Line 387 
Line 387 
 }  }
   
 void  void
 packet_get_state(int mode, u_int32_t *seqnr, u_int64_t *blocks, u_int32_t *packets,  packet_get_state(int mode, u_int32_t *seqnr, u_int64_t *blocks,
     u_int64_t *bytes)      u_int32_t *packets, u_int64_t *bytes)
 {  {
         struct packet_state *state;          struct packet_state *state;
   
Line 538 
Line 538 
  */   */
   
 void  void
 packet_set_encryption_key(const u_char *key, u_int keylen,  packet_set_encryption_key(const u_char *key, u_int keylen, int number)
     int number)  
 {  {
         Cipher *cipher = cipher_by_number(number);          Cipher *cipher = cipher_by_number(number);
   

Legend:
Removed from v.1.170  
changed lines
  Added in v.1.171