Searched refs:TCPOLEN_FASTOPEN_REQ (Results 1 – 3 of 3) sorted by relevance
158 #define TCPOLEN_FASTOPEN_REQ 2 macro
341 if (MAX_TCPOPTLEN - optlen < TCPOLEN_FASTOPEN_REQ) { in tcp_tfo_check()380 TCPOLEN_FASTOPEN_REQ + TFO_COOKIE_LEN_DEFAULT) {410 if (TCPOLEN_FASTOPEN_REQ > MAX_TCPOPTLEN - optlen) { in tcp_tfo_write_cookie()413 tfo_len = (uint8_t)(MAX_TCPOPTLEN - optlen - TCPOLEN_FASTOPEN_REQ); in tcp_tfo_write_cookie()432 res = tcp_cache_get_cookie(tp, bp + TCPOLEN_FASTOPEN_REQ, tfo_len, &tfo_len); in tcp_tfo_write_cookie()435 *bp++ = TCPOLEN_FASTOPEN_REQ; in tcp_tfo_write_cookie()436 ret += TCPOLEN_FASTOPEN_REQ; in tcp_tfo_write_cookie()444 *bp++ = TCPOLEN_FASTOPEN_REQ + tfo_len; in tcp_tfo_write_cookie()446 ret += TCPOLEN_FASTOPEN_REQ + tfo_len; in tcp_tfo_write_cookie()
1603 len = *to->to_tfo - TCPOLEN_FASTOPEN_REQ; in tcp_tfo_syn()1632 unsigned char len = *to->to_tfo - TCPOLEN_FASTOPEN_REQ; in tcp_tfo_synack()6216 if (optlen == TCPOLEN_FASTOPEN_REQ) { in tcp_dooptions()6223 if (optlen < TCPOLEN_FASTOPEN_REQ || in tcp_dooptions()6224 (optlen - TCPOLEN_FASTOPEN_REQ) > TFO_COOKIE_LEN_MAX || in tcp_dooptions()6225 (optlen - TCPOLEN_FASTOPEN_REQ) < TFO_COOKIE_LEN_MIN) { in tcp_dooptions()