summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_timer.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-09 07:03:46 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-09 07:03:46 +0000
commit29cf16ac90acaf062d15901509e3a67ca4ef738e (patch)
treeed4d67d6d710a9f74690b2ce796fdcc9b072d559 /sys/netinet/tcp_timer.h
parent704a4b23790dbd9ab4869662980b908dfba2a41f (diff)
Inclusion protection.
Diffstat (limited to 'sys/netinet/tcp_timer.h')
-rw-r--r--sys/netinet/tcp_timer.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h
index 807cec54ba0..d494fb964a6 100644
--- a/sys/netinet/tcp_timer.h
+++ b/sys/netinet/tcp_timer.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_timer.h,v 1.3 1997/02/24 14:06:46 niklas Exp $ */
+/* $OpenBSD: tcp_timer.h,v 1.4 2001/06/09 07:03:43 angelos Exp $ */
/* $NetBSD: tcp_timer.h,v 1.6 1995/03/26 20:32:37 jtc Exp $ */
/*
@@ -36,6 +36,9 @@
* @(#)tcp_timer.h 8.1 (Berkeley) 6/10/93
*/
+#ifndef _NETINET_TCP_TIMER_H_
+#define _NETINET_TCP_TIMER_H_
+
/*
* Definitions of the TCP timers. These timers are counted
* down PR_SLOWHZ times a second.
@@ -109,7 +112,7 @@
#ifdef TCPTIMERS
char *tcptimers[] =
{ "REXMT", "PERSIST", "KEEP", "2MSL" };
-#endif
+#endif /* TCPTIMERS */
/*
* Force a time value to be in a certain range.
@@ -129,4 +132,5 @@ extern int tcp_keepintvl; /* time between keepalive probes */
extern int tcp_maxidle; /* time to drop after starting probes */
extern int tcp_ttl; /* time to live for TCP segs */
extern int tcp_backoff[];
-#endif
+#endif /* _KERNEL */
+#endif /* _NETINET_TCP_TIMER_H_ */