Searched refs:tcp_now (Results 1 - 9 of 9) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dtcp_timer.c431 /* Update tcp_now here as it may get used while processing the slow timer */
519 tp->tentry.timer_start = tcp_now;
554 idle_time = tcp_now - tp->t_rcvtime;
594 (tcp_now - tp->rxt_start) >= tp->rxt_conndroptime) ||
631 tp->t_badrxtwin = tcp_now + (tp->t_srtt >> (TCP_RTT_SHIFT));
636 tp->rxt_start = tcp_now;
795 TSTMP_LEQ(tp->t_persist_stop, tcp_now))) {
979 listp->runtime = tcp_now + offset;
1030 diff = timer_diff(tp->tentry.runtime, 0, tcp_now, 0);
1047 * adjust the timer values wrt tcp_now
[all...]
H A Dtcp_timer.h269 #define OFFSET_FROM_START(tp, off) ((tcp_now + (off)) - (tp)->tentry.timer_start)
H A Dtcp_input.c282 u_int32_t tcp_now; variable
283 struct timeval tcp_uptime; /* uptime when tcp_now was last updated */
284 lck_spin_t *tcp_uptime_lock; /* Used to sychronize updates to tcp_now */
385 tp->iaj_rcv_ts = tcp_now;
429 uint32_t cur_iaj = tcp_now - tp->iaj_rcv_ts;
495 elapsed_time = tcp_now - tp->t_bwmeas->bw_ts;
877 if (TSTMP_GT(tcp_now,
893 if (TSTMP_GEQ(tcp_now,
1058 TSTMP_GT(tp->rcv_unackwin + tcp_maxrcvidle, tcp_now) &&
1077 tp->rcv_unackwin = tcp_now
[all...]
H A Dtcp_lro.c304 flow->lr_timestamp = tcp_now;
352 oldest_timestamp = tcp_now;
396 tcp_now, payload_len);
613 if (((tcp_now - flow->lr_timestamp) >= coalesc_time) ||
621 flow->lr_timestamp, tcp_now);
637 flow->lr_len, tcp_now, flow->lr_timestamp);
H A Dtcp_output.c316 * will take care of wrap around of tcp_now
318 idle_time = tcp_now - tp->t_rcvtime;
1135 *lp++ = htonl(tcp_now);
1142 tp->rfbuf_ts = tcp_now;
1296 tp->t_bwmeas->bw_ts = tcp_now;
1649 tp->t_rtttime = tcp_now;
2218 tp->t_persist_stop = tcp_now + tp->t_persist_timeout;
H A Dtcp_ledbat.c345 idle_time = tcp_now - tp->t_rcvtime;
H A Dtcp_subr.c364 read_random(&tcp_now, sizeof(tcp_now));
365 tcp_now = tcp_now & 0x3fffffff; /* Starts tcp internal clock at a random value */
880 tp->t_rcvtime = tcp_now;
881 tp->tentry.timer_start = tcp_now;
2587 tcp_now += incr;
H A Dtcp_usrreq.c936 ((int)(tcp_now - otp->t_starttime)) < tcp_msl &&
1050 ((int)(tcp_now - otp->t_starttime)) < tcp_msl &&
H A Dtcp_var.h996 extern u_int32_t tcp_now; /* for RFC 1323 timestamps */

Completed in 88 milliseconds