8const int VJHC_MAX_HDR = 128;
9const uint8_t VJHC_MAX_STATES = 16;
30inline vjtcphdr *GetVJTcpHdrFromIp(IPPKT *pIp)
32 uint32_t hlen = (pIp->bVerHdrLen & 0x0F);
33 return (vjtcphdr *)(((puint32_t)(pIp)) + hlen);
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...
Internal IPv4 Header Representation.
Definition arp.h:1035
Main buffer structure for network and serial communication.
Definition buffers.h:90