| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
crc16-tvb.h
Go to the documentation of this file.
1
13#ifndef __CRC16_TVB_H__
14#define __CRC16_TVB_H__
15
16#include "ws_symbol_export.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif /* __cplusplus */
21
26WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb(tvbuff_t *tvb, unsigned len);
27
32WS_DLL_PUBLIC uint16_t crc16_x25_ccitt_tvb(tvbuff_t *tvb, unsigned len);
33
39WS_DLL_PUBLIC uint16_t crc16_r3_ccitt_tvb(tvbuff_t *tvb, int offset, unsigned len);
40
46WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len);
47
55WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb_seed(tvbuff_t *tvb, unsigned len, uint16_t seed);
56
65WS_DLL_PUBLIC uint16_t crc16_ccitt_tvb_offset_seed(tvbuff_t *tvb, unsigned offset,
66 unsigned len, uint16_t seed);
67
73WS_DLL_PUBLIC uint16_t crc16_iso14443a_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len);
74
80WS_DLL_PUBLIC uint16_t crc16_usb_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len);
81
96WS_DLL_PUBLIC uint16_t crc16_plain_tvb_offset(tvbuff_t *tvb, unsigned offset, unsigned len);
97
113WS_DLL_PUBLIC uint16_t crc16_plain_tvb_offset_seed(tvbuff_t *tvb, unsigned offset, unsigned len, uint16_t crc);
114
125WS_DLL_PUBLIC uint16_t crc16_0x9949_tvb_offset_seed(tvbuff_t *tvb, unsigned offset, unsigned len, uint16_t seed);
126
137WS_DLL_PUBLIC uint16_t crc16_0x3D65_tvb_offset_seed(tvbuff_t *tvb, unsigned offset, unsigned len, uint16_t seed);
138
139#ifdef __cplusplus
140}
141#endif /* __cplusplus */
142
143#endif /* crc16-tvb.h */
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)
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)
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)
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
tvbuff
Definition tvbuff-int.h:35