wireshark/in_cksum.h
Guy Harris 8a8b883450 Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.

svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00

15 lines
254 B
C

/* in_cksum.h
* Declaration of Internet checksum routine.
*
* $Id$
*/
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);