Home
last modified time | relevance | path

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

/third_party/lwip/src/core/
H A Dtcp_in.c129 u8_t hdrlen_bytes; local
178 hdrlen_bytes = TCPH_HDRLEN_BYTES(tcphdr);
179 if ((hdrlen_bytes < TCP_HLEN) || (hdrlen_bytes > p->tot_len)) {
180 LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_input: invalid header length (%"U16_F")\n", (u16_t)hdrlen_bytes));
187 tcphdr_optlen = (u16_t)(hdrlen_bytes - TCP_HLEN);
189 if (p->len >= hdrlen_bytes) {
192 pbuf_remove_header(p, hdrlen_bytes); /* cannot fail */
196 /* there must be a next pbuf, due to hdrlen_bytes sanity check above */

Completed in 3 milliseconds