forked from osmocom/wireshark
![Guy Harris](/assets/img/avatar_default.png)
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
15 lines
254 B
C
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);
|