Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107142273
D38547.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
692 B
Referenced Files
None
Subscribers
None
D38547.diff
View Options
diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h
--- a/sys/netinet/tcp_timer.h
+++ b/sys/netinet/tcp_timer.h
@@ -127,11 +127,6 @@
*/
#define TCP_RTT_INVALIDATE (TCP_MAXRXTSHIFT / 4)
-#ifdef TCPTIMERS
-static const char *tcptimers[] =
- { "REXMT", "PERSIST", "KEEP", "2MSL", "DELACK" };
-#endif
-
/*
* Force a time value to be in a certain range.
*/
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -127,11 +127,11 @@
STAILQ_HEAD(tcp_log_stailq, tcp_log_mem);
typedef enum {
- TT_DELACK = 0,
- TT_REXMT,
+ TT_REXMT = 0,
TT_PERSIST,
TT_KEEP,
TT_2MSL,
+ TT_DELACK,
TT_N,
} tt_which;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 6:45 PM (20 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15756795
Default Alt Text
D38547.diff (692 B)
Attached To
Mode
D38547: tcp: allow a variable of type tt_which to be used as an index for tcptimers[]
Attached
Detach File
Event Timeline
Log In to Comment