Home
last modified time | relevance | path

Searched refs:TCP_HLEN (Results 1 – 4 of 4) sorted by relevance

/third_party/lwip/src/include/lwip/prot/
Dtcp.h47 #define TCP_HLEN 20 macro
/third_party/lwip/src/core/
Dtcp_in.c145 if (p->len < TCP_HLEN) {
176 if ((hdrlen_bytes < TCP_HLEN) || (hdrlen_bytes > p->tot_len)) {
184 tcphdr_optlen = (u16_t)(hdrlen_bytes - TCP_HLEN);
197 pbuf_remove_header(p, TCP_HLEN);
1893 u8_t *opts = (u8_t *)tcphdr + TCP_HLEN;
Dtcp_out.c190 if (pbuf_add_header(p, TCP_HLEN)) { in tcp_create_segment()
1826 p = pbuf_alloc(PBUF_IP, TCP_HLEN + optlen + datalen, PBUF_RAM); in tcp_output_alloc_header_common()
1829 (p->len >= TCP_HLEN + optlen)); in tcp_output_alloc_header_common()
2170 char *d = ((char *)p->payload + TCP_HLEN); in tcp_zero_window_probe()
Dtcp.c2279 offset = IP6_HLEN + TCP_HLEN; in tcp_eff_send_mss_netif()
2287 offset = IP_HLEN + TCP_HLEN; in tcp_eff_send_mss_netif()