Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
slhc.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <net/slhc_vj.h>

Go to the source code of this file.

Functions

int slhc_toss (struct slcompress *comp)
 
int slhc_uncompress (struct slcompress *comp, unsigned char *icp, int isize)
 
int slhc_compress (struct slcompress *comp, unsigned char *icp, int isize, unsigned char *ocp, unsigned char **cpp, int compress_cid)
 
int slhc_remember (struct slcompress *comp, unsigned char *icp, int isize)
 
void slhc_free (struct slcompress *comp)
 
struct slcompressslhc_init (int rslots, int tslots)
 
 EXPORT_SYMBOL (slhc_init)
 
 EXPORT_SYMBOL (slhc_free)
 
 EXPORT_SYMBOL (slhc_remember)
 
 EXPORT_SYMBOL (slhc_compress)
 
 EXPORT_SYMBOL (slhc_uncompress)
 
 EXPORT_SYMBOL (slhc_toss)
 
 MODULE_LICENSE ("Dual BSD/GPL")
 

Function Documentation

EXPORT_SYMBOL ( slhc_init  )
EXPORT_SYMBOL ( slhc_free  )
EXPORT_SYMBOL ( slhc_remember  )
EXPORT_SYMBOL ( slhc_compress  )
EXPORT_SYMBOL ( slhc_uncompress  )
EXPORT_SYMBOL ( slhc_toss  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
int slhc_compress ( struct slcompress comp,
unsigned char icp,
int  isize,
unsigned char ocp,
unsigned char **  cpp,
int  compress_cid 
)

Definition at line 705 of file slhc.c.

void slhc_free ( struct slcompress comp)

Definition at line 720 of file slhc.c.

struct slcompress* slhc_init ( int  rslots,
int  tslots 
)
read

Definition at line 725 of file slhc.c.

int slhc_remember ( struct slcompress comp,
unsigned char icp,
int  isize 
)

Definition at line 713 of file slhc.c.

int slhc_toss ( struct slcompress comp)

Definition at line 693 of file slhc.c.

int slhc_uncompress ( struct slcompress comp,
unsigned char icp,
int  isize 
)

Definition at line 699 of file slhc.c.