Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_timer.c
Show First 20 Lines • Show All 859 Lines • ▼ Show 20 Lines | #ifdef INET6 | ||||
if ((tp->t_inpcb->inp_vflag & INP_IPV6) != 0) | if ((tp->t_inpcb->inp_vflag & INP_IPV6) != 0) | ||||
in6_losing(tp->t_inpcb); | in6_losing(tp->t_inpcb); | ||||
else | else | ||||
#endif | #endif | ||||
in_losing(tp->t_inpcb); | in_losing(tp->t_inpcb); | ||||
} | } | ||||
tp->snd_nxt = tp->snd_una; | tp->snd_nxt = tp->snd_una; | ||||
tp->snd_recover = tp->snd_max; | tp->snd_recover = tp->snd_max; | ||||
if (__predict_false(tp->t_flags & TF_SENTFIN)) | |||||
tp->snd_recover--; | |||||
/* | /* | ||||
* Force a segment to be sent. | * Force a segment to be sent. | ||||
*/ | */ | ||||
tp->t_flags |= TF_ACKNOW; | tp->t_flags |= TF_ACKNOW; | ||||
/* | /* | ||||
* If timing a segment in this window, stop the timer. | * If timing a segment in this window, stop the timer. | ||||
*/ | */ | ||||
tp->t_rtttime = 0; | tp->t_rtttime = 0; | ||||
▲ Show 20 Lines • Show All 245 Lines • Show Last 20 Lines |