Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177555271
D50912.1794708710.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
657 B
Referenced Files
None
Subscribers
None
D50912.1794708710.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
Sun, Nov 15, 2:11 AM (6 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41735831
Default Alt Text
D50912.1794708710.diff (657 B)
Attached To
Mode
D50912: tcp: restrict the contents of tcp_timer.h to the kernel context
Attached
Detach File
Event Timeline