Searched refs:TCP_RETRANSHZ (Results 1 – 17 of 17) sorted by relevance
175 #define TCPTV_MSL ( 15*TCP_RETRANSHZ) /* max seg lifetime */177 #define TCPTV_RTOBASE ( 1*TCP_RETRANSHZ) /* assumed RTO if no info */178 #define TCPTV_SRTTDFLT ( 1*TCP_RETRANSHZ) /* assumed RTT if no info */179 #define TCPTV_PERSMIN ( 5*TCP_RETRANSHZ) /* retransmit persistence */180 #define TCPTV_PERSMAX ( 60*TCP_RETRANSHZ) /* maximum persist interval */184 #define TCPTV_KEEP_INIT ( 75*TCP_RETRANSHZ) /* connect keep alive */185 #define TCPTV_KEEP_IDLE (120*60*TCP_RETRANSHZ) /* time before probing */186 #define TCPTV_KEEPINTVL ( 75*TCP_RETRANSHZ) /* default probe interval */189 #define TCPTV_REXMTMAX ( 64*TCP_RETRANSHZ ) /* max REXMT value */190 #define TCPTV_REXMTMIN ( TCP_RETRANSHZ/33 ) /* min REXMT for non-local connections */[all …]
2448 if (optval < 0 || optval > UINT32_MAX / TCP_RETRANSHZ) { in tcp_ctloutput()2451 tp->t_keepidle = optval * TCP_RETRANSHZ; in tcp_ctloutput()2467 if (optval < 0 || optval > UINT32_MAX / TCP_RETRANSHZ) { in tcp_ctloutput()2470 tp->t_keepinit = optval * TCP_RETRANSHZ; in tcp_ctloutput()2486 if (optval < 0 || optval > UINT32_MAX / TCP_RETRANSHZ) { in tcp_ctloutput()2489 tp->t_keepintvl = optval * TCP_RETRANSHZ; in tcp_ctloutput()2549 tp->t_persist_timeout = optval * TCP_RETRANSHZ; in tcp_ctloutput()2561 tp->t_rxt_conndroptime = optval * TCP_RETRANSHZ; in tcp_ctloutput()2817 tp->t_rxt_minimum_timeout *= TCP_RETRANSHZ; in tcp_ctloutput()2836 optval = tp->t_keepidle / TCP_RETRANSHZ; in tcp_ctloutput()[all …]
112 #define TCP_PAWS_IDLE (24 * 24 * 60 * 60 * TCP_RETRANSHZ)
282 rt->rt_rmx.rmx_rtt / (RTM_RTTUNIT / TCP_RETRANSHZ), in tcp_log_rt_rtt()283 rt->rt_rmx.rmx_rttvar / (RTM_RTTUNIT / TCP_RETRANSHZ)); in tcp_log_rt_rtt()638 duration / TCP_RETRANSHZ, duration % TCP_RETRANSHZ, \ in tcp_log_connection_summary()639 conntime / TCP_RETRANSHZ, conntime % TCP_RETRANSHZ, \ in tcp_log_connection_summary()
237 #define TCP_CC_CWND_NONVALIDATED_PERIOD (3 * 60 * TCP_RETRANSHZ)
178 tp->t_ccstate->cub_epoch_period = K * TCP_RETRANSHZ; in tcp_cubic_update()199 var = (elapsed_time - tp->t_ccstate->cub_epoch_period) / TCP_RETRANSHZ; in tcp_cubic_update()
230 #define TCP_STRETCHACK_DISABLE_WIN (15 * 60 * TCP_RETRANSHZ)
121 tp->t_ccstate->cubic_K = K * TCP_RETRANSHZ; /* in milliseconds */ in cubic_target()139 float var = (elapsed_time - tp->t_ccstate->cubic_K) / TCP_RETRANSHZ; in cubic_target()
132 s = tt * 1000 / TCP_RETRANSHZ;143 tt = (long)temp * TCP_RETRANSHZ / 1000;230 long big_value = value * TCP_RETRANSHZ / 1000;344 int tcp_delack = TCP_RETRANSHZ / 10;350 int tcp_jack_rxmt = TCP_RETRANSHZ / 2;445 #define TCP_TIMERLIST_MAX_OFFSET (60 * 60 * TCP_RETRANSHZ)1246 if (TSTMP_GT(tp->t_sndtime - 10 * TCP_RETRANSHZ, tp->t_rcvtime)) { in tcp_timers()
91 #define TCP_RETRANSHZ 1000 /* granularity of TCP timestamps, 1ms */ macro93 #define TCP_TIMER_10MS_QUANTUM (TCP_RETRANSHZ/100) /* every 10ms */94 #define TCP_TIMER_100MS_QUANTUM (TCP_RETRANSHZ/10) /* every 100ms */95 #define TCP_TIMER_500MS_QUANTUM (TCP_RETRANSHZ/2) /* every 500ms */
38 #define TCP_BASE_RTT_INTERVAL (60 * TCP_RETRANSHZ)
544 #define MPTCP_CELLICON_TOGGLE_RATE (5 * TCP_RETRANSHZ) /* Only toggle every 5 seconds */
180 return (uint32_t)65536 * 60 * TCP_RETRANSHZ; in tcp_min_to_hz()183 return minutes * 60 * TCP_RETRANSHZ; in tcp_min_to_hz()
1281 tp->t_rttmin = rtt / (RTM_RTTUNIT / TCP_RETRANSHZ); in tcp_getrt_rtt()1287 rtt / (RTM_RTTUNIT / (TCP_RETRANSHZ * TCP_RTT_SCALE)); in tcp_getrt_rtt()1292 (RTM_RTTUNIT / (TCP_RETRANSHZ * TCP_RTTVAR_SCALE)); in tcp_getrt_rtt()1580 (RTM_RTTUNIT / (TCP_RETRANSHZ * TCP_RTT_SCALE)); in tcp_close()1598 (RTM_RTTUNIT / (TCP_RETRANSHZ * TCP_RTTVAR_SCALE)); in tcp_close()3577 #define TIMEVAL_TO_TCPHZ(_tv_) ((uint32_t)((_tv_).tv_sec * TCP_RETRANSHZ + \
146 #define TCP_RTT_HISTORY_EXPIRE_TIME (60 * TCP_RETRANSHZ)147 #define TCP_RECV_THROTTLE_WIN (5 * TCP_RETRANSHZ)322 #define TCP_EARLY_REXMT_WIN (60 * TCP_RETRANSHZ) /* 60 seconds */
136 fe->fe_linger_wait = (2 * tcp_msl) / TCP_RETRANSHZ; in flow_track_tcp_init()
3035 tcptv_persmin_val = 6 * TCP_RETRANSHZ;