Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

crc.h File Reference

#include "str.h"

Go to the source code of this file.

Defines

#define CRC16_LEN   4

Functions

unsigned short crcitt_string_ex (char *s, int len, register unsigned short ccitt)
unsigned short crcitt_string (char *s, int len)
void crcitt_string_array (char *dst, str src[], int size)

Variables

unsigned long int crc_32_tab []
unsigned short int ccitt_tab []
unsigned short int crc_16_tab []


Define Documentation

#define CRC16_LEN   4
 

Definition at line 8 of file crc.h.


Function Documentation

unsigned short crcitt_string char *  s,
int  len
 

Definition at line 217 of file crc.c.

References crcitt_string_ex(), len, and s.

Referenced by mod_init().

void crcitt_string_array char *  dst,
str  src[],
int  size
 

Definition at line 222 of file crc.c.

References int2reverse_hex(), L_CRIT, _str::len, len, LOG, _str::s, str, str_len, and UPDCIT.

Referenced by calc_crc_suffix(), and generate_fromtag().

unsigned short crcitt_string_ex char *  s,
int  len,
register unsigned short  ccitt
 

Definition at line 208 of file crc.c.

References len, s, and UPDCIT.

Referenced by crcitt_string(), rr_get_avp_cookies(), and rr_set_avp_cookies().


Variable Documentation

unsigned short int ccitt_tab[]
 

Definition at line 138 of file crc.c.

unsigned short int crc_16_tab[]
 

Definition at line 173 of file crc.c.

unsigned long int crc_32_tab[]
 

Definition at line 92 of file crc.c.


Generated on Thu Jul 29 04:15:53 2010 for SIPExpressRouter by  doxygen 1.3.9.1