1*41484Smckusick /* 2*41484Smckusick * Copyright (c) 1988 University of Utah. 3*41484Smckusick * Copyright (c) 1990 The Regents of the University of California. 4*41484Smckusick * All rights reserved. 5*41484Smckusick * 6*41484Smckusick * This code is derived from software contributed to Berkeley by 7*41484Smckusick * the Systems Programming Group of the University of Utah Computer 8*41484Smckusick * Science Department. 9*41484Smckusick * 10*41484Smckusick * %sccs.include.redist.c% 11*41484Smckusick * 12*41484Smckusick * from: Utah $Hdr: rmp.h 1.3 89/06/07$ 13*41484Smckusick * 14*41484Smckusick * @(#)rmp.h 7.1 (Berkeley) 05/08/90 15*41484Smckusick */ 16*41484Smckusick 17*41484Smckusick /* 18*41484Smckusick * Define MIN/MAX sizes of RMP (ethernet) packet. For ease of computation, 19*41484Smckusick * the 4 octet CRC field is not included. 20*41484Smckusick */ 21*41484Smckusick 22*41484Smckusick #define RMP_MAX_PACKET 1514 23*41484Smckusick #define RMP_MIN_PACKET 60 24*41484Smckusick 25*41484Smckusick 26*41484Smckusick /* 27*41484Smckusick * Define IEEE802.2 (Logical Link Control) information. 28*41484Smckusick */ 29*41484Smckusick 30*41484Smckusick #define ETHERTYPE_IEEE 0 /* hack hack hack */ 31*41484Smckusick 32*41484Smckusick #define IEEE802LEN_MIN 40 33*41484Smckusick #define IEEE802LEN_MAX 1500 34*41484Smckusick 35*41484Smckusick #define IEEE_DSAP_HP 0xF8 /* Destination Service Access Point */ 36*41484Smckusick #define IEEE_SSAP_HP 0xF8 /* Source Service Access Point */ 37*41484Smckusick #define IEEE_CNTL_HP 0x0300 /* Type 1 / I format control information */ 38*41484Smckusick 39*41484Smckusick #define HPEXT_DXSAP 0x608 /* HP Destination Service Access Point */ 40*41484Smckusick #define HPEXT_SXSAP 0x609 /* HP Source Service Access Point */ 41*41484Smckusick 42*41484Smckusick /* 43*41484Smckusick * HP uses 802.2 LLC with their own local extensions. This struct makes 44*41484Smckusick * sence out of this data (encapsulated in the 802.3 packet). 45*41484Smckusick */ 46*41484Smckusick 47*41484Smckusick struct hp_llc { 48*41484Smckusick u_char dsap; /* 802.2 DSAP */ 49*41484Smckusick u_char ssap; /* 802.2 SSAP */ 50*41484Smckusick u_short cntrl; /* 802.2 control field */ 51*41484Smckusick u_short filler; /* HP filler (must be zero) */ 52*41484Smckusick u_short dxsap; /* HP extended DSAP */ 53*41484Smckusick u_short sxsap; /* HP extended SSAP */ 54*41484Smckusick }; 55*41484Smckusick 56*41484Smckusick 57*41484Smckusick /* 58*41484Smckusick * Protocol(s) 59*41484Smckusick */ 60*41484Smckusick 61*41484Smckusick #define RMPPROTO_BOOT 1 /* RMP boot protocol */ 62*41484Smckusick 63*41484Smckusick #if defined(KERNEL) & defined(RMP) 64*41484Smckusick extern struct domain rmpdomain; 65*41484Smckusick extern struct protosw rmpsw[]; 66*41484Smckusick #endif 67