Lines Matching refs:tcp_now
360 uint32_t age = tcp_now - tpcache->tc_last_access; in tcp_getcache_with_lock()
381 tpcache->tc_mptcp_next_version_try = tcp_now; in tcp_getcache_with_lock()
394 tpcache->tc_last_access = tcp_now; in tcp_getcache_with_lock()
572 TSTMP_GEQ(tcp_now, tpcache->tc_mptcp_next_version_try)) { in tcp_cache_get_mptcp_version()
625 if (TSTMP_GEQ(tcp_now, tpcache->tc_mptcp_next_version_try)) { in tcp_cache_update_mptcp_version()
626 tpcache->tc_mptcp_next_version_try = tcp_now + tcp_min_to_hz(mptcp_version_timeout); in tcp_cache_update_mptcp_version()
637 if (TSTMP_GEQ(tcp_now, tpcache->tc_mptcp_next_version_try)) { in tcp_cache_update_mptcp_version()
638 tpcache->tc_mptcp_next_version_try = tcp_now + tcp_min_to_hz(mptcp_version_timeout); in tcp_cache_update_mptcp_version()
713 uint32_t age = tcp_now - tpheur->th_last_access; in tcp_getheuristic_with_lock()
741 tpheur->th_ecn_backoff = tcp_now; in tcp_getheuristic_with_lock()
742 tpheur->th_tfo_backoff_until = tcp_now; in tcp_getheuristic_with_lock()
743 tpheur->th_mptcp_backoff = tcp_now; in tcp_getheuristic_with_lock()
754 tpheur->th_last_access = tcp_now; in tcp_getheuristic_with_lock()
829 tpheur->th_mptcp_backoff = tcp_now + tcp_min_to_hz(tcp_ecn_timeout * 12); in tcp_heuristic_reset_counters()
886 tpheur->th_tfo_backoff -= (tcp_now - tpheur->th_tfo_enabled_time); in __tcp_heuristic_tfo_middlebox_common()
892 tpheur->th_tfo_backoff_until = tcp_now + tpheur->th_tfo_backoff; in __tcp_heuristic_tfo_middlebox_common()
902 tpheur->th_tfo_backoff_until, tcp_now, (unsigned long)VM_KERNEL_ADDRPERM(tpheur)); in __tcp_heuristic_tfo_middlebox_common()
968 TSTMP_LEQ(tpheur->th_ecn_backoff, tcp_now)) { in tcp_heuristic_inc_counters()
973 tpheur->th_ecn_backoff = tcp_now + in tcp_heuristic_inc_counters()
978 __func__, tpheur->th_ecn_backoff, tcp_now, in tcp_heuristic_inc_counters()
992 tpheur->th_mptcp_backoff = tcp_now + in tcp_heuristic_inc_counters()
998 __func__, tpheur->th_mptcp_backoff, tcp_now, in tcp_heuristic_inc_counters()
1005 TSTMP_LEQ(tpheur->th_ecn_backoff, tcp_now)) { in tcp_heuristic_inc_counters()
1011 tpheur->th_ecn_backoff = tcp_now + in tcp_heuristic_inc_counters()
1016 __func__, tpheur->th_ecn_backoff, tcp_now, in tcp_heuristic_inc_counters()
1023 TSTMP_LEQ(tpheur->th_ecn_backoff, tcp_now)) { in tcp_heuristic_inc_counters()
1029 tpheur->th_ecn_backoff = tcp_now + in tcp_heuristic_inc_counters()
1034 __func__, tpheur->th_ecn_backoff, tcp_now, in tcp_heuristic_inc_counters()
1045 tpheur->th_ecn_backoff = tcp_now + in tcp_heuristic_inc_counters()
1050 __func__, tpheur->th_ecn_backoff, tcp_now, in tcp_heuristic_inc_counters()
1180 if (TSTMP_GT(tpheur->th_ecn_backoff, tcp_now)) { in tcp_heuristic_ecn_aggressive_common()
1187 tpheur->th_ecn_backoff = tcp_now + in tcp_heuristic_ecn_aggressive_common()
1201 tpheur->th_ecn_backoff, tcp_now, (unsigned long)VM_KERNEL_ADDRPERM(tpheur)); in tcp_heuristic_ecn_aggressive_common()
1233 if (TSTMP_GT(tcp_now, tpheur->th_tfo_backoff_until)) { in tcp_heuristic_do_tfo_common()
1235 tpheur->th_tfo_enabled_time = tcp_now; in tcp_heuristic_do_tfo_common()
1292 if (TSTMP_GT(tpheur->th_mptcp_backoff, tcp_now)) { in tcp_heuristic_do_mptcp()
1302 if (TSTMP_GT(tcp_now, tpheur->th_mptcp_backoff)) { in tcp_heuristic_do_mptcp()
1342 if (TSTMP_GT(tpheur->th_ecn_backoff, tcp_now)) { in tcp_heuristic_do_ecn_common()
1357 tpheur->th_ecn_backoff = tcp_now; in tcp_heuristic_do_ecn_common()