projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lint
[unix-history]
/
usr
/
src
/
sys
/
netinet
/
tcp.h
diff --git
a/usr/src/sys/netinet/tcp.h
b/usr/src/sys/netinet/tcp.h
index
460b082
..
43ec0e6
100644
(file)
--- a/
usr/src/sys/netinet/tcp.h
+++ b/
usr/src/sys/netinet/tcp.h
@@
-1,4
+1,4
@@
-/* tcp.h 1.2
2 82/12/20
*/
+/* tcp.h 1.2
3 82/12/28
*/
typedef u_long tcp_seq;
/*
typedef u_long tcp_seq;
/*
@@
-10,9
+10,14
@@
struct tcphdr {
u_short th_dport; /* destination port */
tcp_seq th_seq; /* sequence number */
tcp_seq th_ack; /* acknowledgement number */
u_short th_dport; /* destination port */
tcp_seq th_seq; /* sequence number */
tcp_seq th_ack; /* acknowledgement number */
- u_char
-
th_x2:4, /* (unused) */
+#ifdef vax
+
u_char
th_x2:4, /* (unused) */
th_off:4; /* data offset */
th_off:4; /* data offset */
+#endif
+#ifdef sun
+ u_char th_off:4, /* data offset */
+ th_x2:4; /* (unused) */
+#endif
u_char th_flags;
#define TH_FIN 0x01
#define TH_SYN 0x02
u_char th_flags;
#define TH_FIN 0x01
#define TH_SYN 0x02