diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-06-19 22:28:58 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-06-19 22:28:58 +0000 |
commit | 8e7abd987101794c25c4cf3cdfcefc821a821fec (patch) | |
tree | fdc9e37118ea5c8ff0394fe648a609f207baf9fc /wsutil/crc6.h | |
parent | 52f1140931a7ff371ddceae7ca4589fe5bef66ce (diff) |
From Anders:
Check Header CRC of SYNC protocol.
svn path=/trunk/; revision=50062
Diffstat (limited to 'wsutil/crc6.h')
-rw-r--r-- | wsutil/crc6.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <gerald@wireshark.org> - * 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__ */ |