Logo Search packages:      
Sourcecode: wireshark version File versions  Download package

in_cksum.h
/* in_cksum.h
 * Declaration of  Internet checksum routine.
 *
 * $Id: in_cksum.h 12117 2004-09-28 00:06:32Z guy $
 */

00007 typedef struct {
      const guint8 *ptr;
      int   len;
} vec_t;

extern int in_cksum(const vec_t *vec, int veclen);

extern guint16 in_cksum_shouldbe(guint16 sum, guint16 computed_sum);

Generated by  Doxygen 1.6.0   Back to index