1 #include "mount_prot.h"
4 #include <rpc/pmap_clnt.h>
7 #include <sys/socket.h>
8 #include <netinet/in.h>
11 static void *null_result = (void *)&null_int;
14 mountproc3_null_3_svc(void *argp, struct svc_req *rqstp)
20 mountproc3_mnt_3_svc(dirpath *argp, struct svc_req *rqstp)
22 static char fhbytes[] = {0, 0, 0, 0, 0, 0, 0, 1};
23 static fhandle3 fh = {8, fhbytes};
24 static mountres3 result;
25 static int auth_flavors = AUTH_UNIX;
27 result.fhs_status = MNT3_OK;
28 result.mountres3_u.mountinfo.fhandle = fh;
29 result.mountres3_u.mountinfo.auth_flavors.auth_flavors_len = 1;
30 result.mountres3_u.mountinfo.auth_flavors.auth_flavors_val = &auth_flavors;
36 mountproc3_dump_3_svc(void *argp, struct svc_req *rqstp)
42 mountproc3_umnt_3_svc(dirpath *argp, struct svc_req *rqstp)
48 mountproc3_umntall_3_svc(void *argp, struct svc_req *rqstp)
54 mountproc3_export_3_svc(void *argp, struct svc_req *rqstp)