Home | History | Annotate | Download | only in rpc.yppasswdd

Lines Matching refs:transp

62 	SVCXPRT *transp;
112 transp = svcudp_create(RPC_ANYSOCK);
113 if (transp == NULL)
116 if (!svc_register(transp, YPPASSWDPROG, YPPASSWDVERS, yppasswddprog_1,
121 transp = svctcp_create(RPC_ANYSOCK, RPC_MAXDATASIZE, RPC_MAXDATASIZE);
122 if (transp == NULL)
125 if (!svc_register(transp, YPPASSWDPROG, YPPASSWDVERS, yppasswddprog_1,
136 yppasswddprog_1(struct svc_req *rqstp, SVCXPRT *transp)
144 (void)svc_sendreply(transp, (xdrproc_t)xdr_void, NULL);
156 if (!svc_getargs(transp, xdr_yppasswd, (caddr_t) & argument)) {
157 svcerr_decode(transp);
160 make_passwd((yppasswd *)&argument, rqstp, transp);
161 if (!svc_freeargs(transp, xdr_yppasswd, (caddr_t) &argument))
166 svcerr_noproc(transp);