Wireshark 4.5.0
The Wireshark network protocol analyzer
|
#include <wireshark.h>
Go to the source code of this file.
Macros | |
#define | CRC_ALGO_TABLE_DRIVEN 1 |
Functions | |
WS_DLL_PUBLIC uint8_t | crc7update (uint8_t crc, const unsigned char *data, int data_len) |
Functions and types for CRC checks.
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
Generated on Wed Jul 11 17:24:57 2012, by pycrc v0.7.10, http://www.tty1.net/pycrc/ using the configuration: Width = 7 Poly = 0x45 XorIn = 0x00 ReflectIn = False XorOut = 0x00 ReflectOut = False Algorithm = table-driven
#define CRC_ALGO_TABLE_DRIVEN 1 |
The definition of the used algorithm.
WS_DLL_PUBLIC uint8_t crc7update | ( | uint8_t | crc, |
const unsigned char * | data, | ||
int | data_len | ||
) |
Update the crc value with new data.
crc | The current crc value. |
data | Pointer to a buffer of data_len bytes. |
data_len | Number of bytes in the data buffer. |