Searched refs:tcp_now (Results 1 – 14 of 14) sorted by relevance
| /xnu-11215.81.4/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_rack.c | 137 if (TSTMP_GEQ(tcp_now, wait_ts)) { in tcp_rack_detect_segment_lost() 148 return wait_ts - tcp_now; in tcp_rack_detect_segment_lost() 164 uint32_t rtt = tcp_now - xmit_ts; in tcp_rack_update_segment_acked() 183 if ((tsecr != 0 && (TSTMP_LT(tsecr, xmit_ts) || TSTMP_GT(tsecr, tcp_now))) in tcp_rack_update_segment_acked() 189 tsecr, xmit_ts, tcp_now, rtt, get_base_rtt(tp), end_seq); in tcp_rack_update_segment_acked()
|
| 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() 1309 tp->t_pmtud_start_ts = tcp_now; in tcp_timers() 1454 TSTMP_LEQ(tp->t_persist_stop, tcp_now))) { in tcp_timers() [all …]
|
| 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 | 538 read_frandom(&tcp_now, sizeof(tcp_now)); in tcp_init() 541 tcp_now = tcp_now & 0x3fffffff; in tcp_init() 544 tcp_now_init = tcp_now; in tcp_init() 1178 tp->t_rcvtime = tcp_now; in tcp_newtcpcb() 1179 tp->tentry.timer_start = tcp_now; in tcp_newtcpcb() 1180 tp->rcv_unackwin = tcp_now; in tcp_newtcpcb() 1186 tp->rfbuf_ts = tcp_now; in tcp_newtcpcb() 1209 tp->t_comp_lastinc = tcp_now; in tcp_newtcpcb() 3636 tcp_now += incr; in calculate_tcp_clock()
|
| H A D | tcp_log.c | 603 duration = tcp_now - tp->t_connect_time; in tcp_log_connection_summary() 1147 duration = tcp_now - tp->t_connect_time; in tcp_log_state_change()
|
| 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 | 708 uint32_t tcp_now_local = os_access_once(tcp_now); in tcp_output() 802 tcp_now_local = os_access_once(tcp_now); in tcp_output() 3696 tp->t_persist_stop = tcp_now + tp->t_persist_timeout; in tcp_setpersist() 3743 tp->t_recv_throttle_ts = tcp_now; in tcp_recv_throttle()
|
| H A D | mptcp_subr.c | 294 mpte->mpte_last_cellicon_set = tcp_now; in mptcp_session_create() 2923 if (TSTMP_LT(mpte->mpte_last_cellicon_set + MPTCP_CELLICON_TOGGLE_RATE, tcp_now)) { in mptcp_subflow_input() 3365 if (TSTMP_LT(mpte->mpte_last_cellicon_set + MPTCP_CELLICON_TOGGLE_RATE, tcp_now)) { in mptcp_subflow_output() 6738 mpte->mpte_last_cellicon_set = tcp_now; in mptcp_set_cellicon()
|
| H A D | tcp_var.h | 1733 extern uint32_t tcp_now; /* for RFC 1323 timestamps */
|