Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_timer.c
Show First 20 Lines • Show All 784 Lines • ▼ Show 20 Lines | |||||
#ifdef INET6 | #ifdef INET6 | ||||
if ((inp->inp_vflag & INP_IPV6) != 0) | if ((inp->inp_vflag & INP_IPV6) != 0) | ||||
in6_losing(inp); | in6_losing(inp); | ||||
else | else | ||||
#endif | #endif | ||||
in_losing(inp); | in_losing(inp); | ||||
} | } | ||||
tp->snd_nxt = tp->snd_una; | tp->snd_nxt = tp->snd_una; | ||||
tp->snd_recover = tp->snd_max; | tp->snd_recover = tp->snd_fack; | ||||
/* | /* | ||||
* 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 169 Lines • Show Last 20 Lines |