/usr/include/wireshark/epan/in_cksum.h is in libwireshark-dev 1.6.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | /* in_cksum.h
* Declaration of Internet checksum routine.
*
* $Id: in_cksum.h 12117 2004-09-28 00:06:32Z guy $
*/
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);
|