Annotation of 43BSDTahoe/sys/netns/spidp.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1984, 1985, 1986, 1987 Regents of the University of California.
        !             3:  * All rights reserved.
        !             4:  *
        !             5:  * Redistribution and use in source and binary forms are permitted
        !             6:  * provided that the above copyright notice and this paragraph are
        !             7:  * duplicated in all such forms and that any documentation,
        !             8:  * advertising materials, and other materials related to such
        !             9:  * distribution and use acknowledge that the software was developed
        !            10:  * by the University of California, Berkeley.  The name of the
        !            11:  * University may not be used to endorse or promote products derived
        !            12:  * from this software without specific prior written permission.
        !            13:  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
        !            14:  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
        !            15:  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            16:  *
        !            17:  *     @(#)spidp.h     7.3 (Berkeley) 6/29/88
        !            18:  */
        !            19: 
        !            20: /*
        !            21:  * Definitions for NS(tm) Internet Datagram Protocol
        !            22:  * containing a Sequenced Packet Protocol packet.
        !            23:  */
        !            24: struct spidp {
        !            25:        struct idp      si_i;
        !            26:        struct sphdr    si_s;
        !            27: };
        !            28: struct spidp_q {
        !            29:        struct spidp_q  *si_next;
        !            30:        struct spidp_q  *si_prev;
        !            31: };
        !            32: #define SI(x)  ((struct spidp *)x)
        !            33: #define si_sum si_i.idp_sum
        !            34: #define si_len si_i.idp_len
        !            35: #define si_tc  si_i.idp_tc
        !            36: #define si_pt  si_i.idp_pt
        !            37: #define si_dna si_i.idp_dna
        !            38: #define si_sna si_i.idp_sna
        !            39: #define si_sport       si_i.idp_sna.x_port
        !            40: #define si_cc  si_s.sp_cc
        !            41: #define si_dt  si_s.sp_dt
        !            42: #define si_sid si_s.sp_sid
        !            43: #define si_did si_s.sp_did
        !            44: #define si_seq si_s.sp_seq
        !            45: #define si_ack si_s.sp_ack
        !            46: #define si_alo si_s.sp_alo

unix.superglobalmegacorp.com

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