aboutsummaryrefslogtreecommitdiffstats
path: root/crc32.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-08-26 05:52:53 +0000
committerGuy Harris <guy@alum.mit.edu>2003-08-26 05:52:53 +0000
commitf7e30628672367a757016ef3b2bfd604bbc93c1b (patch)
tree733504afac6821618f370545b556d2541c2176b9 /crc32.h
parent42fdef2ff460e460016b841b640f47bee0bb8f21 (diff)
From Jesper Peterson:
Extract the FCS decoding section of the PPP_HDLC dissector to allow the CHDLC dissector to use the same routine. The ppp_options used for preferences has been renamed to fcs_options and exported via packet-ppp.h so CHDLC gets a separate (but identical) FCS preference. This means prefs.h has to be included before packet-ppp.h so a couple of ppp related files (packet-{gtp,null,raw,vj}.c) had their includes slightly re-arranged. From me: make the PPP/CHDLC FCS code use "crc32()" to check the 32-bit FCS. svn path=/trunk/; revision=8266
Diffstat (limited to 'crc32.h')
-rw-r--r--crc32.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crc32.h b/crc32.h
index 36d952bbd4..67ee24be7e 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.1 2003/08/26 05:09:55 guy Exp $
+ * $Id: crc32.h,v 1.2 2003/08/26 05:52:43 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -27,3 +27,5 @@
extern const guint32 crc32_table[256];
extern guint32 crc32(const unsigned char* buf, unsigned int len);
+extern guint32 crc32_802(const unsigned char* buf, unsigned int len);
+