Home
last modified time | relevance | path

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

/third_party/lwip/src/core/
Dtcp_in.c126 u8_t hdrlen_bytes; local
175 hdrlen_bytes = TCPH_HDRLEN_BYTES(tcphdr);
176 if ((hdrlen_bytes < TCP_HLEN) || (hdrlen_bytes > p->tot_len)) {
177 …IP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_input: invalid header length (%"U16_F")\n", (u16_t)hdrlen_bytes));
184 tcphdr_optlen = (u16_t)(hdrlen_bytes - TCP_HLEN);
186 if (p->len >= hdrlen_bytes) {
189 pbuf_remove_header(p, hdrlen_bytes); /* cannot fail */