diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-08-08 16:27:10 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-08-08 16:27:10 +0000 |
commit | 68e2e8b8891385efe6126fa1b5a578e9fc693fe4 (patch) | |
tree | 5f33915379fc561355a7430404a379ef3e9a525e /wsutil/crc11.h | |
parent | 3fc7c2348cab844fbcc9d538a93d542d6ce0b7d0 (diff) | |
download | wireshark-68e2e8b8891385efe6126fa1b5a578e9fc693fe4.tar.gz |
From Jacob Nordgren and Rishie Sharma:
Add CRC11 algorithms
svn path=/trunk/; revision=44346
Diffstat (limited to 'wsutil/crc11.h')
-rw-r--r-- | wsutil/crc11.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/wsutil/crc11.h b/wsutil/crc11.h new file mode 100644 index 0000000000..b5113837a1 --- /dev/null +++ b/wsutil/crc11.h @@ -0,0 +1,28 @@ +#ifndef __CRC11_____H__ + +#include <glib.h> + +#ifdef __cplusplus +extern "C" { +#endif +/** + * Functions and types for CRC checks. + * + * Generated on Tue Aug 7 15:45:57 2012, + * by pycrc v0.7.10, http://www.tty1.net/pycrc/ + * using the configuration: + * Width = 11 + * Poly = 0x307 + * XorIn = 0x000 + * ReflectIn = False + * XorOut = 0x000 + * ReflectOut = False + * Algorithm = table-driven + *****************************************************************************/ +guint16 crc11_307_noreflect_noxor(const guint8 *data, guint64 data_len); + +#ifdef __cplusplus +} /* closing brace for extern "C" */ +#endif + +#endif /*__CRC11_____H__*/ |