8const int VJHC_MAX_HDR = 128;
9const uint8_t VJHC_MAX_STATES = 16;
28} __attribute__((packed)) vjtcphdr;
30inline vjtcphdr *GetVJTcpHdrFromIp(
IPPKT *pIp)
33 return (vjtcphdr *)(((puint32_t)(pIp)) + hlen);
36struct __attribute__((packed)) cstate
42 union __attribute__((packed))
45 char extra[VJHC_MAX_HDR];
49 bool Match(
IPPKT *pIp);
53#define cs_hdr (char *)&csu_ip
63 struct cstate tstate[VJHC_MAX_STATES];
64 struct cstate rstate[VJHC_MAX_STATES];
66 volatile int NumStatesRX;
67 volatile int NumStatesTX;
69 uint8_t compress_tcp(uint8_t *&pData,
int &data_len,
int compress_cid);
70 PoolPtr uncompress_tcp(PoolPtr p, uint8_t *bufp,
int len, uint32_t type);
void init()
System initialization. Ideally called at the beginning of all applications, since the easiest Recover...
NetBurner IP Definitions.
Internal IPv4 Header.
Definition ip.h:120
uint8_t bVerHdrLen
Definition ip.h:121