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()
575 TSTMP_GEQ(tcp_now, tpcache->tc_mptcp_next_version_try)) { in tcp_cache_get_mptcp_version()
628 if (TSTMP_GEQ(tcp_now, tpcache->tc_mptcp_next_version_try)) { in tcp_cache_update_mptcp_version()
629 tpcache->tc_mptcp_next_version_try = tcp_now + tcp_min_to_hz(mptcp_version_timeout); in tcp_cache_update_mptcp_version()
640 if (TSTMP_GEQ(tcp_now, tpcache->tc_mptcp_next_version_try)) { in tcp_cache_update_mptcp_version()
641 tpcache->tc_mptcp_next_version_try = tcp_now + tcp_min_to_hz(mptcp_version_timeout); in tcp_cache_update_mptcp_version()
716 uint32_t age = tcp_now - tpheur->th_last_access; in tcp_getheuristic_with_lock()
746 tpheur->th_ecn_backoff = tcp_now; in tcp_getheuristic_with_lock()
747 tpheur->th_tfo_backoff_until = tcp_now; in tcp_getheuristic_with_lock()
748 tpheur->th_mptcp_backoff = tcp_now; in tcp_getheuristic_with_lock()
759 tpheur->th_last_access = tcp_now; in tcp_getheuristic_with_lock()
834 tpheur->th_mptcp_backoff = tcp_now + tcp_min_to_hz(tcp_ecn_timeout * 12); in tcp_heuristic_reset_counters()
891 tpheur->th_tfo_backoff -= (tcp_now - tpheur->th_tfo_enabled_time); in __tcp_heuristic_tfo_middlebox_common()
897 tpheur->th_tfo_backoff_until = tcp_now + tpheur->th_tfo_backoff; in __tcp_heuristic_tfo_middlebox_common()
907 tpheur->th_tfo_backoff_until, tcp_now, (unsigned long)VM_KERNEL_ADDRPERM(tpheur)); in __tcp_heuristic_tfo_middlebox_common()
973 TSTMP_LEQ(tpheur->th_ecn_backoff, tcp_now)) { in tcp_heuristic_inc_counters()
978 tpheur->th_ecn_backoff = tcp_now + in tcp_heuristic_inc_counters()
983 __func__, tpheur->th_ecn_backoff, tcp_now, in tcp_heuristic_inc_counters()
997 tpheur->th_mptcp_backoff = tcp_now + in tcp_heuristic_inc_counters()
1003 __func__, tpheur->th_mptcp_backoff, tcp_now, in tcp_heuristic_inc_counters()
1010 TSTMP_LEQ(tpheur->th_ecn_backoff, tcp_now)) { in tcp_heuristic_inc_counters()
1016 tpheur->th_ecn_backoff = tcp_now + in tcp_heuristic_inc_counters()
1021 __func__, tpheur->th_ecn_backoff, tcp_now, in tcp_heuristic_inc_counters()
1028 TSTMP_LEQ(tpheur->th_ecn_backoff, tcp_now)) { in tcp_heuristic_inc_counters()
1034 tpheur->th_ecn_backoff = tcp_now + in tcp_heuristic_inc_counters()
1039 __func__, tpheur->th_ecn_backoff, tcp_now, in tcp_heuristic_inc_counters()
1050 tpheur->th_ecn_backoff = tcp_now + in tcp_heuristic_inc_counters()
1055 __func__, tpheur->th_ecn_backoff, tcp_now, in tcp_heuristic_inc_counters()
1185 if (TSTMP_GT(tpheur->th_ecn_backoff, tcp_now)) { in tcp_heuristic_ecn_aggressive_common()
1192 tpheur->th_ecn_backoff = tcp_now + in tcp_heuristic_ecn_aggressive_common()
1206 tpheur->th_ecn_backoff, tcp_now, (unsigned long)VM_KERNEL_ADDRPERM(tpheur)); in tcp_heuristic_ecn_aggressive_common()
1238 if (TSTMP_GT(tcp_now, tpheur->th_tfo_backoff_until)) { in tcp_heuristic_do_tfo_common()
1240 tpheur->th_tfo_enabled_time = tcp_now; in tcp_heuristic_do_tfo_common()
1297 if (TSTMP_GT(tpheur->th_mptcp_backoff, tcp_now)) { in tcp_heuristic_do_mptcp()
1307 if (TSTMP_GT(tcp_now, tpheur->th_mptcp_backoff)) { in tcp_heuristic_do_mptcp()
1347 if (TSTMP_GT(tpheur->th_ecn_backoff, tcp_now)) { in tcp_heuristic_do_ecn_common()
1362 tpheur->th_ecn_backoff = tcp_now; in tcp_heuristic_do_ecn_common()