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

Diff for /src/usr.bin/ssh/packet.h between version 1.13 and 1.14

version 1.13, 2000/04/12 09:39:10 version 1.14, 2000/04/14 10:09:15
Line 196 
Line 196 
   } \    } \
 } while (0)  } while (0)
   
   #define packet_done() \
   do { \
           int _len = packet_remaining(); \
           if (_len > 0) { \
                   log("Packet integrity error (%d bytes remaining) at %s:%d", \
                       _len ,__FILE__, __LINE__); \
                   packet_disconnect("Packet integrity error."); \
           } \
   } while (0)
   
 /* remote host is connected via a socket/ipv4 */  /* remote host is connected via a socket/ipv4 */
 int     packet_connection_is_on_socket(void);  int     packet_connection_is_on_socket(void);
 int     packet_connection_is_ipv4(void);  int     packet_connection_is_ipv4(void);
   
 /* enable SSH2 packet format */  /* enable SSH2 packet format */
 void    packet_set_ssh2_format(void);  void    packet_set_ssh2_format(void);
   
   /* returns remaining payload bytes */
   int     packet_remaining(void);
   
 #endif                          /* PACKET_H */  #endif                          /* PACKET_H */

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14