From e2f2059f68d00d61b37710af70f4b23c1018a13c Mon Sep 17 00:00:00 2001 From: Mike Silbersack Date: Mon, 24 Sep 2007 05:26:24 +0000 Subject: Two changes: - Reintegrate the ANSI C function declaration change from tcp_timer.c rev 1.92 - Reorganize the tcpcb structure so that it has a single pointer to the "tcp_timer" structure which contains all of the tcp timer callouts. This change means that when the single tcp timer change is reintegrated, tcpcb will not change in size, and therefore the ABI between netstat and the kernel will not change. Neither of these changes should have any functional impact. Reviewed by: bmah, rrs Approved by: re (bmah) --- sys/netinet/tcp_timer.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/netinet/tcp_timer.h') diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h index 83b495842ab3..ff455b6b0154 100644 --- a/sys/netinet/tcp_timer.h +++ b/sys/netinet/tcp_timer.h @@ -141,6 +141,13 @@ static const char *tcptimers[] = #ifdef _KERNEL +struct tcp_timer { + struct callout tt_rexmt; /* retransmit timer */ + struct callout tt_persist; /* retransmit persistence */ + struct callout tt_keep; /* keepalive */ + struct callout tt_2msl; /* 2*msl TIME_WAIT timer */ + struct callout tt_delack; /* delayed ACK timer */ +}; #define TT_DELACK 0x01 #define TT_REXMT 0x02 #define TT_PERSIST 0x04 -- cgit v1.2.3