Searched refs:tcp_now (Results 1 – 14 of 14) sorted by relevance
| /xnu-11417.101.15/bsd/netinet/ |
| H A D | tcp_cache.c | 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() [all …]
|
| H A D | tcp_timer.c | 567 timer = tcp_now + delay; in add_to_time_wait_locked() 681 if (istimewait && TSTMP_GEQ(tcp_now, tp->t_timer[TCPT_2MSL]) && in tcp_garbage_collect() 844 TSTMP_GEQ(tcp_now, tw_tp->t_timer[TCPT_2MSL])) { in tcp_gc() 879 tp->tentry.timer_start = tcp_now; in tcp_canceltimers() 1039 idle_time = tcp_now - tp->t_rcvtime; in tcp_timers() 1095 (tcp_now - tp->t_rxtstart) >= tp->t_rxt_conndroptime) || in tcp_timers() 1107 if (TSTMP_LT(tcp_now, (tp->t_rxtstart + in tcp_timers() 1152 tp->t_rxtstart = tcp_now; in tcp_timers() 1316 tp->t_pmtud_start_ts = tcp_now; in tcp_timers() 1461 TSTMP_LEQ(tp->t_persist_stop, tcp_now))) { in tcp_timers() [all …]
|
| H A D | tcp_rack.c | 130 if (TSTMP_GEQ(tcp_now, wait_ts)) { in tcp_rack_detect_segment_lost() 141 return wait_ts - tcp_now; in tcp_rack_detect_segment_lost() 157 uint32_t rtt = tcp_now - xmit_ts; in tcp_rack_update_segment_acked() 176 if ((tsecr != 0 && (TSTMP_LT(tsecr, xmit_ts) || TSTMP_GT(tsecr, tcp_now))) in tcp_rack_update_segment_acked()
|
| H A D | tcp_utils.h | 47 return tcp_now; in tcp_globals_now()
|
| H A D | tcp_input.c | 267 uint32_t tcp_now; variable 359 tp->iaj_rcv_ts = tcp_now; in update_iaj_state() 475 compute_iaj_meat(tp, (tcp_now - tp->iaj_rcv_ts)); in compute_iaj() 490 uint32_t now = tcp_now; in tcp_is_ack_ratelimited() 531 elapsed_time = tcp_now - tp->t_bwmeas->bw_ts; in tcp_bwmeas_check() 1036 if (TSTMP_GEQ(tcp_now, in tcp_sbrcv_grow() 1113 TSTMP_GT(tcp_now, tp->rfbuf_ts)) { in tcp_sbrcv_grow() 1116 (int)(tcp_now - tp->rfbuf_ts); in tcp_sbrcv_grow() 1132 tp->rfbuf_ts = tcp_now; in tcp_sbrcv_grow() 1249 TSTMP_GEQ(tp->rcv_unackwin, tcp_now)) { in tcp_stretch_ack_enable() [all …]
|
| H A D | tcp_timer.h | 332 #define OFFSET_FROM_START(tp, off) ((tcp_now + (off)) - (tp)->tentry.timer_start)
|
| H A D | tcp_sack.c | 291 hole->rxmit_start = tcp_now; in tcp_sackhole_insert() 390 rext = timer_diff(tcp_now, 0, s->rxmit_start, 0); in tcp_sack_detect_reordering()
|
| H A D | tcp_subr.c | 540 read_frandom(&tcp_now, sizeof(tcp_now)); in tcp_init() 543 tcp_now = tcp_now & 0x3fffffff; in tcp_init() 546 tcp_now_init = tcp_now; in tcp_init() 1187 tp->t_rcvtime = tcp_now; in tcp_newtcpcb() 1188 tp->tentry.timer_start = tcp_now; in tcp_newtcpcb() 1189 tp->rcv_unackwin = tcp_now; in tcp_newtcpcb() 1195 tp->rfbuf_ts = tcp_now; in tcp_newtcpcb() 1219 tp->t_comp_ack_lastinc = tcp_now; in tcp_newtcpcb() 3633 tcp_now += incr; in calculate_tcp_clock()
|
| H A D | mptcp.c | 756 if ((tcp_now - preferred_mpts->mpts_probesoon) > mptcp_probeto) { in mptcp_output() 764 preferred_mpts->mpts_probesoon = tcp_now; in mptcp_output()
|
| H A D | tcp_usrreq.c | 1530 ((int)(tcp_now - otp->t_starttime)) < tcp_msl && in tcp_connect() 1599 tp->t_connect_time = tcp_now; in tcp_connect() 1666 ((int)(tcp_now - otp->t_starttime)) < tcp_msl && in tcp6_connect() 1734 tp->t_connect_time = tcp_now; in tcp6_connect()
|
| H A D | tcp_output.c | 723 uint32_t tcp_now_local = os_access_once(tcp_now); in tcp_output() 820 tcp_now_local = os_access_once(tcp_now); in tcp_output() 3787 tp->t_persist_stop = tcp_now + tp->t_persist_timeout; in tcp_setpersist() 3834 tp->t_recv_throttle_ts = tcp_now; in tcp_recv_throttle()
|
| H A D | tcp_log.c | 603 duration = tcp_now - tp->t_connect_time; in tcp_log_connection_summary()
|
| H A D | mptcp_subr.c | 298 mpte->mpte_last_cellicon_set = tcp_now; in mptcp_session_create() 2937 if (TSTMP_LT(mpte->mpte_last_cellicon_set + MPTCP_CELLICON_TOGGLE_RATE, tcp_now)) { in mptcp_subflow_input() 3379 if (TSTMP_LT(mpte->mpte_last_cellicon_set + MPTCP_CELLICON_TOGGLE_RATE, tcp_now)) { in mptcp_subflow_output() 6742 mpte->mpte_last_cellicon_set = tcp_now; in mptcp_set_cellicon()
|
| H A D | tcp_var.h | 1758 extern uint32_t tcp_now; /* for RFC 1323 timestamps */
|