1 /* crc10-tvb.h 2 * Declaration of CRC-10 tvbuff routines 3 * 4 * Wireshark - Network traffic analyzer 5 * By Gerald Combs <gerald@wireshark.org> 6 * Copyright 1998 Gerald Combs 7 * 8 * SPDX-License-Identifier: GPL-2.0-or-later 9 */ 10 11 #ifndef __CRC10_TVB_H__ 12 #define __CRC10_TVB_H__ 13 14 #include "ws_symbol_export.h" 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif /* __cplusplus */ 19 20 WS_DLL_PUBLIC guint16 update_crc10_by_bytes_tvb(guint16 crc10, tvbuff_t *tvb, int offset, int len); 21 22 #ifdef __cplusplus 23 } 24 #endif /* __cplusplus */ 25 26 #endif /* crc10-tvb.h */ 27