Deleted Added
full compact
34c34
< * $FreeBSD: head/sys/netinet/tcp_timewait.c 50477 1999-08-28 01:08:13Z peter $
---
> * $FreeBSD: head/sys/netinet/tcp_timewait.c 50673 1999-08-30 21:17:07Z jlemon $
41a42
> #include <sys/callout.h>
76a78
> #if 0
79a82
> #endif
124a128,129
> struct callout inp_tp_rexmt, inp_tp_persist, inp_tp_keep, inp_tp_2msl;
> struct callout inp_tp_delack;
139a145,152
>
> tcp_delacktime = TCPTV_DELACK;
> tcp_keepinit = TCPTV_KEEP_INIT;
> tcp_keepidle = TCPTV_KEEP_IDLE;
> tcp_keepintvl = TCPTV_KEEPINTVL;
> tcp_maxpersistidle = TCPTV_KEEP_IDLE;
> tcp_msl = TCPTV_MSL;
>
152a166
>
306a321,327
> /* Set up our timeouts. */
> callout_init(tp->tt_rexmt = &it->inp_tp_rexmt);
> callout_init(tp->tt_persist = &it->inp_tp_persist);
> callout_init(tp->tt_keep = &it->inp_tp_keep);
> callout_init(tp->tt_2msl = &it->inp_tp_2msl);
> callout_init(tp->tt_delack = &it->inp_tp_delack);
>
322a344
> tp->t_rcvtime = ticks;
369a392,401
> * Make sure that all of our timers are stopped before we
> * delete the PCB.
> */
> callout_stop(tp->tt_rexmt);
> callout_stop(tp->tt_persist);
> callout_stop(tp->tt_keep);
> callout_stop(tp->tt_2msl);
> callout_stop(tp->tt_delack);
>
> /*
387c419
< (RTM_RTTUNIT / (PR_SLOWHZ * TCP_RTT_SCALE));
---
> (RTM_RTTUNIT / (hz * TCP_RTT_SCALE));
403c435
< (RTM_RTTUNIT / (PR_SLOWHZ * TCP_RTTVAR_SCALE));
---
> (RTM_RTTUNIT / (hz * TCP_RTTVAR_SCALE));
737c769
< tp->t_rtt = 0;
---
> tp->t_rtttime = 0;