/netbsd-6-1-5-RELEASE/usr.sbin/rpc.yppasswdd/ |
H A D | rpc.yppasswdd.c | 63 SVCXPRT *transp; local 113 transp = svcudp_create(RPC_ANYSOCK); 114 if (transp == NULL) 117 if (!svc_register(transp, YPPASSWDPROG, YPPASSWDVERS, yppasswddprog_1, 122 transp = svctcp_create(RPC_ANYSOCK, RPC_MAXDATASIZE, RPC_MAXDATASIZE); 123 if (transp == NULL) 126 if (!svc_register(transp, YPPASSWDPROG, YPPASSWDVERS, yppasswddprog_1, 137 yppasswddprog_1(struct svc_req *rqstp, SVCXPRT *transp) argument 145 (void)svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); 157 if (!svc_getargs(transp, xdr_yppassw [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/rpcbind/ |
H A D | rpcb_svc.c | 65 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) argument 91 check_access(transp, rqstp->rq_proc, NULL, RPCBVERS); 92 (void) svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); 124 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS); 158 svcerr_noproc(transp); 162 if (!svc_getargs(transp, (xdrproc_t) xdr_argument, 164 svcerr_decode(transp); 169 if (!check_access(transp, rqstp->rq_proc, &argument, RPCBVERS)) { 170 svcerr_weakauth(transp); 173 result = (*local)(&argument, rqstp, transp, RPCBVER 206 rpcbproc_getaddr_3_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t versnum) argument 228 rpcbproc_dump_3_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t versnum) argument [all...] |
H A D | rpcb_svc_4.c | 69 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) argument 93 check_access(transp, rqstp->rq_proc, NULL, RPCBVERS4); 94 (void) svc_sendreply(transp, (xdrproc_t) xdr_void, NULL); 148 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); 157 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); 211 svcerr_noproc(transp); 215 if (!svc_getargs(transp, (xdrproc_t) xdr_argument, 217 svcerr_decode(transp); 222 if (!check_access(transp, rqstp->rq_proc, &argument, RPCBVERS4)) { 223 svcerr_weakauth(transp); 262 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t rpcbversnum) argument 292 rpcbproc_getversaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t versnum) argument 320 rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t versnum) argument [all...] |
H A D | rpcb_svc_com.c | 123 rpcbproc_set_com(void *arg, struct svc_req *rqstp, SVCXPRT *transp, argument 136 ans = map_set(regp, getowner(transp, owner, sizeof owner)); 212 rpcbproc_unset_com(void *arg, struct svc_req *rqstp, SVCXPRT *transp, argument 225 ans = map_unset(regp, getowner(transp, owner, sizeof owner)); 306 rpcbproc_getaddr_com(RPCB *regp, struct svc_req *rqstp, SVCXPRT *transp, argument 315 fnd = find_service(regp->r_prog, regp->r_vers, transp->xp_netid); 321 if (!(uaddr = mergeaddr(transp, transp->xp_netid, 341 transp->xp_netid, uaddr); 347 rpcbproc_gettime_com(void *arg, struct svc_req *rqstp, SVCXPRT *transp, argument 362 rpcbproc_uaddr2taddr_com(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t rpcbversnum) argument 388 rpcbproc_taddr2uaddr_com(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t rpcbversnum) argument 594 rpcbproc_callit_com(struct svc_req *rqstp, SVCXPRT *transp, rpcproc_t reply_type, rpcvers_t versnum) argument 1354 getowner(SVCXPRT *transp, char *owner, size_t ownersize) argument [all...] |
/netbsd-6-1-5-RELEASE/tests/fs/nfs/nfsservice/rpcbind/ |
H A D | rpcb_svc.c | 65 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) argument 91 check_access(transp, rqstp->rq_proc, NULL, RPCBVERS); 92 (void) svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); 124 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS); 158 svcerr_noproc(transp); 162 if (!svc_getargs(transp, (xdrproc_t) xdr_argument, 164 svcerr_decode(transp); 169 if (!check_access(transp, rqstp->rq_proc, &argument, RPCBVERS)) { 170 svcerr_weakauth(transp); 173 result = (*local)(&argument, rqstp, transp, RPCBVER 206 rpcbproc_getaddr_3_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t versnum) argument 228 rpcbproc_dump_3_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t versnum) argument [all...] |
H A D | rpcb_svc_4.c | 69 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) argument 93 check_access(transp, rqstp->rq_proc, NULL, RPCBVERS4); 94 (void) svc_sendreply(transp, (xdrproc_t) xdr_void, NULL); 148 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); 157 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); 211 svcerr_noproc(transp); 215 if (!svc_getargs(transp, (xdrproc_t) xdr_argument, 217 svcerr_decode(transp); 222 if (!check_access(transp, rqstp->rq_proc, &argument, RPCBVERS4)) { 223 svcerr_weakauth(transp); 262 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t rpcbversnum) argument 292 rpcbproc_getversaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t versnum) argument 320 rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t versnum) argument [all...] |
H A D | rpcb_svc_com.c | 127 rpcbproc_set_com(void *arg, struct svc_req *rqstp, SVCXPRT *transp, argument 140 ans = map_set(regp, getowner(transp, owner, sizeof owner)); 216 rpcbproc_unset_com(void *arg, struct svc_req *rqstp, SVCXPRT *transp, argument 229 ans = map_unset(regp, getowner(transp, owner, sizeof owner)); 310 rpcbproc_getaddr_com(RPCB *regp, struct svc_req *rqstp, SVCXPRT *transp, argument 319 fnd = find_service(regp->r_prog, regp->r_vers, transp->xp_netid); 325 if (!(uaddr = mergeaddr(transp, transp->xp_netid, 345 transp->xp_netid, uaddr); 351 rpcbproc_gettime_com(void *arg, struct svc_req *rqstp, SVCXPRT *transp, argument 366 rpcbproc_uaddr2taddr_com(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t rpcbversnum) argument 392 rpcbproc_taddr2uaddr_com(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t rpcbversnum) argument 590 rpcbproc_callit_com(struct svc_req *rqstp, SVCXPRT *transp, rpcproc_t reply_type, rpcvers_t versnum) argument 1352 getowner(SVCXPRT *transp, char *owner, size_t ownersize) argument [all...] |
/netbsd-6-1-5-RELEASE/libexec/rpc.rwalld/ |
H A D | rwalld.c | 78 SVCXPRT *transp; local 110 transp = svc_dg_create(0, 0, 0); 111 if (transp == NULL) { 115 if (!svc_reg(transp, WALLPROG, WALLVERS, wallprog_1, NULL)) { 149 wallprog_1(struct svc_req *rqstp, SVCXPRT *transp) argument 160 (void)svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); 171 svcerr_noproc(transp); 175 if (!svc_getargs(transp, xdr_argument, (caddr_t)&argument)) { 176 svcerr_decode(transp); 180 if (result != NULL && !svc_sendreply(transp, xdr_resul [all...] |
/netbsd-6-1-5-RELEASE/libexec/rpc.rquotad/ |
H A D | rquotad.c | 37 static void rquota_service(struct svc_req *request, SVCXPRT *transp); 38 static void ext_rquota_service(struct svc_req *request, SVCXPRT *transp); 39 static void sendquota(struct svc_req *request, int vers, SVCXPRT *transp); 56 SVCXPRT *transp; local 78 transp = svc_dg_create(0, 0, 0); 79 if (transp == NULL) { 83 if (!svc_reg(transp, RQUOTAPROG, RQUOTAVERS, rquota_service, 89 if (!svc_reg(transp, RQUOTAPROG, EXT_RQUOTAVERS, 115 rquota_service(struct svc_req *request, SVCXPRT *transp) argument 119 (void)svc_sendreply(transp, (xdrproc_ 136 ext_rquota_service(struct svc_req *request, SVCXPRT *transp) argument 210 sendquota(struct svc_req *request, int vers, SVCXPRT *transp) argument [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/ypserv/yppush/ |
H A D | yppush_svc.c | 83 yppush_xfrrespprog_1(struct svc_req *rqstp, SVCXPRT *transp) argument 107 svcerr_noproc(transp); 114 if (!svc_getargs(transp, xdr_argument, (caddr_t) &argument)) { 115 svcerr_decode(transp); 122 if (result != NULL && !svc_sendreply(transp, xdr_result, result)) 123 svcerr_systemerr(transp); 125 if (!svc_freeargs(transp, xdr_argument, (caddr_t) &argument)) {
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/conf/autofs/ |
H A D | autofs_solaris_v1.c | 87 static int autofs_mount_1_req(struct mntrequest *mr, struct mntres *result, struct authunix_parms *cred, SVCXPRT *transp); 88 static int autofs_unmount_1_req(struct umntrequest *ur, struct umntres *result, struct authunix_parms *cred, SVCXPRT *transp); 190 SVCXPRT *transp) 248 SVCXPRT *transp) 272 if (!mp->am_transp && transp) { 274 *(mp->am_transp) = *transp; 297 autofs_program_1(struct svc_req *rqstp, SVCXPRT *transp) argument 313 current_transp = transp; 318 svc_sendreply(transp, 336 svcerr_noproc(transp); 187 autofs_mount_1_req(struct mntrequest *m, struct mntres *res, struct authunix_parms *cred, SVCXPRT *transp) argument 245 autofs_unmount_1_req(struct umntrequest *ul, struct umntres *res, struct authunix_parms *cred, SVCXPRT *transp) argument 601 SVCXPRT *transp = mp->am_transp; local 625 SVCXPRT *transp = mp->am_transp; local 648 SVCXPRT *transp = mp->am_transp; local 683 SVCXPRT *transp = mp->am_transp; local [all...] |
H A D | autofs_solaris_v2_v3.c | 501 SVCXPRT *transp) 569 SVCXPRT *transp) 594 /* new_mp->am_transp = transp; */ 697 SVCXPRT *transp) 733 if (!mp->am_transp && transp) { 735 *(mp->am_transp) = *transp; 764 SVCXPRT *transp) 785 SVCXPRT *transp) 803 SVCXPRT *transp) 840 autofs_program_2(struct svc_req *rqstp, SVCXPRT *transp) argument 498 autofs_lookup_2_req(autofs_lookupargs *m, autofs_lookupres *res, struct authunix_parms *cred, SVCXPRT *transp) argument 566 autofs_mount_2_req(autofs_lookupargs *m, autofs_mountres *res, struct authunix_parms *cred, SVCXPRT *transp) argument 694 autofs_unmount_2_req(umntrequest *ul, umntres *res, struct authunix_parms *cred, SVCXPRT *transp) argument 761 autofs_postunmount_2_req(postumntreq *req, postumntres *res, struct authunix_parms *cred, SVCXPRT *transp) argument 782 autofs_postmount_2_req(postmountreq *req, postmountres *res, struct authunix_parms *cred, SVCXPRT *transp) argument 800 autofs_readdir_2_req(struct autofs_rddirargs *req, struct amd_rddirres *res, struct authunix_parms *cred, SVCXPRT *transp) argument 1170 SVCXPRT *transp = mp->am_transp; local 1194 SVCXPRT *transp = mp->am_transp; local 1217 SVCXPRT *transp = mp->am_transp; local 1256 SVCXPRT *transp = mp->am_transp; local [all...] |
/netbsd-6-1-5-RELEASE/libexec/rpc.sprayd/ |
H A D | sprayd.c | 69 SVCXPRT *transp; local 96 transp = svc_dg_create(0, 0, 0); 97 if (transp == NULL) { 101 if (!svc_reg(transp, SPRAYPROG, SPRAYVERS, spray_service, 122 spray_service(struct svc_req *rqstp, SVCXPRT *transp) argument 134 (void)svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); 149 svcerr_noproc(transp); 153 if (!svc_sendreply(transp, (xdrproc_t)xdr_spraycumul, (caddr_t)&scum)) { 154 svcerr_systemerr(transp);
|
/netbsd-6-1-5-RELEASE/libexec/rpc.rusersd/ |
H A D | rusersd.c | 66 SVCXPRT *transp; local 91 transp = svc_dg_create(0, 0, 0); 92 if (transp == NULL) { 96 if (!svc_reg(transp, RUSERSPROG, RUSERSVERS_3, rusers_service, 102 if (!svc_reg(transp, RUSERSPROG, RUSERSVERS_IDLE,
|
H A D | rusers_proc.c | 352 rusers_service(struct svc_req *rqstp, SVCXPRT *transp) argument 363 (void)svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); 376 svcerr_progvers(transp, RUSERSVERS_IDLE, RUSERSVERS_3); 396 svcerr_progvers(transp, RUSERSVERS_IDLE, RUSERSVERS_3); 416 svcerr_progvers(transp, RUSERSVERS_IDLE, RUSERSVERS_3); 423 svcerr_noproc(transp); 427 if (!svc_getargs(transp, xdr_argument, (caddr_t)(void *)&argument)) { 428 svcerr_decode(transp); 432 if (result != NULL && !svc_sendreply(transp, xdr_result, result)) { 433 svcerr_systemerr(transp); [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/ |
H A D | pr28675.c | 7 unsigned short *transp; member in struct:fb_cmap 35 if (fb_cmap.transp && i < alpha_len) 36 fb_cmap.transp[i] = clut[i].a;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/ |
H A D | pr28675.c | 7 unsigned short *transp; member in struct:fb_cmap 35 if (fb_cmap.transp && i < alpha_len) 36 fb_cmap.transp[i] = clut[i].a;
|
/netbsd-6-1-5-RELEASE/libexec/rpc.rstatd/ |
H A D | rstatd.c | 70 SVCXPRT *transp; local 101 transp = svc_dg_create(0, 0, 0); 102 if (transp == NULL) { 107 if (!svc_reg(transp, RSTATPROG, RSTATVERS_TIME, rstat_service, 114 if (!svc_reg(transp, RSTATPROG, RSTATVERS_SWTCH, rstat_service, 121 if (!svc_reg(transp, RSTATPROG, RSTATVERS_ORIG, rstat_service,
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/include/dns/ |
H A D | client.h | 263 dns_clientrestrans_t **transp); 292 * the resulting list of answer names (on success). On return, '*transp' is 308 *\li 'transp' != NULL && *transp == NULL; 334 dns_client_destroyrestrans(dns_clientrestrans_t **transp); 336 * Destroy name resolution transaction state identified by '*transp'. 340 *\li '*transp' is a valid transaction ID. 347 *\li *transp == NULL. 399 dns_clientreqtrans_t **transp); 430 * the response message (on success). On return, '*transp' i [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/rpc.lockd/ |
H A D | lockd.c | 86 SVCXPRT *transp; local 140 transp = svc_tli_create(RPC_ANYFD, nconf, NULL, RPC_MAXDATASIZE, 142 if (transp == NULL) { 146 if (!svc_reg(transp, NLM_PROG, NLM_SM, nlm_prog_0, nconf)) { 151 if (!svc_reg(transp, NLM_PROG, NLM_VERS, nlm_prog_1, nconf)) { 156 if (!svc_reg(transp, NLM_PROG, NLM_VERSX, nlm_prog_3, nconf)) { 161 if (!svc_reg(transp, NLM_PROG, NLM_VERS4, nlm_prog_4, nconf)) {
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/ |
H A D | nfs_prot_svc.c | 80 nfs_program_2(struct svc_req *rqstp, SVCXPRT *transp) argument 114 extern int __rpc_get_local_uid(SVCXPRT *transp, uid_t *uid); 115 if (__rpc_get_local_uid(transp, &u) >= 0 && u != 0) { 188 * Cheap way to pass transp down to amfs_auto_lookuppn so it can 192 current_transp = transp; 274 svcerr_noproc(transp); 279 if (!svc_getargs(transp, 285 svcerr_decode(transp); 292 if (result != NULL && !svc_sendreply(transp, 295 svcerr_systemerr(transp); [all...] |
H A D | amq_svc.c | 185 amq_program_1(struct svc_req *rqstp, SVCXPRT *transp) argument 206 svcerr_auth(transp, AUTH_FAILED); 290 svcerr_noproc(transp); 295 if (!svc_getargs(transp, 298 svcerr_decode(transp); 325 if (result != NULL && !svc_sendreply(transp, 328 svcerr_systemerr(transp); 331 if (!svc_freeargs(transp,
|
/netbsd-6-1-5-RELEASE/usr.sbin/ypserv/ypserv/ |
H A D | ypserv.c | 115 ypprog_2(struct svc_req *rqstp, SVCXPRT *transp) argument 142 caller = svc_getrpccaller(transp)->buf; 242 svcerr_noproc(transp); 252 svcerr_auth(transp, AUTH_FAILED); 258 if (!svc_getargs(transp, xdr_argument, argp)) { 259 svcerr_decode(transp); 263 if (result != NULL && !svc_sendreply(transp, xdr_result, result)) { 264 svcerr_systemerr(transp); 266 if (!svc_freeargs(transp, xdr_argument, argp)) { 279 ypprog_1(struct svc_req *rqstp, SVCXPRT *transp) argument [all...] |
/netbsd-6-1-5-RELEASE/lib/libc/rpc/ |
H A D | svc_simple.c | 256 universal(rqstp, transp) 258 SVCXPRT *transp; 271 _DIAGASSERT(transp != NULL); 277 if (svc_sendreply(transp, (xdrproc_t) xdr_void, NULL) == 290 (strcmp(pl->p_netid, transp->xp_netid) == 0)) { 300 if (!svc_getargs(transp, pl->p_inproc, xdrbuf)) { 301 svcerr_decode(transp); 312 if (!svc_sendreply(transp, pl->p_outproc, outdata)) { 320 (void) svc_freeargs(transp, pl->p_inproc, xdrbuf);
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/hlfsd/ |
H A D | nfs_prot_svc.c | 80 nfs_program_2(struct svc_req *rqstp, SVCXPRT *transp) argument 136 * Cheap way to pass transp down to afs_lookuppn so it can 140 nfs_program_2_transp = transp; 222 svcerr_noproc(transp); 227 if (!svc_getargs(transp, 233 svcerr_decode(transp); 240 if (result != NULL && !svc_sendreply(transp, 243 svcerr_systemerr(transp); 245 if (!svc_freeargs(transp,
|