summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-13 11:09:52 +0000
committerbde <bde@FreeBSD.org>1998-07-13 11:09:52 +0000
commitb384a06abb90f7bb9d5b255c124ec54539f2da85 (patch)
tree90dcb3ace169a8f9a97695797498cfa5e3a50a2b /sys/netinet/tcp.h
parent853889649e34f32a7692dad91f9f249a5cbcca44 (diff)
downloadFreeBSD-src-b384a06abb90f7bb9d5b255c124ec54539f2da85.zip
FreeBSD-src-b384a06abb90f7bb9d5b255c124ec54539f2da85.tar.gz
Declare tcp_seq and tcp_cc as fixed-size types. Half fixed type
mismatches exposed by this (the prototype for tcp_respond() didn't match the function definition lexically, and still depends on a gcc feature to match if ints have more than 32 bits).
Diffstat (limited to 'sys/netinet/tcp.h')
-rw-r--r--sys/netinet/tcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp.h b/sys/netinet/tcp.h
index 253ddb3..89624e3 100644
--- a/sys/netinet/tcp.h
+++ b/sys/netinet/tcp.h
@@ -31,14 +31,14 @@
* SUCH DAMAGE.
*
* @(#)tcp.h 8.1 (Berkeley) 6/10/93
- * $Id: tcp.h,v 1.8 1997/02/22 09:41:37 peter Exp $
+ * $Id: tcp.h,v 1.9 1998/06/08 09:47:42 bde Exp $
*/
#ifndef _NETINET_TCP_H_
#define _NETINET_TCP_H_
-typedef u_long tcp_seq;
-typedef u_long tcp_cc; /* connection count per rfc1644 */
+typedef u_int32_t tcp_seq;
+typedef u_int32_t tcp_cc; /* connection count per rfc1644 */
/*
* TCP header.
OpenPOWER on IntegriCloud