CRC Class Reference
[Kernel Module]

#include <crc.h>

List of all members.

Detailed Description

A CRC checker class.

Public Member Functions

 CRC ()
uint_t Checksum (uchar_t *ptr, uint_t bytes_count)

Private Types

enum  { BYTE_VALUES_COUNT = 256 }

Static Private Attributes

static const uint_t key = 0x04C11DB7
static uint_t table [BYTE_VALUES_COUNT] = { 0 }
static bool initialized = false

Member Enumeration Documentation

anonymous enum [private]


Constructor & Destructor Documentation

CRC::CRC (  ) 

Default constructor.

Member Function Documentation

uint_t CRC::Checksum ( uchar_t ptr,
uint_t  bytes_count 

Compute the checksum for a chunk of memory.

Member Data Documentation

const uint_t CRC::key = 0x04C11DB7 [static, private]

uint_t CRC::table = { 0 } [static, private]

bool CRC::initialized = false [static, private]

The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:31 2007 for Dark Oberon by  doxygen 1.5.3