version 1.3, 2014/01/29 14:16:53
|
version 1.4, 2014/01/30 07:33:20
|
Line 125 unsigned int crcAdler(unsigned char * __restrict psBuf
|
Line 125 unsigned int crcAdler(unsigned char * __restrict psBuf
|
#define crcEther(psBuf, bufLen) crcCalc((psBuf), (bufLen), 32, 3, 0xFFFFFFFF, 0xFFFFFFFF) |
#define crcEther(psBuf, bufLen) crcCalc((psBuf), (bufLen), 32, 3, 0xFFFFFFFF, 0xFFFFFFFF) |
|
|
/* |
/* |
* crc32() - CRC32 calculation from table | * crc_32() - CRC32 calculation from table |
* |
* |
* @crc = Initial crc value |
* @crc = Initial crc value |
* @buf = Data for calculation |
* @buf = Data for calculation |
* @len = Length of data |
* @len = Length of data |
* return: calculated CRC32 |
* return: calculated CRC32 |
*/ |
*/ |
unsigned int crc32(unsigned int crc, const unsigned char * __restrict buf, unsigned int len); | unsigned int crc_32(unsigned int crc, const unsigned char * __restrict buf, unsigned int len); |
|
|
/* |
/* |
* crcPelco() - Calculate Pelco D/P CRC |
* crcPelco() - Calculate Pelco D/P CRC |