Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
crc-ccitt.c File Reference
#include <linux/types.h>
#include <linux/module.h>
#include <linux/crc-ccitt.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (crc_ccitt_table)
 
u16 crc_ccitt (u16 crc, u8 const *buffer, size_t len)
 
 EXPORT_SYMBOL (crc_ccitt)
 
 MODULE_DESCRIPTION ("CRC-CCITT calculations")
 
 MODULE_LICENSE ("GPL")
 

Variables

u16 const crc_ccitt_table [256]
 

Function Documentation

u16 crc_ccitt ( u16  crc,
u8 const buffer,
size_t  len 
)

crc_ccitt - recompute the CRC for the data buffer : previous CRC value : data pointer : number of bytes in the buffer

Definition at line 60 of file crc-ccitt.c.

EXPORT_SYMBOL ( crc_ccitt_table  )
EXPORT_SYMBOL ( crc_ccitt  )
MODULE_DESCRIPTION ( "CRC-CCITT calculations"  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

u16 const crc_ccitt_table[256]

Definition at line 18 of file crc-ccitt.c.