#include "ace/ACE.h"
Include dependency graph for ACE_crc_ccitt.cpp:
Go to the source code of this file.
Defines | |
#define | COMPUTE(var, ch) (var) = (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8)) |
Functions | |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_UINT16 | ACE::crc_ccitt (const char *string) |
Computes CRC-CCITT for the string. | |
ACE_UINT16 | ACE::crc_ccitt (const void *buffer, size_t len, ACE_UINT16 crc) |
Computes CRC-CCITT for the buffer. | |
ACE_UINT16 | ACE::crc_ccitt (const iovec *iov, int len, ACE_UINT16 crc) |
Computes CRC-CCITT for the @ len iovec buffers. | |
Variables | |
const ACE_UINT16 | crc_table [] |
#define COMPUTE | ( | var, | |||
ch | ) | (var) = (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8)) |
Definition at line 72 of file ACE_crc_ccitt.cpp.
const ACE_UINT16 crc_table[] [static] |
Definition at line 31 of file ACE_crc_ccitt.cpp.