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_proto.c 1.3 89/06/07$ 13*41484Smckusick * 14*41484Smckusick * @(#)rmp_proto.c 7.1 (Berkeley) 05/08/90 15*41484Smckusick */ 16*41484Smckusick 17*41484Smckusick #include "param.h" 18*41484Smckusick #include "socket.h" 19*41484Smckusick #include "protosw.h" 20*41484Smckusick #include "domain.h" 21*41484Smckusick 22*41484Smckusick #include "rmp.h" 23*41484Smckusick 24*41484Smckusick #ifdef RMP 25*41484Smckusick /* 26*41484Smckusick * HP Remote Maintenance Protocol (RMP) family: BOOT 27*41484Smckusick */ 28*41484Smckusick 29*41484Smckusick extern struct domain rmpdomain; 30*41484Smckusick extern int raw_usrreq(), rmp_output(); 31*41484Smckusick 32*41484Smckusick struct protosw rmpsw[] = { 33*41484Smckusick { SOCK_RAW, &rmpdomain, RMPPROTO_BOOT, PR_ATOMIC|PR_ADDR, 34*41484Smckusick 0, rmp_output, 0, 0, 35*41484Smckusick raw_usrreq, 36*41484Smckusick 0, 0, 0, 0, 37*41484Smckusick }, 38*41484Smckusick }; 39*41484Smckusick 40*41484Smckusick struct domain rmpdomain = { 41*41484Smckusick AF_RMP, "RMP", 0, 0, 0, rmpsw, &rmpsw[sizeof(rmpsw)/sizeof(rmpsw[0])] 42*41484Smckusick }; 43*41484Smckusick 44*41484Smckusick #endif 45