Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
compressor Struct Reference

#include <ppp-comp.h>

Data Fields

int compress_proto
 
void *(* comp_alloc )(unsigned char *options, int opt_len)
 
void(* comp_free )(void *state)
 
int(* comp_init )(void *state, unsigned char *options, int opt_len, int unit, int opthdr, int debug)
 
void(* comp_reset )(void *state)
 
int(* compress )(void *state, unsigned char *rptr, unsigned char *obuf, int isize, int osize)
 
void(* comp_stat )(void *state, struct compstat *stats)
 
void *(* decomp_alloc )(unsigned char *options, int opt_len)
 
void(* decomp_free )(void *state)
 
int(* decomp_init )(void *state, unsigned char *options, int opt_len, int unit, int opthdr, int mru, int debug)
 
void(* decomp_reset )(void *state)
 
int(* decompress )(void *state, unsigned char *ibuf, int isize, unsigned char *obuf, int osize)
 
void(* incomp )(void *state, unsigned char *ibuf, int icnt)
 
void(* decomp_stat )(void *state, struct compstat *stats)
 
struct moduleowner
 
unsigned int comp_extra
 

Detailed Description

Definition at line 36 of file ppp-comp.h.

Field Documentation

void*(* comp_alloc)(unsigned char *options, int opt_len)

Definition at line 40 of file ppp-comp.h.

unsigned int comp_extra

Definition at line 86 of file ppp-comp.h.

void(* comp_free)(void *state)

Definition at line 43 of file ppp-comp.h.

int(* comp_init)(void *state, unsigned char *options, int opt_len, int unit, int opthdr, int debug)

Definition at line 46 of file ppp-comp.h.

void(* comp_reset)(void *state)

Definition at line 50 of file ppp-comp.h.

void(* comp_stat)(void *state, struct compstat *stats)

Definition at line 57 of file ppp-comp.h.

int(* compress)(void *state, unsigned char *rptr, unsigned char *obuf, int isize, int osize)

Definition at line 53 of file ppp-comp.h.

int compress_proto

Definition at line 37 of file ppp-comp.h.

void*(* decomp_alloc)(unsigned char *options, int opt_len)

Definition at line 60 of file ppp-comp.h.

void(* decomp_free)(void *state)

Definition at line 63 of file ppp-comp.h.

int(* decomp_init)(void *state, unsigned char *options, int opt_len, int unit, int opthdr, int mru, int debug)

Definition at line 66 of file ppp-comp.h.

void(* decomp_reset)(void *state)

Definition at line 71 of file ppp-comp.h.

void(* decomp_stat)(void *state, struct compstat *stats)

Definition at line 81 of file ppp-comp.h.

int(* decompress)(void *state, unsigned char *ibuf, int isize, unsigned char *obuf, int osize)

Definition at line 74 of file ppp-comp.h.

void(* incomp)(void *state, unsigned char *ibuf, int icnt)

Definition at line 78 of file ppp-comp.h.

struct module* owner

Definition at line 84 of file ppp-comp.h.


The documentation for this struct was generated from the following file: