--- libelwix/inc/elwix/acrc.h 2024/10/12 16:02:23 1.8.2.1 +++ libelwix/inc/elwix/acrc.h 2024/10/28 09:58:51 1.10 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: acrc.h,v 1.8.2.1 2024/10/12 16:02:23 misho Exp $ +* $Id: acrc.h,v 1.10 2024/10/28 09:58:51 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 *