aboutsummaryrefslogtreecommitdiffstats
path: root/crc32.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-06-26 09:48:12 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-06-26 09:48:12 +0000
commitf0ea4ef8cf23aa81988847e208663d0bb542671e (patch)
tree1211bd2ae769213f1ab378bce824d813c0dc621a /crc32.h
parent64b917765083bd122c9bb5ede19a88aa1603bc04 (diff)
Use the "crc16.c" CRC-16 routine in the PPP dissector.
Rename the "crc32.c" CRC-32 routine "crc32_ccitt_tvb()", to match the "crc16.c" CRC-16 routine, and rename the table it uses to match. Also rename "crc32_tvb_802" to "crc32_802_tvb", to match "crc32_ccitt_tvb()". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11245 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'crc32.h')
-rw-r--r--crc32.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/crc32.h b/crc32.h
index a28d6ef7f7..17d5ca99a1 100644
--- a/crc32.h
+++ b/crc32.h
@@ -1,7 +1,7 @@
/* crc32.h
* Declaration of CRC-32 routine and table
*
- * $Id: crc32.h,v 1.3 2003/08/26 06:18:17 guy Exp $
+ * $Id: crc32.h,v 1.4 2004/06/26 09:48:11 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -24,8 +24,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-extern const guint32 crc32_table[256];
-
-extern guint32 crc32_tvb(tvbuff_t *tvb, unsigned int len);
-extern guint32 crc32_tvb_802(tvbuff_t *tvb, unsigned int len);
+extern const guint32 crc32_ccitt_table[256];
+extern guint32 crc32_ccitt_tvb(tvbuff_t *tvb, unsigned int len);
+extern guint32 crc32_802_tvb(tvbuff_t *tvb, unsigned int len);