Searched refs:TCP_HLEN (Results 1 – 12 of 12) sorted by relevance
| /components/net/lwip/lwip-2.0.3/src/include/lwip/prot/ |
| A D | tcp.h | 47 #define TCP_HLEN 20 macro
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/prot/ |
| A D | tcp.h | 47 #define TCP_HLEN 20 macro
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | tcp_out.c | 98 struct pbuf *p = pbuf_alloc(PBUF_IP, TCP_HLEN + optlen + datalen, PBUF_RAM); in tcp_output_alloc_header() 101 (p->len >= TCP_HLEN + optlen)); in tcp_output_alloc_header() 185 if (pbuf_header(p, TCP_HLEN)) { in tcp_create_segment() 1201 p = pbuf_alloc(PBUF_IP, TCP_HLEN, PBUF_RAM); in tcp_rst() 1214 TCPH_HDRLEN_FLAGS_SET(tcphdr, TCP_HLEN/4, TCP_RST | TCP_ACK); in tcp_rst() 1464 char *d = ((char *)p->payload + TCP_HLEN); in tcp_zero_window_probe()
|
| A D | tcp.c | 1593 mss_s = outif->mtu - IP_HLEN - TCP_HLEN; in tcp_eff_send_mss()
|
| A D | tcp_in.c | 1551 opts = (u8_t *)tcphdr + TCP_HLEN; in tcp_parseopt()
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | tcp_out.c | 112 struct pbuf *p = pbuf_alloc(PBUF_IP, TCP_HLEN + optlen + datalen, PBUF_RAM); in tcp_output_alloc_header() 115 (p->len >= TCP_HLEN + optlen)); in tcp_output_alloc_header() 200 if (pbuf_header(p, TCP_HLEN)) { in tcp_create_segment() 1351 p = pbuf_alloc(PBUF_IP, TCP_HLEN, PBUF_RAM); in tcp_rst() 1364 TCPH_HDRLEN_FLAGS_SET(tcphdr, TCP_HLEN/4, TCP_RST | TCP_ACK); in tcp_rst() 1632 char *d = ((char *)p->payload + TCP_HLEN); in tcp_zero_window_probe()
|
| A D | tcp_in.c | 129 if (p->len < TCP_HLEN) { 160 if ((hdrlen_bytes < TCP_HLEN) || (hdrlen_bytes > p->tot_len)) { 168 tcphdr_optlen = hdrlen_bytes - TCP_HLEN; 181 pbuf_header(p, -TCP_HLEN); 1712 u8_t* opts = (u8_t *)tcphdr + TCP_HLEN;
|
| A D | tcp.c | 1954 mss_s = mtu - IP6_HLEN - TCP_HLEN; in tcp_eff_send_mss_impl() 1962 mss_s = mtu - IP_HLEN - TCP_HLEN; in tcp_eff_send_mss_impl()
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | tcp_in.c | 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); 1892 u8_t *opts = (u8_t *)tcphdr + TCP_HLEN;
|
| A D | tcp_out.c | 190 if (pbuf_add_header(p, TCP_HLEN)) { in tcp_create_segment() 1825 p = pbuf_alloc(PBUF_IP, TCP_HLEN + optlen + datalen, PBUF_RAM); in tcp_output_alloc_header_common() 1828 (p->len >= TCP_HLEN + optlen)); in tcp_output_alloc_header_common() 2169 char *d = ((char *)p->payload + TCP_HLEN); in tcp_zero_window_probe()
|
| A D | tcp.c | 2275 offset = IP6_HLEN + TCP_HLEN; in tcp_eff_send_mss_netif() 2283 offset = IP_HLEN + TCP_HLEN; in tcp_eff_send_mss_netif()
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | tcp_impl.h | 114 #define TCP_HLEN 20 macro
|
Completed in 28 milliseconds