summaryrefslogtreecommitdiffstats
path: root/wsutil/crc11.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wsutil/crc11.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/wsutil/crc11.h b/wsutil/crc11.h
new file mode 100644
index 0000000..3c48dd5
--- /dev/null
+++ b/wsutil/crc11.h
@@ -0,0 +1,41 @@
+/** @file
+ * http://www.tty1.net/pycrc/faq_en.html#code-ownership
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef __CRC11_____H__
+
+#include <stdint.h>
+
+#include "ws_symbol_export.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
+ *****************************************************************************/
+WS_DLL_PUBLIC
+uint16_t crc11_307_noreflect_noxor(const uint8_t *data, uint64_t data_len);
+
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif
+
+#endif /*__CRC11_____H__*/