Searched refs:TCP_HLEN (Results 1 – 4 of 4) sorted by relevance
47 #define TCP_HLEN 20 macro
145 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;
190 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()
2279 offset = IP6_HLEN + TCP_HLEN; in tcp_eff_send_mss_netif()2287 offset = IP_HLEN + TCP_HLEN; in tcp_eff_send_mss_netif()