Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

irlap_comp.h File Reference

#include <linux/ppp-comp.h>

Include dependency graph for irlap_comp.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CI_BZIP2   27

Functions

int irda_register_compressor (struct compressor *cp)
void irda_unregister_compressor (struct compressor *cp)
int irda_set_compression (struct irlap_cb *self, int proto)
void irlap_compressor_init (struct irlap_cb *self, int compress)
void irda_free_compression (struct irlap_cb *self)
sk_buffirlap_compress_frame (struct irlap_cb *self, struct sk_buff *skb)
sk_buffirlap_decompress_frame (struct irlap_cb *self, struct sk_buff *skb)

Variables

hashbin_tirlap_compressors


Define Documentation

#define CI_BZIP2   27
 

Definition at line 30 of file irlap_comp.h.


Function Documentation

void irda_free_compression struct irlap_cb self  ) 
 

Definition at line 160 of file irlap_comp.c.

References IRDA_DEBUG, NULL, and irlap_cb::state.

Referenced by irlap_disconnect_indication().

int irda_register_compressor struct compressor cp  ) 
 

Definition at line 44 of file irlap_comp.c.

Referenced by irda_deflate_init().

int irda_set_compression struct irlap_cb self,
int  proto
 

Definition at line 98 of file irlap_comp.c.

References ASSERT, CI_DEFLATE, CILEN_DEFLATE, compressor::comp_alloc, compressor::decomp_alloc, DEFLATE_CHK_SEQUENCE, DEFLATE_METHOD, DEFLATE_METHOD_VAL, EBADR, ENOBUFS, ENODEV, hashbin_find(), IRDA_DEBUG, LAP_MAGIC, irlap_cb::magic, NULL, and irlap_cb::state.

Referenced by irlap_apply_connection_parameters().

Here is the call graph for this function:

void irda_unregister_compressor struct compressor cp  ) 
 

Definition at line 78 of file irlap_comp.c.

Referenced by irda_deflate_cleanup().

struct sk_buff* irlap_compress_frame struct irlap_cb self,
struct sk_buff skb
 

Definition at line 238 of file irlap_comp.c.

References ASSERT, count, sk_buff::data, dev_kfree_skb, IRDA_DEBUG, jiffies, LAP_COMP_HEADER, LAP_MAGIC, LAP_MAX_HEADER, sk_buff::len, irlap_cb::magic, NULL, and irlap_cb::state.

Referenced by irlap_data_request().

void irlap_compressor_init struct irlap_cb self,
int  compress
 

Definition at line 181 of file irlap_comp.c.

References ASSERT, CI_DEFLATE, CILEN_DEFLATE, debug, DEFLATE_CHK_SEQUENCE, DEFLATE_METHOD_VAL, IRDA_DEBUG, LAP_MAGIC, irlap_cb::magic, NULL, irlap_cb::state, and TRUE.

Referenced by irlap_apply_connection_parameters().

struct sk_buff* irlap_decompress_frame struct irlap_cb self,
struct sk_buff skb
 

Definition at line 302 of file irlap_comp.c.

References ASSERT, count, sk_buff::data, dev_kfree_skb, IRDA_DEBUG, LAP_COMP_HEADER, LAP_MAGIC, sk_buff::len, irlap_cb::magic, NULL, and irlap_cb::state.

Referenced by irlap_data_indication().


Variable Documentation

hashbin_t* irlap_compressors
 

Definition at line 36 of file irlap_comp.c.

Referenced by irlap_cleanup(), and irlap_init().