aboutsummaryrefslogtreecommitdiff
path: root/tcp_timer.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-06-24 14:42:29 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:46 -0500
commitd89b93db4f609ff4a4728465fe9066b1027bf077 (patch)
tree56059827a90fbbefac6388842404a43454b44d83 /tcp_timer.h
parentdfae34b4a7c99e25a3deb4c9ca51ea41ffa974c9 (diff)
downloadslirp-d89b93db4f609ff4a4728465fe9066b1027bf077.zip
slirp-d89b93db4f609ff4a4728465fe9066b1027bf077.tar.gz
slirp-d89b93db4f609ff4a4728465fe9066b1027bf077.tar.bz2
slirp: Drop dead code
After all its years inside the qemu tree, there is no point in keeping the dead code paths of slirp. This patch is a first round of removing usually commented out code parts. More cleanups need to follow (and maybe finally a proper reindention). Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tcp_timer.h')
-rw-r--r--tcp_timer.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tcp_timer.h b/tcp_timer.h
index d1137e6..5713df5 100644
--- a/tcp_timer.h
+++ b/tcp_timer.h
@@ -99,8 +99,6 @@
#define TCPTV_KEEPCNT 8 /* max probes before drop */
#define TCPTV_MIN (1 * PR_SLOWHZ) /* minimum allowable value */
-/* #define TCPTV_REXMTMAX ( 64*PR_SLOWHZ) */ /* max allowable REXMT value
- */
#define TCPTV_REXMTMAX (12 * PR_SLOWHZ) /* max allowable REXMT value */
#define TCP_LINGERTIME 120 /* linger at most 2 minutes */
@@ -108,10 +106,6 @@
#define TCP_MAXRXTSHIFT 12 /* maximum retransmits */
-#ifdef TCPTIMERS
-char *tcptimers[] = { "REXMT", "PERSIST", "KEEP", "2MSL" };
-#endif
-
/*
* Force a time value to be in a certain range.
*/