2021-11-26 03:31:05 +00:00
|
|
|
/** @file
|
2007-07-17 22:04:00 +00:00
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2014-02-25 20:42:35 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
2007-07-17 22:04:00 +00:00
|
|
|
*
|
2018-02-07 11:26:45 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2007-07-17 22:04:00 +00:00
|
|
|
*/
|
|
|
|
|
2011-08-31 09:00:54 +00:00
|
|
|
#ifndef __CRC10_H__
|
|
|
|
#define __CRC10_H__
|
|
|
|
|
2013-02-28 14:09:46 +00:00
|
|
|
#include "ws_symbol_export.h"
|
|
|
|
|
2014-08-08 18:08:35 +00:00
|
|
|
/* Update the data block's CRC-10 remainder one byte at a time */
|
2013-03-01 23:53:11 +00:00
|
|
|
WS_DLL_PUBLIC guint16 update_crc10_by_bytes(guint16 crc10, const guint8 *data_blk_ptr, int data_blk_size);
|
2011-08-31 09:00:54 +00:00
|
|
|
|
|
|
|
#endif /* __CRC10_H__ */
|