Searched refs:MAX_TCPOPTLEN (Results 1 – 6 of 6) sorted by relevance
168 if ((MAX_TCPOPTLEN - optlen) < sizeof(struct mptcp_mpjoin_opt_rsp2)) { in mptcp_setup_join_ack_opts()215 if ((MAX_TCPOPTLEN - optlen) < sizeof(struct mptcp_mpfail_opt)) { in mptcp_send_mpfail()256 if ((MAX_TCPOPTLEN - optlen) < (len + csum_len)) { in mptcp_send_infinite_mapping()349 if ((MAX_TCPOPTLEN - optlen) < in mptcp_setup_opts()393 if ((MAX_TCPOPTLEN - optlen) < mmco_len) { in mptcp_setup_opts()459 if (optlen + rem_opt_len <= MAX_TCPOPTLEN) { in mptcp_setup_opts()488 if (MAX_TCPOPTLEN - optlen < dssoptlen) { \ in mptcp_setup_opts()657 VERIFY(optlen <= MAX_TCPOPTLEN); in mptcp_setup_opts()687 VERIFY(optlen <= MAX_TCPOPTLEN); in mptcp_setup_opts()742 if (optlen > MAX_TCPOPTLEN) { in mptcp_setup_opts()[all …]
142 #define MAX_TCPOPTLEN 40 /* Absolute maximum TCP options len */ macro
339 if (MAX_TCPOPTLEN - optlen < TCPOLEN_FASTOPEN_REQ) { in tcp_tfo_check()350 if (MAX_TCPOPTLEN - optlen < cookie_len) { in tcp_tfo_check()355 if (so->so_snd.sb_cc > (tp->t_maxopd - MAX_TCPOPTLEN)) { in tcp_tfo_check()376 if (MAX_TCPOPTLEN - optlen < in tcp_tfo_write_cookie_rep()407 if (TCPOLEN_FASTOPEN_REQ > MAX_TCPOPTLEN - optlen) { in tcp_tfo_write_cookie()410 tfo_len = (uint8_t)(MAX_TCPOPTLEN - optlen - TCPOLEN_FASTOPEN_REQ); in tcp_tfo_write_cookie()1829 MAX_TCPOPTLEN - optlen >= TCPOLEN_SACK + 2) { in tcp_output()1835 nsack = (MAX_TCPOPTLEN - optlen - 2) / TCPOLEN_SACK; in tcp_output()1846 padlen = (MAX_TCPOPTLEN - optlen - sackoptlen) % 4; in tcp_output()1880 VERIFY((u_char *)lp - opt <= MAX_TCPOPTLEN); in tcp_output()[all …]
111 uint32_t tcp_option_m[MAX_TCPOPTLEN / sizeof(uint32_t)];
3263 u_char opts[MAX_TCPOPTLEN]; in pf_normalize_tcpopt()
2558 u_int8_t opts[MAX_TCPOPTLEN], *opt = opts; in pf_modulate_sack()