version 1.3.2.3, 2011/04/28 20:27:34
|
version 1.4.2.1, 2011/09/14 14:33:56
|
Line 92 inline u_int crcCalc(u_char * __restrict psBuf, u_int
|
Line 92 inline u_int crcCalc(u_char * __restrict psBuf, u_int
|
|
|
/* |
/* |
* crcIP() Checksum in IP communication |
* crcIP() Checksum in IP communication |
* @nBuf = Data for calculation | * @buf = Data for calculation |
* @bufLen = Length of data |
* @bufLen = Length of data |
* return: -1 error, !=-1 Checksum |
* return: -1 error, !=-1 Checksum |
*/ |
*/ |
inline u_short crcIP(u_short * __restrict nBuf, int bufLen); | inline u_short crcIP(u_char * __restrict buf, int bufLen); |
/* |
/* |
* crcFletcher16() Fletcher-16 Checksum computing |
* crcFletcher16() Fletcher-16 Checksum computing |
* @nBuf = Data for calculation |
* @nBuf = Data for calculation |