Home
last modified time | relevance | path

Searched refs:tcp_now (Results 1 – 13 of 13) sorted by relevance

/xnu-8796.101.5/bsd/netinet/
H A Dtcp_cache.c360 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()
[all …]
H A Dtcp_timer.c568 timer = tcp_now + delay; in add_to_time_wait_locked()
667 if (istimewait && TSTMP_GEQ(tcp_now, tp->t_timer[TCPT_2MSL]) && in tcp_garbage_collect()
833 TSTMP_GEQ(tcp_now, tw_tp->t_timer[TCPT_2MSL])) { in tcp_gc()
868 tp->tentry.timer_start = tcp_now; in tcp_canceltimers()
1028 idle_time = tcp_now - tp->t_rcvtime; in tcp_timers()
1084 (tcp_now - tp->t_rxtstart) >= tp->t_rxt_conndroptime) || in tcp_timers()
1096 if (TSTMP_LT(tcp_now, (tp->t_rxtstart + in tcp_timers()
1141 tp->t_rxtstart = tcp_now; in tcp_timers()
1294 tp->t_pmtud_start_ts = tcp_now; in tcp_timers()
1433 TSTMP_LEQ(tp->t_persist_stop, tcp_now))) { in tcp_timers()
[all …]
H A Dtcp_utils.h47 return tcp_now; in tcp_globals_now()
H A Dtcp_input.c268 u_int32_t tcp_now; variable
360 tp->iaj_rcv_ts = tcp_now; in update_iaj_state()
476 compute_iaj_meat(tp, (tcp_now - tp->iaj_rcv_ts)); in compute_iaj()
491 uint32_t now = tcp_now; in tcp_is_ack_ratelimited()
532 elapsed_time = tcp_now - tp->t_bwmeas->bw_ts; in tcp_bwmeas_check()
1058 if (TSTMP_GEQ(tcp_now, in tcp_sbrcv_grow()
1164 TSTMP_GT(tcp_now, tp->rfbuf_ts)) { in tcp_sbrcv_grow()
1167 (int)(tcp_now - tp->rfbuf_ts); in tcp_sbrcv_grow()
1183 tp->rfbuf_ts = tcp_now; in tcp_sbrcv_grow()
1300 TSTMP_GEQ(tp->rcv_unackwin, tcp_now)) { in tcp_stretch_ack_enable()
[all …]
H A Dtcp_timer.h331 #define OFFSET_FROM_START(tp, off) ((tcp_now + (off)) - (tp)->tentry.timer_start)
H A Dtcp_sack.c294 hole->rxmit_start = tcp_now; in tcp_sackhole_insert()
393 rext = timer_diff(tcp_now, 0, s->rxmit_start, 0); in tcp_sack_detect_reordering()
801 hole->rxmit_start = tcp_now; in tcp_sack_lost_rexmit()
H A Dtcp_output.c717 idle_time = tcp_now - tp->t_rcvtime; in tcp_output()
1751 *lp++ = htonl(tcp_now + tp->t_ts_offset); in tcp_output()
2229 tp->t_bwmeas->bw_ts = tcp_now; in tcp_output()
2433 if (TSTMP_LT(tp->t_comp_lastinc + tcp_ack_compression_rate, tcp_now)) { in tcp_output()
2439 tp->t_comp_lastinc = tcp_now; in tcp_output()
2670 tp->t_sndtime = tcp_now; in tcp_output()
2676 tp->t_rtttime = tcp_now; in tcp_output()
2766 tp->t_sndtime = tcp_now; in tcp_output()
3486 tp->t_persist_stop = tcp_now + tp->t_persist_timeout; in tcp_setpersist()
3533 tp->t_recv_throttle_ts = tcp_now; in tcp_recv_throttle()
H A Dtcp_subr.c524 read_frandom(&tcp_now, sizeof(tcp_now)); in tcp_init()
527 tcp_now = tcp_now & 0x3fffffff; in tcp_init()
530 tcp_now_init = tcp_now; in tcp_init()
1145 tp->t_rcvtime = tcp_now; in tcp_newtcpcb()
1146 tp->tentry.timer_start = tcp_now; in tcp_newtcpcb()
1147 tp->rcv_unackwin = tcp_now; in tcp_newtcpcb()
1152 tp->rfbuf_ts = tcp_now; in tcp_newtcpcb()
1174 tp->t_comp_lastinc = tcp_now; in tcp_newtcpcb()
3570 tcp_now += incr; in calculate_tcp_clock()
H A Dtcp_log.c558 duration = tcp_now - tp->t_connect_time; in tcp_log_connection_summary()
1077 duration = tcp_now - tp->t_connect_time; in tcp_log_state_change()
H A Dmptcp.c752 if ((tcp_now - preferred_mpts->mpts_probesoon) > mptcp_probeto) { in mptcp_output()
760 preferred_mpts->mpts_probesoon = tcp_now; in mptcp_output()
H A Dtcp_usrreq.c1498 ((int)(tcp_now - otp->t_starttime)) < tcp_msl && in tcp_connect()
1569 tp->t_connect_time = tcp_now; in tcp_connect()
1635 ((int)(tcp_now - otp->t_starttime)) < tcp_msl && in tcp6_connect()
1703 tp->t_connect_time = tcp_now; in tcp6_connect()
H A Dtcp_var.h1607 extern u_int32_t tcp_now; /* for RFC 1323 timestamps */
H A Dmptcp_subr.c293 mpte->mpte_last_cellicon_set = tcp_now; in mptcp_session_create()
2914 if (TSTMP_LT(mpte->mpte_last_cellicon_set + MPTCP_CELLICON_TOGGLE_RATE, tcp_now)) { in mptcp_subflow_input()
3356 if (TSTMP_LT(mpte->mpte_last_cellicon_set + MPTCP_CELLICON_TOGGLE_RATE, tcp_now)) { in mptcp_subflow_output()
6723 mpte->mpte_last_cellicon_set = tcp_now; in mptcp_set_cellicon()