Annotation of 43BSDReno/sys/netinet/tcpip.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1982, 1986 Regents of the University of California.
                      3:  * All rights reserved.
                      4:  *
                      5:  * Redistribution is only permitted until one year after the first shipment
                      6:  * of 4.4BSD by the Regents.  Otherwise, redistribution and use in source and
                      7:  * binary forms are permitted provided that: (1) source distributions retain
                      8:  * this entire copyright notice and comment, and (2) distributions including
                      9:  * binaries display the following acknowledgement:  This product includes
                     10:  * software developed by the University of California, Berkeley and its
                     11:  * contributors'' in the documentation or other materials provided with the
                     12:  * distribution and in all advertising materials mentioning features or use
                     13:  * of this software.  Neither the name of the University nor the names of
                     14:  * its contributors may be used to endorse or promote products derived from
                     15:  * this software without specific prior written permission.
                     16:  * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     17:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     18:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     19:  *
                     20:  *     @(#)tcpip.h     7.4 (Berkeley) 6/28/90
                     21:  */
                     22: 
                     23: /*
                     24:  * Tcp+ip header, after ip options removed.
                     25:  */
                     26: struct tcpiphdr {
                     27:        struct  ipovly ti_i;            /* overlaid ip structure */
                     28:        struct  tcphdr ti_t;            /* tcp header */
                     29: };
                     30: #define        ti_next         ti_i.ih_next
                     31: #define        ti_prev         ti_i.ih_prev
                     32: #define        ti_x1           ti_i.ih_x1
                     33: #define        ti_pr           ti_i.ih_pr
                     34: #define        ti_len          ti_i.ih_len
                     35: #define        ti_src          ti_i.ih_src
                     36: #define        ti_dst          ti_i.ih_dst
                     37: #define        ti_sport        ti_t.th_sport
                     38: #define        ti_dport        ti_t.th_dport
                     39: #define        ti_seq          ti_t.th_seq
                     40: #define        ti_ack          ti_t.th_ack
                     41: #define        ti_x2           ti_t.th_x2
                     42: #define        ti_off          ti_t.th_off
                     43: #define        ti_flags        ti_t.th_flags
                     44: #define        ti_win          ti_t.th_win
                     45: #define        ti_sum          ti_t.th_sum
                     46: #define        ti_urp          ti_t.th_urp

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.