1 /********************************************************************* 3 * Filename: irlap_comp.h 6 * Status: Experimental. 7 * Author: Dag Brattli <dagb@cs.uit.no> 8 * Created at: Fri Oct 9 09:21:12 1998 9 * Modified at: Sat Dec 12 12:23:16 1998 10 * Modified by: Dag Brattli <dagb@cs.uit.no> 12 * Copyright (c) 1998 Dag Brattli, All Rights Reserved. 14 * This program is free software; you can redistribute it and/or 15 * modify it under the terms of the GNU General Public License as 16 * published by the Free Software Foundation; either version 2 of 17 * the License, or (at your option) any later version. 19 * Neither Dag Brattli nor University of Tromsø admit liability nor 20 * provide warranty for any of this software. This material is 21 * provided "AS-IS" and at no charge. 23 ********************************************************************/ 28 #include <linux/ppp-comp.h> 30 #define CI_BZIP2 27/* Random pick */ 32 extern hashbin_t
*irlap_compressors
; 34 intirda_register_compressor(struct compressor
*cp
); 35 voidirda_unregister_compressor(struct compressor
*cp
); 37 intirda_set_compression(struct irlap_cb
*self
,int proto
); 38 voidirlap_compressor_init(struct irlap_cb
*self
,int compress
); 39 voidirda_free_compression(struct irlap_cb
*self
); 41 struct sk_buff
*irlap_compress_frame(struct irlap_cb
*self
, 43 struct sk_buff
*irlap_decompress_frame(struct irlap_cb
*self
,