36 #ifndef _NET_SLCOMPRESS_H_ 37 #define _NET_SLCOMPRESS_H_ 91 #define TYPE_UNCOMPRESSED_TCP 0x70 92 #define TYPE_COMPRESSED_TCP 0x80 93 #define TYPE_ERROR 0x00 104 #define SPECIAL_I (NEW_S|NEW_W|NEW_U) 105 #define SPECIAL_D (NEW_S|NEW_A|NEW_W|NEW_U) 106 #define SPECIALS_MASK (NEW_S|NEW_A|NEW_W|NEW_U) 108 #define TCP_PUSH_BIT 0x10 123 char csu_hdr[MAX_HDR];
127 #define cs_ip slcs_u.csu_ip 128 #define cs_hdr slcs_u.csu_hdr 144 int sls_uncompressedin;
145 int sls_compressedin;
149 struct cstate tstate[MAX_STATES];
150 struct cstate rstate[MAX_STATES];
155 void sl_compress_init(
struct slcompress *,
int);
156 u_int sl_compress_tcp(
struct mbuf *,
struct ip *,
struct slcompress *,
int);
157 int sl_uncompress_tcp(u_char **,
int, u_int,
struct slcompress *);
158 int sl_uncompress_tcp_core(u_char *,
int,
int, u_int,
Definition: slcompress.h:118
Definition: slcompress.h:135