ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] crc16

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard van der Hoff <richardv@xxxxxxxxxxxxx>
Date: Mon, 28 Jun 2004 12:57:08 +0100
On Sat, Jun 26, 2004 at 02:48:18AM -0700, Guy Harris wrote:
> On Fri, Jun 25, 2004 at 03:32:05AM +0100, Richard van der Hoff wrote:
> > As the last in my miniseries of submissions for tonight, I present a 
> > function to calculate a 16-bit crc, with tables for the CRC used by the 
> > CCITT/ITU.
> > 
> > It might be useful to somebody...
> 
> It's useful for the PPP dissector, although it already had a CRC-16
> function; it appears that your function can replace the one in the PPP
> dissector, so I've changed the PPP dissector to use it.

damn it, I knew there must have been a CRC-16 function somewhere! Still,
it's good that it's been factored out to a separate file now.

-- 
Richard van der Hoff <richardv@xxxxxxxxxxxxx>
Systems Analyst
Tel: +44 (0) 845 666 7778
http://www.mxtelecom.com