Home | History | Annotate | Line # | Download | only in nfs
krpc.h revision 1.1
      1 
      2 #include <sys/cdefs.h>
      3 
      4 int krpc_call __P((struct sockaddr_in *sin, \
      5 	u_long prog, u_long vers, u_long func, \
      6 	struct mbuf **data, struct mbuf **from));
      7 
      8 int krpc_portmap __P((struct sockaddr_in *sin, \
      9 	u_long prog, u_long vers, u_short *portp));
     10 
     11 
     12 /*
     13  * RPC definitions for the portmapper
     14  */
     15 #define	PMAPPORT		111
     16 #define	PMAPPROG		100000
     17 #define	PMAPVERS		2
     18 #define	PMAPPROC_NULL		0
     19 #define	PMAPPROC_SET		1
     20 #define	PMAPPROC_UNSET		2
     21 #define	PMAPPROC_GETPORT	3
     22 #define	PMAPPROC_DUMP		4
     23 #define	PMAPPROC_CALLIT		5
     24 
     25 
     26 /*
     27  * RPC definitions for bootparamd
     28  */
     29 #define	BOOTPARAM_PROG		100026
     30 #define	BOOTPARAM_VERS		1
     31 #define BOOTPARAM_WHOAMI	1
     32 #define BOOTPARAM_GETFILE	2
     33 
     34