aboutsummaryrefslogtreecommitdiffstats
path: root/crc32.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-26 05:52:53 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-26 05:52:53 +0000
commitfcaa613f9bdbb9906e896c545d25feadd552eb10 (patch)
tree733504afac6821618f370545b556d2541c2176b9 /crc32.h
parent2bdd160d0e5b40c5651a8f047e6b93ed369d6d5f (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8266 f5534014-38df-0310-8fa8-9805f1628bb7
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);
+