Searched refs:transp (Results 1 - 25 of 51) sorted by relevance

123

/netbsd-6-1-5-RELEASE/usr.sbin/rpc.yppasswdd/
H A Drpc.yppasswdd.c63 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 Drpcb_svc.c65 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 Drpcb_svc_4.c69 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 Drpcb_svc_com.c123 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 Drpcb_svc.c65 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 Drpcb_svc_4.c69 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 Drpcb_svc_com.c127 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 Drwalld.c78 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 Drquotad.c37 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 Dyppush_svc.c83 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 Dautofs_solaris_v1.c87 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 Dautofs_solaris_v2_v3.c501 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 Dsprayd.c69 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 Drusersd.c66 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 Drusers_proc.c352 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 Dpr28675.c7 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 Dpr28675.c7 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 Drstatd.c70 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 Dclient.h263 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 Dlockd.c86 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 Dnfs_prot_svc.c80 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 Damq_svc.c185 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 Dypserv.c115 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 Dsvc_simple.c256 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 Dnfs_prot_svc.c80 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,

Completed in 184 milliseconds

123