| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
crc5.h
Go to the documentation of this file.
1
13#ifndef __CRC5_H__
14#define __CRC5_H__
15
16#include <wireshark.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif /* __cplusplus */
21
32WS_DLL_PUBLIC uint8_t crc5_usb_11bit_input(uint16_t input);
33
45WS_DLL_PUBLIC uint8_t crc5_usb_19bit_input(uint32_t input);
46
47#ifdef __cplusplus
48}
49#endif /* __cplusplus */
50
51#endif /* __CRC5_H__ */
crc5_usb_19bit_input
WS_DLL_PUBLIC uint8_t crc5_usb_19bit_input(uint32_t input)
Compute the 5-bit CRC value for a USB token using the CRC-5 polynomial.
Definition crc5.c:51
crc5_usb_11bit_input
WS_DLL_PUBLIC uint8_t crc5_usb_11bit_input(uint16_t input)
Compute the 5-bit CRC value for a USB token using the CRC-5 polynomial.
Definition crc5.c:46
input
Definition tvbuff_lz77huff.c:32