X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/641aea2eb1957ed8dd71edf70e7438e04d131fff..7ba305fc3d79830d8beedc69e5ebcca2d30b0054:/sys/netinet/tcp_timer.c diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index 5eaa9258b4..6805a1ce91 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)tcp_timer.c 7.18 (Berkeley) 6/28/90 - * $Id$ + * $Id: tcp_timer.c,v 1.3 1993/11/25 01:35:18 wollman Exp $ */ #include "param.h" @@ -58,12 +58,10 @@ #include "tcp_var.h" #include "tcpip.h" -int tcp_keepidle = TCPTV_KEEP_IDLE; -int tcp_keepintvl = TCPTV_KEEPINTVL; -int tcp_maxidle; /* * Fast timeout routine for processing delayed acks */ +void tcp_fasttimo() { register struct inpcb *inp; @@ -88,6 +86,7 @@ tcp_fasttimo() * Updates the timers in all active tcb's and * causes finite state machine actions if timers expire. */ +void tcp_slowtimo() { register struct inpcb *ip, *ipnxt; @@ -113,7 +112,8 @@ tcp_slowtimo() if (tp->t_timer[i] && --tp->t_timer[i] == 0) { (void) tcp_usrreq(tp->t_inpcb->inp_socket, PRU_SLOWTIMO, (struct mbuf *)0, - (struct mbuf *)i, (struct mbuf *)0); + (struct mbuf *)i, (struct mbuf *)0, + (struct mbuf *)0); if (ipnxt->inp_prev != ip) goto tpgone; } @@ -135,6 +135,7 @@ tpgone: /* * Cancel all timers for TCP tp. */ +void tcp_canceltimers(tp) struct tcpcb *tp; {