--- libelwix/inc/elwix/acrc.h 2024/10/12 16:08:18 1.9 +++ libelwix/inc/elwix/acrc.h 2024/10/28 09:55:57 1.9.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: acrc.h,v 1.9 2024/10/12 16:08:18 misho Exp $ +* $Id: acrc.h,v 1.9.2.1 2024/10/28 09:55:57 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -107,10 +107,10 @@ unsigned short crc16_xy(unsigned char * __restrict buf * crcIP() - Checksum in IP communication * * @buf = Data for calculation - * @bufLen = Length of data + * @len = Length of data in bytes * return: Checksum */ -unsigned short crcIP(unsigned char * __restrict buf, int bufLen); +unsigned short crcIP(unsigned short* __restrict buf, int len); /* * crcTCP() - Checksum for TCP v4 communication *