/* the CRC routines are stolen from WAMPES by Dieter Deyke  */
static int check_crc_ccitt(const unsigned char *buf, int cnt)
/* the CRC routines are stolen from WAMPES by Dieter Deyke  */
static int check_crc_ccitt(const unsigned char *buf, int cnt)
{
	return (crc_ccitt(0xffff, buf, cnt) & 0xffff) == 0xf0b8;
}