Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147257021
D50912.1782700562.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
657 B
Referenced Files
None
Subscribers
None
D50912.1782700562.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
@@ -32,6 +32,8 @@
#ifndef _NETINET_TCP_TIMER_H_
#define _NETINET_TCP_TIMER_H_
+#ifdef _KERNEL
+
/*
* The TCPT_REXMT timer is used to force retransmissions.
* The TCP has the TCPT_REXMT timer set whenever segments
@@ -133,8 +135,6 @@
(tv) = (tvmax); \
} while(0)
-#ifdef _KERNEL
-
#define TP_KEEPINIT(tp) ((tp)->t_keepinit ? (tp)->t_keepinit : tcp_keepinit)
#define TP_KEEPIDLE(tp) ((tp)->t_keepidle ? (tp)->t_keepidle : tcp_keepidle)
#define TP_KEEPINTVL(tp) ((tp)->t_keepintvl ? (tp)->t_keepintvl : tcp_keepintvl)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jun 29, 2:36 AM (6 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28976291
Default Alt Text
D50912.1782700562.diff (657 B)
Attached To
Mode
D50912: tcp: restrict the contents of tcp_timer.h to the kernel context
Attached
Detach File
Event Timeline
Log In to Comment