diff options
author | silby <silby@FreeBSD.org> | 2007-09-24 05:26:24 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2007-09-24 05:26:24 +0000 |
commit | 5fb86a6fa7067f2023943bf20c272b613c52b73e (patch) | |
tree | 8813a8872672cef81ebde1a54cef904ff70105d0 /sys/netinet/tcp_timer.h | |
parent | ea91086eb3bb58ad24d41a614930a54819c9b9d0 (diff) | |
download | FreeBSD-src-5fb86a6fa7067f2023943bf20c272b613c52b73e.zip FreeBSD-src-5fb86a6fa7067f2023943bf20c272b613c52b73e.tar.gz |
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)
Diffstat (limited to 'sys/netinet/tcp_timer.h')
-rw-r--r-- | sys/netinet/tcp_timer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h index 83b4958..ff455b6 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 |