| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
crc16-tvb.h
Go to the documentation of this file.
1
12#pragma once
13#include "ws_symbol_export.h"
14
15#ifdef __cplusplus
16 extern "C" {
17#endif /* __cplusplus */
18
25WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb(tvbuff_t *tvb, unsigned len);
26
33WS_DLL_PUBLIC uint16_t crc16_x25_ccitt_tvb(tvbuff_t *tvb, unsigned len);
34
42WS_DLL_PUBLIC uint16_t crc16_r3_ccitt_tvb(tvbuff_t *tvb, int offset, unsigned len);
43
49WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len);
50
58WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb_seed(tvbuff_t *tvb, unsigned len, uint16_t seed);
59
68WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb_offset_seed(tvbuff_t *tvb, unsigned offset,
69 unsigned len, uint16_t seed);
70
76WS_DLL_PUBLIC uint16_t crc16_iso14443a_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len);
77
83WS_DLL_PUBLIC uint16_t crc16_usb_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len);
84
99WS_DLL_PUBLIC uint16_t crc16_plain_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len);
100
116WS_DLL_PUBLIC uint16_t crc16_plain_tvb_offset_seed(tvbuff_t *tvb, unsigned offset, unsigned len, uint16_t crc);
117
128WS_DLL_PUBLIC uint16_t crc16_0x9949_tvb_offset_seed(tvbuff_t *tvb, unsigned offset, unsigned len, uint16_t seed);
129
140WS_DLL_PUBLIC uint16_t crc16_0x3D65_tvb_offset_seed(tvbuff_t *tvb, unsigned offset, unsigned len, uint16_t seed);
141
142#ifdef __cplusplus
143}
144#endif /* __cplusplus */
crc16_plain_tvb_offset
WS_DLL_PUBLIC uint16_t crc16_plain_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len)
Definition crc16-tvb.c:109
crc16_ccitt_tvb_offset_seed
WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb_offset_seed(tvbuff_t *tvb, unsigned offset, unsigned len, uint16_t seed)
Definition crc16-tvb.c:79
crc16_usb_tvb_offset
WS_DLL_PUBLIC uint16_t crc16_usb_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len)
Definition crc16-tvb.c:99
crc16_0x3D65_tvb_offset_seed
WS_DLL_PUBLIC uint16_t crc16_0x3D65_tvb_offset_seed(tvbuff_t *tvb, unsigned offset, unsigned len, uint16_t seed)
Definition crc16-tvb.c:144
crc16_r3_ccitt_tvb
WS_DLL_PUBLIC uint16_t crc16_r3_ccitt_tvb(tvbuff_t *tvb, int offset, unsigned len)
Compute CRC16 ASSA R3 CCITT checksum of a tv buffer.
Definition crc16-tvb.c:49
crc16_0x9949_tvb_offset_seed
WS_DLL_PUBLIC uint16_t crc16_0x9949_tvb_offset_seed(tvbuff_t *tvb, unsigned offset, unsigned len, uint16_t seed)
Definition crc16-tvb.c:134
crc16_x25_ccitt_tvb
WS_DLL_PUBLIC uint16_t crc16_x25_ccitt_tvb(tvbuff_t *tvb, unsigned len)
Compute CRC16 X.25 CCITT checksum of a tv buffer.
Definition crc16-tvb.c:39
crc16_plain_tvb_offset_seed
WS_DLL_PUBLIC uint16_t crc16_plain_tvb_offset_seed(tvbuff_t *tvb, unsigned offset, unsigned len, uint16_t crc)
Definition crc16-tvb.c:122
crc16_ccitt_tvb_seed
WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb_seed(tvbuff_t *tvb, unsigned len, uint16_t seed)
Definition crc16-tvb.c:69
crc16_ccitt_tvb_offset
WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len)
Definition crc16-tvb.c:59
crc16_ccitt_tvb
WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb(tvbuff_t *tvb, unsigned len)
Compute CRC16 CCITT checksum of a tv buffer.
Definition crc16-tvb.c:29
crc16_iso14443a_tvb_offset
WS_DLL_PUBLIC uint16_t crc16_iso14443a_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len)
Definition crc16-tvb.c:89