Diff for /libelwix/inc/elwix/acrc.h between versions 1.8.2.1 and 1.10.4.1

version 1.8.2.1, 2024/10/12 16:02:23 version 1.10.4.1, 2024/12/05 12:33:49
Line 58  struct tagCRCPoly { Line 58  struct tagCRCPoly {
 };      /* size 24bytes */  };      /* size 24bytes */
 typedef struct tagCRCPoly crcPoly_t;  typedef struct tagCRCPoly crcPoly_t;
   
   #ifdef __cplusplus
   extern "C" {
   #endif
   
 /*  /*
  * crcReflect() - Reflect all bits of number    * crcReflect() - Reflect all bits of number 
Line 107  unsigned short crc16_xy(unsigned char * __restrict buf Line 110  unsigned short crc16_xy(unsigned char * __restrict buf
  * crcIP() - Checksum in IP communication   * crcIP() - Checksum in IP communication
  *   *
  * @buf = Data for calculation   * @buf = Data for calculation
 * @bufLen = Length of data * @len = Length of data in bytes
  * return: Checksum   * 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   * crcTCP() - Checksum for TCP v4 communication
  *   *
Line 258  unsigned int hash_fnv1(const char *csStr, int nStrLen, Line 261  unsigned int hash_fnv1(const char *csStr, int nStrLen,
 */  */
 #define hash_fnv(str, len)      hash_fnv1((str), (len), 1)  #define hash_fnv(str, len)      hash_fnv1((str), (len), 1)
   
   #ifdef __cplusplus
   }
   #endif
   
 #endif  #endif

Removed from v.1.8.2.1  
changed lines
  Added in v.1.10.4.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>