summaryrefslogtreecommitdiff
path: root/inet/netinet/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'inet/netinet/tcp.h')
-rw-r--r--inet/netinet/tcp.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/inet/netinet/tcp.h b/inet/netinet/tcp.h
index bf12a0c609..e5011b053c 100644
--- a/inet/netinet/tcp.h
+++ b/inet/netinet/tcp.h
@@ -33,6 +33,14 @@
* @(#)tcp.h 8.1 (Berkeley) 6/10/93
*/
+#ifndef _NETINET_TCP_H
+
+#define _NETINET_TCP_H 1
+#include <sys/cdefs.h>
+
+
+__BEGIN_DECLS
+
typedef unsigned int tcp_seq;
/*
* TCP header.
@@ -96,3 +104,9 @@ struct tcphdr {
*/
#define TCP_NODELAY 0x01 /* don't delay send to coalesce packets */
#define TCP_MAXSEG 0x02 /* set maximum segment size */
+
+#define SOL_TCP 6 /* TCP level */
+
+__END_DECLS
+
+#endif /* netinet/tcp.h */