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()356 if ((MAX_TCPOPTLEN - optlen) < in mptcp_setup_opts()400 if ((MAX_TCPOPTLEN - optlen) < mmco_len) { in mptcp_setup_opts()466 if (optlen + rem_opt_len <= MAX_TCPOPTLEN) { in mptcp_setup_opts()495 if (MAX_TCPOPTLEN - optlen < dssoptlen) { \ in mptcp_setup_opts()664 VERIFY(optlen <= MAX_TCPOPTLEN); in mptcp_setup_opts()694 VERIFY(optlen <= MAX_TCPOPTLEN); in mptcp_setup_opts()749 if (optlen > MAX_TCPOPTLEN) { in mptcp_setup_opts()[all …]
142 #define MAX_TCPOPTLEN 40 /* Absolute maximum TCP options len */ macro
341 if (MAX_TCPOPTLEN - optlen < TCPOLEN_FASTOPEN_REQ) { in tcp_tfo_check()352 if (MAX_TCPOPTLEN - optlen < cookie_len) { in tcp_tfo_check()357 if (so->so_snd.sb_cc > (tp->t_maxopd - MAX_TCPOPTLEN)) { in tcp_tfo_check()379 if (MAX_TCPOPTLEN - optlen <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()1946 MAX_TCPOPTLEN - optlen >= TCPOLEN_SACK + 2) { in tcp_output()1952 nsack = (MAX_TCPOPTLEN - optlen - 2) / TCPOLEN_SACK; in tcp_output()1973 padlen = (MAX_TCPOPTLEN - optlen - sackoptlen) % 4; in tcp_output()2007 VERIFY((u_char *)lp - opt <= MAX_TCPOPTLEN); in tcp_output()[all …]
120 uint32_t tcp_option_m[MAX_TCPOPTLEN / sizeof(uint32_t)];
3261 u_char opts[MAX_TCPOPTLEN]; in pf_normalize_tcpopt()
2596 u_int8_t opts[MAX_TCPOPTLEN], *opt = opts; in pf_modulate_sack()