This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Generate CRC32 checksums for little-endian mode
uint32_t nic_calc_crc_le ( char * buf, int len)
The nic_calc_crc_le() function generates Cycle Redundancy Check (CRC32) checksums across the data buffer. Typically, the checksums are used for multicast packet filtering to determine which bit in a hash table corresponds to a given multicast address. The nic_calc_crc_le() function generates the CRC by shifting the bits from left to right.
The computed 32-bit CRC value.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |