Searched refs:TCPOLEN_FASTOPEN_REQ (Results 1 – 3 of 3) sorted by relevance
158 #define TCPOLEN_FASTOPEN_REQ 2 macro
356 if (MAX_TCPOPTLEN - optlen < TCPOLEN_FASTOPEN_REQ) { in tcp_tfo_check()395 TCPOLEN_FASTOPEN_REQ + TFO_COOKIE_LEN_DEFAULT) {425 if (TCPOLEN_FASTOPEN_REQ > MAX_TCPOPTLEN - optlen) { in tcp_tfo_write_cookie()428 tfo_len = (uint8_t)(MAX_TCPOPTLEN - optlen - TCPOLEN_FASTOPEN_REQ); in tcp_tfo_write_cookie()447 res = tcp_cache_get_cookie(tp, bp + TCPOLEN_FASTOPEN_REQ, tfo_len, &tfo_len); in tcp_tfo_write_cookie()450 *bp++ = TCPOLEN_FASTOPEN_REQ; in tcp_tfo_write_cookie()451 ret += TCPOLEN_FASTOPEN_REQ; in tcp_tfo_write_cookie()459 *bp++ = TCPOLEN_FASTOPEN_REQ + tfo_len; in tcp_tfo_write_cookie()461 ret += TCPOLEN_FASTOPEN_REQ + tfo_len; in tcp_tfo_write_cookie()
1603 len = *to->to_tfo - TCPOLEN_FASTOPEN_REQ; in tcp_tfo_syn()1633 unsigned char len = *to->to_tfo - TCPOLEN_FASTOPEN_REQ; in tcp_tfo_synack()6281 if (optlen == TCPOLEN_FASTOPEN_REQ) { in tcp_dooptions()6288 if (optlen < TCPOLEN_FASTOPEN_REQ || in tcp_dooptions()6289 (optlen - TCPOLEN_FASTOPEN_REQ) > TFO_COOKIE_LEN_MAX || in tcp_dooptions()6290 (optlen - TCPOLEN_FASTOPEN_REQ) < TFO_COOKIE_LEN_MIN) { in tcp_dooptions()