HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / epan / in_cksum.h
blob3a7ff56310bd3deb5c9b84afc2504b600ded2edc
1 /* in_cksum.h
2 * Declaration of Internet checksum routine.
4 * $Id$
5 */
7 #ifndef __IN_CKSUM_H__
8 #define __IN_CKSUM_H__
10 #include "ws_symbol_export.h"
12 typedef struct {
13 const guint8 *ptr;
14 int len;
15 } vec_t;
17 WS_DLL_PUBLIC int in_cksum(const vec_t *vec, int veclen);
19 guint16 in_cksum_shouldbe(guint16 sum, guint16 computed_sum);
21 #endif /* __IN_CKSUM_H__ */