Lines Matching refs:cs_hlen
483 cs->cs_hlen = (u16_t)hlen; in vj_uncompress_uncomp()
548 u32_t i = lwip_ntohs(IPH_LEN(&cs->cs_ip)) - cs->cs_hlen; in vj_uncompress_tcp()
559 tmp = lwip_ntohl(th->seqno) + lwip_ntohs(IPH_LEN(&cs->cs_ip)) - cs->cs_hlen; in vj_uncompress_tcp()
605 tmp = n0->tot_len - vjlen + cs->cs_hlen; in vj_uncompress_tcp()
608 IPH_LEN_SET(&cs->cs_ip, lwip_htons(n0->tot_len - vjlen + cs->cs_hlen)); in vj_uncompress_tcp()
636 np = pbuf_alloc(PBUF_LINK, n0->len + cs->cs_hlen, PBUF_POOL); in vj_uncompress_tcp()
638 np = pbuf_alloc(PBUF_RAW, n0->len + cs->cs_hlen, PBUF_POOL); in vj_uncompress_tcp()
645 if (pbuf_remove_header(np, cs->cs_hlen)) { in vj_uncompress_tcp()
661 if (pbuf_add_header(n0, cs->cs_hlen)) { in vj_uncompress_tcp()
664 …LWIP_ASSERT("vj_uncompress_tcp: cs->cs_hlen <= PBUF_POOL_BUFSIZE", cs->cs_hlen <= PBUF_POOL_BUFSIZ… in vj_uncompress_tcp()
665 np = pbuf_alloc(PBUF_RAW, cs->cs_hlen, PBUF_POOL); in vj_uncompress_tcp()
673 LWIP_ASSERT("n0->len >= cs->cs_hlen", n0->len >= cs->cs_hlen); in vj_uncompress_tcp()
674 MEMCPY(n0->payload, &cs->cs_ip, cs->cs_hlen); in vj_uncompress_tcp()