gr_crc32.cc File Reference

#include <gr_crc32.h>

Include dependency graph for gr_crc32.cc:


Functions

unsigned int gr_update_crc32 (unsigned int crc, const unsigned char *data, size_t len)
 update running CRC-32
unsigned int gr_update_crc32 (unsigned int crc, const std::string s)
unsigned int gr_crc32 (const unsigned char *buf, size_t len)
unsigned int gr_crc32 (const std::string s)

Function Documentation

unsigned int gr_crc32 ( const std::string  s  ) 

References gr_crc32().

unsigned int gr_crc32 ( const unsigned char *  buf,
size_t  len 
)

References gr_update_crc32().

Referenced by gr_crc32().

unsigned int gr_update_crc32 ( unsigned int  crc,
const std::string  s 
)

References gr_update_crc32().

unsigned int gr_update_crc32 ( unsigned int  crc,
const unsigned char *  buf,
size_t  len 
)

update running CRC-32

Update a running CRC with the bytes buf[0..len-1] The CRC should be initialized to all 1's, and the transmitted value is the 1's complement of the final running CRC. The resulting CRC should be transmitted in big endian order.

Referenced by gr_crc32(), and gr_update_crc32().


Generated on Thu Mar 27 14:57:06 2008 for GNU Radio 3.1.1 by  doxygen 1.5.5