crctab.c File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define updcrc(cp, crc)   ( crctab[((crc >> 8) & 255)] ^ (crc << 8) ^ cp)
#define UPDC32(b, c)   (cr3tab[((int)c ^ b) & 0xff] ^ ((c >> 8) & 0x00FFFFFF))

Variables

static unsigned short crctab [256]
static long cr3tab []


Define Documentation

#define UPDC32 b,
c   )     (cr3tab[((int)c ^ b) & 0xff] ^ ((c >> 8) & 0x00FFFFFF))
 

Definition at line 137 of file crctab.c.

Referenced by zrbhdr32(), zrdat32(), zsbh32(), zsda32(), and zsendfile().

#define updcrc cp,
crc   )     ( crctab[((crc >> 8) & 255)] ^ (crc << 8) ^ cp)
 

Definition at line 53 of file crctab.c.


Variable Documentation

long cr3tab[] [static]
 

Definition at line 92 of file crctab.c.

unsigned short crctab[256] [static]
 

Definition at line 6 of file crctab.c.


Generated on Fri Apr 14 23:08:31 2006 for minix by  doxygen 1.4.6