Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4698 → Rev 4699

/branches/network/uspace/srv/net/include/crc.h
79,7 → 79,7
uint32_t compute_checksum( uint32_t seed, uint8_t * data, size_t length );
 
/** Compacts the computed checksum to the 16 bit number adding the carries.
* @param Computed checksum. Input parameter.
* @param sum Computed checksum. Input parameter.
* @returns Compacted computed checksum to the 16 bits.
*/
uint16_t compact_checksum( uint32_t sum );