lint
[unix-history] / usr / src / sys / netinet / tcp.h
index f885d73..43ec0e6 100644 (file)
@@ -1,4 +1,4 @@
-/* tcp.h 1.20 82/01/17 */
+/* tcp.h 1.23 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
@@ -28,16 +33,3 @@ struct tcphdr {
 #define        TCPOPT_EOL      0
 #define        TCPOPT_NOP      1
 #define        TCPOPT_MAXSEG   2
 #define        TCPOPT_EOL      0
 #define        TCPOPT_NOP      1
 #define        TCPOPT_MAXSEG   2
-
-#ifdef TCPTRUEOOB
-/*
- * True out-of-band as value added option.
- * Advertise willingness with TCPOPT_WILOOB in
- * initial segment.  If peer is willing, will receive
- * such also.  Then can send TCPOPT_OOBDATA whenever oob data
- * exists; peer should ack with TCPOPT_OOBACK in segment.
- */
-#define        TCPOPT_WILLOOB  64              /* bytes: 64, 2 */
-#define        TCPOPT_OOBDATA  65              /* bytes: 65, 4, seq#, data */
-#define        TCPOPT_OOBACK   66              /* bytes: 66, 3, ack# */
-#endif