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

Go to the source code of this file.

Macros

#define INIT_FCS   0xffff /* Initial FCS value */
 
#define GOOD_FCS   0xf0b8 /* Good final FCS value */
 
#define irda_fcs(fcs, c)   crc_ccitt_byte(fcs, c)
 
#define irda_calc_crc16(fcs, buf, len)   crc_ccitt(fcs, buf, len)
 

Macro Definition Documentation

#define GOOD_FCS   0xf0b8 /* Good final FCS value */

Definition at line 21 of file crc.h.

#define INIT_FCS   0xffff /* Initial FCS value */

Definition at line 20 of file crc.h.

#define irda_calc_crc16 (   fcs,
  buf,
  len 
)    crc_ccitt(fcs, buf, len)

Definition at line 27 of file crc.h.

#define irda_fcs (   fcs,
  c 
)    crc_ccitt_byte(fcs, c)

Definition at line 24 of file crc.h.