Annotation of 43BSDReno/sys/netrmp/rmp.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1988 University of Utah.
                      3:  * Copyright (c) 1990 The Regents of the University of California.
                      4:  * All rights reserved.
                      5:  *
                      6:  * This code is derived from software contributed to Berkeley by
                      7:  * the Systems Programming Group of the University of Utah Computer
                      8:  * Science Department.
                      9:  *
                     10:  * Redistribution is only permitted until one year after the first shipment
                     11:  * of 4.4BSD by the Regents.  Otherwise, redistribution and use in source and
                     12:  * binary forms are permitted provided that: (1) source distributions retain
                     13:  * this entire copyright notice and comment, and (2) distributions including
                     14:  * binaries display the following acknowledgement:  This product includes
                     15:  * software developed by the University of California, Berkeley and its
                     16:  * contributors'' in the documentation or other materials provided with the
                     17:  * distribution and in all advertising materials mentioning features or use
                     18:  * of this software.  Neither the name of the University nor the names of
                     19:  * its contributors may be used to endorse or promote products derived from
                     20:  * this software without specific prior written permission.
                     21:  * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     22:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     23:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     24:  *
                     25:  * from: Utah $Hdr: rmp.h 1.3 89/06/07$
                     26:  *
                     27:  *     @(#)rmp.h       7.1 (Berkeley) 5/8/90
                     28:  */
                     29: 
                     30: /*
                     31:  *  Define MIN/MAX sizes of RMP (ethernet) packet.  For ease of computation,
                     32:  *  the 4 octet CRC field is not included.
                     33:  */
                     34: 
                     35: #define        RMP_MAX_PACKET  1514
                     36: #define        RMP_MIN_PACKET  60
                     37: 
                     38: 
                     39: /*
                     40:  *  Define IEEE802.2 (Logical Link Control) information.
                     41:  */
                     42: 
                     43: #define        ETHERTYPE_IEEE  0       /* hack hack hack */
                     44: 
                     45: #define        IEEE802LEN_MIN  40
                     46: #define IEEE802LEN_MAX 1500
                     47: 
                     48: #define        IEEE_DSAP_HP    0xF8    /* Destination Service Access Point */
                     49: #define        IEEE_SSAP_HP    0xF8    /* Source Service Access Point */
                     50: #define        IEEE_CNTL_HP    0x0300  /* Type 1 / I format control information */
                     51: 
                     52: #define        HPEXT_DXSAP     0x608   /* HP Destination Service Access Point */
                     53: #define        HPEXT_SXSAP     0x609   /* HP Source Service Access Point */
                     54: 
                     55: /*
                     56:  * HP uses 802.2 LLC with their own local extensions.  This struct makes
                     57:  * sence out of this data (encapsulated in the 802.3 packet).
                     58:  */
                     59: 
                     60: struct hp_llc {
                     61:        u_char  dsap;           /* 802.2 DSAP */
                     62:        u_char  ssap;           /* 802.2 SSAP */
                     63:        u_short cntrl;          /* 802.2 control field */
                     64:        u_short filler;         /* HP filler (must be zero) */
                     65:        u_short dxsap;          /* HP extended DSAP */
                     66:        u_short sxsap;          /* HP extended SSAP */
                     67: };
                     68: 
                     69: 
                     70: /*
                     71:  * Protocol(s)
                     72:  */
                     73: 
                     74: #define RMPPROTO_BOOT  1               /* RMP boot protocol */
                     75: 
                     76: #if    defined(KERNEL) & defined(RMP)
                     77: extern struct  domain rmpdomain;
                     78: extern struct  protosw rmpsw[];
                     79: #endif

unix.superglobalmegacorp.com

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