From 8e7abd987101794c25c4cf3cdfcefc821a821fec Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Wed, 19 Jun 2013 22:28:58 +0000 Subject: From Anders: Check Header CRC of SYNC protocol. svn path=/trunk/; revision=50062 --- wsutil/crc6.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wsutil/crc6.h') diff --git a/wsutil/crc6.h b/wsutil/crc6.h index e271dadb47..03cae804c1 100644 --- a/wsutil/crc6.h +++ b/wsutil/crc6.h @@ -5,7 +5,7 @@ * * Wireshark - Network traffic analyzer * By Gerald Combs - * Copyright 1998 Gerald Combs + * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -28,5 +28,6 @@ #include "ws_symbol_export.h" WS_DLL_PUBLIC guint16 update_crc6_by_bytes(guint16 crc6, guint8 byte1, guint8 byte2); +WS_DLL_PUBLIC guint16 crc6_compute(const guint8 *data_blk_ptr, int data_blk_size); #endif /* __CRC6_H__ */ -- cgit v1.2.3