Logo Search packages:      
Sourcecode: wireshark version File versions  Download package

crc-16-plain.h File Reference


Detailed Description

Functions and types for CRC checks.

Generated on Wed Mar 18 14:12:15 2009, by pycrc v0.7, http://www.tty1.net/pycrc/ using the configuration: Width = 16 Poly = 0x8005 XorIn = 0x0000 ReflectIn = True XorOut = 0x0000 ReflectOut = True Algorithm = table-driven Direct = True

Modified 2009-03-16 not to include <stdint.h> as our Win32 environment appears not to have it; we're using GLib types, instead.

Definition in file crc-16-plain.h.

#include "glib.h"
#include <stdlib.h>

Go to the source code of this file.

Defines

#define CRC_ALGO_TABLE_DRIVEN   1

Typedefs

typedef guint16 crc16_plain_t

Functions

static crc16_plain_t crc16_plain_finalize (crc16_plain_t crc)
static crc16_plain_t crc16_plain_init (void)
long crc16_plain_reflect (long data, size_t data_len)
crc16_plain_t crc16_plain_update (crc16_plain_t crc, const unsigned char *data, size_t data_len)


Generated by  Doxygen 1.6.0   Back to index