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

crc-16-plain.c File Reference


Detailed Description

Functions and types for CRC checks.

Generated on Wed Mar 18 14:12:09 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.c.

#include "glib.h"
#include "crc-16-plain.h"
#include <stdlib.h>

Go to the source code of this file.

Functions

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)

Variables

static const crc16_plain_t crc_table [256]


Generated by  Doxygen 1.6.0   Back to index