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