|
Linux Kernel
3.7.1
|
#include <linux/ip.h>#include <linux/tcp.h>Go to the source code of this file.
Data Structures | |
| struct | cstate |
| struct | slcompress |
Macros | |
| #define | SL_TYPE_IP 0x40 |
| #define | SL_TYPE_UNCOMPRESSED_TCP 0x70 |
| #define | SL_TYPE_COMPRESSED_TCP 0x80 |
| #define | SL_TYPE_ERROR 0x00 |
| #define | NEW_C 0x40 /* flag bits for what changed in a packet */ |
| #define | NEW_I 0x20 |
| #define | NEW_S 0x08 |
| #define | NEW_A 0x04 |
| #define | NEW_W 0x02 |
| #define | NEW_U 0x01 |
| #define | SPECIAL_I (NEW_S|NEW_W|NEW_U) /* echoed interactive traffic */ |
| #define | SPECIAL_D (NEW_S|NEW_A|NEW_W|NEW_U) /* unidirectional data */ |
| #define | SPECIALS_MASK (NEW_S|NEW_A|NEW_W|NEW_U) |
| #define | TCP_PUSH_BIT 0x10 |
| #define | NULLSLSTATE (struct cstate *)0 |
| #define | SLF_TOSS 0x01 /* tossing rcvd frames until id received */ |
| #define | NULLSLCOMPR (struct slcompress *)0 |
Typedefs | |
| typedef __u8 | byte_t |
| typedef __u32 | int32 |
Functions | |
| struct slcompress * | slhc_init (int rslots, int tslots) |
| void | slhc_free (struct slcompress *comp) |
| int | slhc_compress (struct slcompress *comp, unsigned char *icp, int isize, unsigned char *ocp, unsigned char **cpp, int compress_cid) |
| int | slhc_uncompress (struct slcompress *comp, unsigned char *icp, int isize) |
| int | slhc_remember (struct slcompress *comp, unsigned char *icp, int isize) |
| int | slhc_toss (struct slcompress *comp) |
| #define NEW_C 0x40 /* flag bits for what changed in a packet */ |
| #define NULLSLCOMPR (struct slcompress *)0 |
| #define SLF_TOSS 0x01 /* tossing rcvd frames until id received */ |
| void slhc_free | ( | struct slcompress * | comp | ) |
| int slhc_remember | ( | struct slcompress * | comp, |
| unsigned char * | icp, | ||
| int | isize | ||
| ) |
| int slhc_toss | ( | struct slcompress * | comp | ) |
1.8.2