projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history]
/
sys
/
netinet
/
tcp_timer.c
diff --git
a/sys/netinet/tcp_timer.c
b/sys/netinet/tcp_timer.c
index
5eaa925
..
6805a1c
100644
(file)
--- 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
* 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"
*/
#include "param.h"
@@
-58,12
+58,10
@@
#include "tcp_var.h"
#include "tcpip.h"
#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
*/
/*
* Fast timeout routine for processing delayed acks
*/
+void
tcp_fasttimo()
{
register struct inpcb *inp;
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.
*/
* 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;
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,
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;
}
if (ipnxt->inp_prev != ip)
goto tpgone;
}
@@
-135,6
+135,7
@@
tpgone:
/*
* Cancel all timers for TCP tp.
*/
/*
* Cancel all timers for TCP tp.
*/
+void
tcp_canceltimers(tp)
struct tcpcb *tp;
{
tcp_canceltimers(tp)
struct tcpcb *tp;
{