Searched refs:TCP_HLEN (Results 1 – 4 of 4) sorted by relevance
47 #define TCP_HLEN 20 macro
148 if (p->len < TCP_HLEN) {179 if ((hdrlen_bytes < TCP_HLEN) || (hdrlen_bytes > p->tot_len)) {187 tcphdr_optlen = (u16_t)(hdrlen_bytes - TCP_HLEN);200 pbuf_remove_header(p, TCP_HLEN);1927 u8_t *opts = (u8_t *)tcphdr + TCP_HLEN;
202 if (pbuf_add_header(p, TCP_HLEN)) { in tcp_create_segment()1838 p = pbuf_alloc(PBUF_IP, TCP_HLEN + optlen + datalen, PBUF_RAM); in tcp_output_alloc_header_common()1841 (p->len >= TCP_HLEN + optlen)); in tcp_output_alloc_header_common()2182 char *d = ((char *)p->payload + TCP_HLEN); in tcp_zero_window_probe()
2456 offset = IP6_HLEN + TCP_HLEN;2464 offset = IP_HLEN + TCP_HLEN;