summaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-01-27 06:02:03 +0000
committerUlrich Drepper <drepper@redhat.com>1997-01-27 06:02:03 +0000
commitbdf289b22254f7eb10989ccd933cfd9ee7b8da92 (patch)
tree1dde03d9e54412deb259efb0fe7fc58a97815b7c /inet
parent33a934a3abdd127d2cc305f35e03dc88984bad49 (diff)
update from main archive 970126cvs/libc-970127
Sun Jan 26 19:40:17 1997 Ulrich Drepper <drepper@cygnus.com> * Version 2.0 net release. * Make-dist: Don't take care for two malloc directories. Sun Jan 26 13:39:31 1997 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/alpha/Dist: Correct distribution of kernel_*.h files. * Make-dist: Don't mention new-malloc for dirs with have to be processed. * sysdeps/unix/sysv/linux/netinet/in.h (SOL_IP): Added. * inet/netinet/tcp.h (SOL_TCP): Added. * sysdeps/unix/sysv/linux/socketbits.h (SOL_RAW): Added. Reported by a sun <asun@zoology.washington.edu>. * Makefile: Add special goal to generate only-MD5 based crypt
Diffstat (limited to 'inet')
-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 */