Home
last modified time | relevance | path

Searched refs:transp (Results 1 – 25 of 56) sorted by relevance

123

/titanic_44/usr/src/cmd/rpcbind/
H A Drpcb_svc.c64 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_3() argument
89 RPCB_CHECK(transp, rqstp->rq_proc); in rpcb_service_3()
96 (void) svc_sendreply(transp, (xdrproc_t)xdr_void, (char *)NULL); in rpcb_service_3()
104 if (strcasecmp(transp->xp_netid, loopback_dg) && in rpcb_service_3()
105 strcasecmp(transp->xp_netid, loopback_vc) && in rpcb_service_3()
106 strcasecmp(transp->xp_netid, loopback_vc_ord)) { in rpcb_service_3()
109 uaddr = taddr2uaddr(rpcbind_get_conf(transp->xp_netid), in rpcb_service_3()
110 svc_getrpccaller(transp)); in rpcb_service_3()
114 svcerr_weakauth(transp); in rpcb_service_3()
127 if (strcasecmp(transp->xp_netid, loopback_dg) && in rpcb_service_3()
[all …]
H A Drpcb_svc_4.c57 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_4() argument
86 RPCB_CHECK(transp, rqstp->rq_proc); in rpcb_service_4()
93 (void) svc_sendreply(transp, (xdrproc_t)xdr_void, (char *)NULL); in rpcb_service_4()
101 if (strcasecmp(transp->xp_netid, loopback_dg) && in rpcb_service_4()
102 strcasecmp(transp->xp_netid, loopback_vc) && in rpcb_service_4()
103 strcasecmp(transp->xp_netid, loopback_vc_ord)) { in rpcb_service_4()
105 svcerr_weakauth(transp); in rpcb_service_4()
118 if (strcasecmp(transp->xp_netid, loopback_dg) && in rpcb_service_4()
119 strcasecmp(transp->xp_netid, loopback_vc) && in rpcb_service_4()
120 strcasecmp(transp->xp_netid, loopback_vc_ord)) { in rpcb_service_4()
[all …]
H A Drpcb_check.c148 rpcb_log(boolean_t verdict, SVCXPRT *transp, rpcproc_t proc, rpcprog_t prog, in rpcb_log() argument
161 if ((conf = rpcbind_get_conf(transp->xp_netid)) == 0) { in rpcb_log()
166 client = sgen_toa(svc_getgencaller(transp), toabuf, in rpcb_log()
168 } else if ((uaddr = taddr2uaddr(conf, &(transp->xp_rtaddr))) == NULL) { in rpcb_log()
193 rpcb_check(SVCXPRT *transp, rpcproc_t procnum, boolean_t ispmap) in rpcb_check() argument
198 if ((conf = rpcbind_get_conf(transp->xp_netid)) == 0) { in rpcb_check()
211 if (!localxprt(transp, ispmap)) { in rpcb_check()
217 sgen_toa(svc_getgencaller(transp), buf, in rpcb_check()
230 svcerr_auth(transp, AUTH_FAILED); in rpcb_check()
233 rpcb_log(res, transp, procnum, 0, ispmap); in rpcb_check()
H A Drpcb_svc_com.c339 SVCXPRT *transp = rqstp->rq_xprt; in rpcbproc_getaddr_com() local
356 trans_conf = rpcbind_get_conf(transp->xp_netid); in rpcbproc_getaddr_com()
360 rmtaddr = (struct sockaddr_in6 *)transp->xp_rtaddr.buf; in rpcbproc_getaddr_com()
371 fnd = find_service(regp->r_prog, regp->r_vers, transp->xp_netid); in rpcbproc_getaddr_com()
377 if (!(*result = mergeaddr(transp, transp->xp_netid, in rpcbproc_getaddr_com()
407 transp->xp_netid, *result); in rpcbproc_getaddr_com()
702 rpcbproc_callit_com(struct svc_req *rqstp, SVCXPRT *transp, ulong_t reply_type, in rpcbproc_callit_com() argument
740 if (t_getinfo(transp->xp_fd, &tinfo) == -1) { in rpcbproc_callit_com()
742 svcerr_systemerr(transp); in rpcbproc_callit_com()
751 svcerr_systemerr(transp); in rpcbproc_callit_com()
[all …]
/titanic_44/usr/src/cmd/ypcmd/
H A Dypserv_proc.c124 ypdomain(SVCXPRT *transp, bool always_respond) in ypdomain() argument
135 if (!svc_getargs(transp, (xdrproc_t)xdr_ypdomain_wrap_string, in ypdomain()
137 svcerr_decode(transp); in ypdomain()
146 nbuf = svc_getrpccaller(transp); in ypdomain()
162 if (!svc_sendreply(transp, xdr_bool, (char *)&isserved)) { in ypdomain()
184 svcerr_decode(transp); in ypdomain()
194 ypmatch(SVCXPRT *transp, struct svc_req *rqstp) in ypmatch() argument
205 if (!svc_getargs(transp, (xdrproc_t)xdr_ypreq_key, (char *)&req)) { in ypmatch()
206 svcerr_decode(transp); in ypmatch()
216 yp_map_access(transp, &resp.status, fdb)) { in ypmatch()
[all …]
H A Dypsym.h122 extern bool yp_map_access(SVCXPRT *transp, uint_t *error, DBM *fdb);
129 extern void ypdomain(SVCXPRT *transp, bool always_respond);
130 extern void ypmatch(SVCXPRT *transp, struct svc_req *rqstp);
131 extern void ypfirst(SVCXPRT *transp);
132 extern void ypnext(SVCXPRT *transp);
133 extern void ypxfr(SVCXPRT *transp, int prog);
134 extern void ypall(SVCXPRT *transp);
135 extern void ypmaster(SVCXPRT *transp);
136 extern void yporder(SVCXPRT *transp);
137 extern void ypmaplist(SVCXPRT *transp);
[all …]
H A Dypserv.c95 static void ypdispatch(struct svc_req *rqstp, SVCXPRT *transp);
96 static void ypolddispatch(struct svc_req *rqstp, SVCXPRT *transp);
470 ypdispatch(struct svc_req *rqstp, SVCXPRT *transp) in ypdispatch() argument
488 if (!svc_sendreply(transp, xdr_void, 0)) in ypdispatch()
493 ypdomain(transp, TRUE); in ypdispatch()
497 ypdomain(transp, FALSE); in ypdispatch()
501 ypmatch(transp, rqstp); in ypdispatch()
505 ypfirst(transp); in ypdispatch()
509 ypnext(transp); in ypdispatch()
513 ypxfr(transp, YPPROC_XFR); in ypdispatch()
[all …]
H A Dypupdated.c138 SVCXPRT *transp; local
156 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) {
160 if (!svc_reg(transp, YPU_PROG, YPU_VERS, ypupdate_prog, 0)) {
202 ypupdate_prog(rqstp, transp) in ypupdate_prog() argument
204 SVCXPRT *transp;
215 svc_sendreply(transp, xdr_void, NULL);
230 svcerr_noproc(transp);
247 if (addr2netname(namebuf, transp) != 0) {
251 svcerr_systemerr(transp);
260 svcerr_systemerr(transp);
[all …]
H A Dyp_b_svc.c187 SVCXPRT *transp; local
211 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) {
218 __rpc_negotiate_uid(transp->xp_fd)) {
226 if (!svc_reg(transp, YPBINDPROG, YPBINDVERS, ypbindprog_3, 0)) {
230 if (!svc_reg(transp, YPBINDPROG, YPBINDVERS_2,
237 if (!svc_reg(transp, YPBINDPROG, YPBINDVERS_1,
471 ypbindprog_3(rqstp, transp) in ypbindprog_3() argument
473 register SVCXPRT *transp;
507 svcerr_noproc(transp);
512 if (!svc_getargs(transp, (xdrproc_t)xdr_argument, (char *)&argument)) {
[all …]
H A Dypxfrd_svc.c111 ypxfrd_1(struct svc_req *rqstp, register SVCXPRT *transp) in ypxfrd_1() argument
123 (void) svc_sendreply(transp, in ypxfrd_1()
136 svcerr_noproc(transp); in ypxfrd_1()
142 if (!svc_getargs(transp, _xdr_argument, (caddr_t)&argument)) { in ypxfrd_1()
143 svcerr_decode(transp); in ypxfrd_1()
150 !svc_sendreply(transp, _xdr_result, result)) { in ypxfrd_1()
151 svcerr_systemerr(transp); in ypxfrd_1()
153 if (!svc_freeargs(transp, _xdr_argument, (caddr_t)&argument)) { in ypxfrd_1()
179 SVCXPRT *transp; in main() local
194 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { in main()
[all …]
/titanic_44/usr/src/cmd/ypcmd/ypupdated/
H A Drpc.ypupdated.c124 SVCXPRT *transp; local
126 transp = svctcp_create(RPC_INETDSOCK, 0, 0);
127 if (transp == NULL) {
131 if (!svc_register(transp, YPU_PROG, YPU_VERS, ypupdate_prog,
200 ypupdate_prog(rqstp, transp) in ypupdate_prog() argument
202 SVCXPRT *transp;
213 svc_sendreply(transp, xdr_void, NULL);
228 svcerr_noproc(transp);
247 addr2netname(namebuf, transp);
255 svcerr_weakauth(transp);
[all …]
/titanic_44/usr/src/uts/common/klm/
H A Dnlm_dispatch.c73 SVCXPRT *transp, in nlm_dispatch() argument
116 svcerr_noproc(transp); in nlm_dispatch()
121 !nlm_caller_is_local(transp)) { in nlm_dispatch()
122 svcerr_noproc(transp); in nlm_dispatch()
142 if (!SVC_GETARGS(transp, de->de_xargs, args)) { in nlm_dispatch()
143 svcerr_decode(transp); in nlm_dispatch()
154 dupstat = SVC_DUP_EXT(transp, rqstp, res, de->de_ressz, &dr, in nlm_dispatch()
159 svcerr_systemerr(transp); in nlm_dispatch()
179 SVC_DUPDONE_EXT(transp, dr, res, NULL, in nlm_dispatch()
184 SVC_DUPDONE_EXT(transp, dr, res, de->de_resfree, in nlm_dispatch()
[all …]
/titanic_44/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_prot_svc.c92 SVCXPRT *transp; in main() local
103 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { in main()
109 if (!svc_reg(transp, BOOTPARAMPROG, BOOTPARAMVERS, in main()
170 bootparamprog_1(struct svc_req *rqstp, register SVCXPRT *transp) in bootparamprog_1() argument
183 (void) svc_sendreply(transp, xdr_void, (char *)NULL); in bootparamprog_1()
200 svcerr_noproc(transp); in bootparamprog_1()
205 if (!svc_getargs(transp, xdr_argument, (caddr_t)&argument)) { in bootparamprog_1()
206 svcerr_decode(transp); in bootparamprog_1()
211 if (result != NULL && !svc_sendreply(transp, xdr_result, result)) { in bootparamprog_1()
212 svcerr_systemerr(transp); in bootparamprog_1()
[all …]
/titanic_44/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_main.c79 void cachefsdprog_1(struct svc_req *rqstp, register SVCXPRT *transp);
115 SVCXPRT *transp; in main() local
302 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { in main()
309 xx = svc_reg(transp, CACHEFSDPROG, CACHEFSDVERS, in main()
417 cachefsdprog_1(struct svc_req *rqstp, register SVCXPRT *transp) in cachefsdprog_1() argument
429 dbug_precond(transp); in cachefsdprog_1()
435 svcerr_noproc(transp); in cachefsdprog_1()
453 if (!svc_getargs(transp, rtp->xdr_arg, (caddr_t)argumentp)) { in cachefsdprog_1()
454 svcerr_decode(transp); in cachefsdprog_1()
468 svcerr_systemerr(transp); in cachefsdprog_1()
[all …]
/titanic_44/usr/src/cmd/krb5/kadmin/server/
H A Dkadm_rpc_svc.c70 void kadm_1(rqstp, transp) in kadm_1() argument
72 register SVCXPRT *transp;
102 svcerr_weakauth(transp);
108 (void) svc_sendreply(transp, xdr_void, (char *)NULL);
243 svcerr_noproc(transp);
247 if (!svc_getargs(transp, xdr_argument, (char *) &argument)) {
248 svcerr_decode(transp);
252 if (result != NULL && !svc_sendreply(transp, xdr_result, (char *) result)) {
256 svcerr_systemerr(transp);
258 if (!svc_freeargs(transp, xdr_argument, (char *) &argument)) {
H A Dipropd_svc.c415 register SVCXPRT *transp) in krb5_iprop_prog_1() argument
427 (void) svc_sendreply(transp, xdr_void, in krb5_iprop_prog_1()
447 svcerr_noproc(transp); in krb5_iprop_prog_1()
451 if (!svc_getargs(transp, _xdr_argument, (caddr_t)&argument)) { in krb5_iprop_prog_1()
455 svcerr_decode(transp); in krb5_iprop_prog_1()
461 !svc_sendreply(transp, _xdr_result, result)) { in krb5_iprop_prog_1()
465 svcerr_systemerr(transp); in krb5_iprop_prog_1()
467 if (!svc_freeargs(transp, _xdr_argument, (caddr_t)&argument)) { in krb5_iprop_prog_1()
/titanic_44/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c123 register SVCXPRT *transp; in main() local
164 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { in main()
171 if (!svc_reg(transp, RQUOTAPROG, RQUOTAVERS, dispatch, 0)) { in main()
229 dispatch(rqstp, transp) in dispatch() argument
231 register SVCXPRT *transp;
239 if (!svc_sendreply(transp, xdr_void, 0))
240 log_cant_reply(transp);
245 getquota(rqstp, transp);
249 svcerr_noproc(transp);
312 getquota(rqstp, transp) in getquota() argument
[all …]
/titanic_44/usr/src/cmd/rexd/
H A Drpc.rexd.c116 void dorex(struct svc_req *rqstp, SVCXPRT *transp);
407 dorex(rqstp, transp) in dorex() argument
409 SVCXPRT *transp;
440 svc_destroy(transp);
457 if (transp != ListnerTransp) {
464 MySocket = transp->xp_sock;
467 if (transp->xp_sock != 0)
477 if (fd != transp->xp_sock && svc_pollfd[fd].fd == fd) {
496 if (svc_sendreply(transp, xdr_void, 0) == FALSE) {
511 if (svc_getargs(transp, xdr_rex_start, (char *)rst) == FALSE) {
[all …]
/titanic_44/usr/src/cmd/idmap/idmapd/
H A Drpc_svc.c184 idmap_prog_1(struct svc_req *rqstp, register SVCXPRT *transp) in idmap_prog_1() argument
296 svcerr_noproc(transp); in idmap_prog_1()
304 if (!svc_getargs(transp, _xdr_argument, (caddr_t)&argument)) { in idmap_prog_1()
305 svcerr_decode(transp); in idmap_prog_1()
314 !svc_sendreply(transp, _xdr_result, (char *)&result)) { in idmap_prog_1()
315 svcerr_systemerr(transp); in idmap_prog_1()
317 if (!svc_freeargs(transp, _xdr_argument, (caddr_t)&argument)) { in idmap_prog_1()
323 if (!idmap_prog_1_freeresult(transp, _xdr_result, in idmap_prog_1()
/titanic_44/usr/src/cmd/rpcsvc/
H A Drstat_main.c75 SVCXPRT *transp; in main() local
88 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { in main()
94 if (!svc_reg(transp, RSTATPROG, RSTATVERS_VAR, rstatprog_4, in main()
100 if (!svc_reg(transp, RSTATPROG, RSTATVERS_TIME, rstatprog_3, in main()
106 if (!svc_reg(transp, RSTATPROG, RSTATVERS_SWTCH, rstatprog_2, in main()
H A Drpc.rusersd.c106 SVCXPRT *transp; in main() local
121 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { in main()
127 if (!svc_reg(transp, RUSERSPROG, RUSERSVERS_3, rusers_service, in main()
132 if (!svc_reg(transp, RUSERSPROG, RUSERSVERS_IDLE, in main()
309 rusers_service(rqstp, transp) in rusers_service() argument
311 register SVCXPRT *transp;
320 if (svc_sendreply(transp, xdr_void, 0) == FALSE) {
326 if (!svc_sendreply(transp, xdr_u_long, (caddr_t)&cnt))
337 if (!svc_sendreply(transp, xdr_utmpidlearr,
370 if (!svc_sendreply(transp, xdr_utmp_array,
[all …]
/titanic_44/usr/src/cmd/fs.d/nfs/mountd/
H A Dexportlist.c71 SVCXPRT *transp; in export() local
82 transp = rqstp->rq_xprt; in export()
83 if (!svc_getargs(transp, xdr_void, NULL)) { in export()
84 svcerr_decode(transp); in export()
162 if (!svc_sendreply(transp, xdr_exports, (char *)&exportlist)) in export()
163 log_cant_reply(transp); in export()
H A Dmountd.c714 mnt(struct svc_req *rqstp, SVCXPRT *transp) in mnt() argument
719 if (!svc_sendreply(transp, xdr_void, (char *)0)) in mnt()
720 log_cant_reply(transp); in mnt()
728 mntlist_send(transp); in mnt()
748 svcerr_noproc(transp); in mnt()
752 svcerr_noproc(transp); in mnt()
777 log_cant_reply(SVCXPRT *transp) in log_cant_reply() argument
783 cln_init(&cln, transp); in log_cant_reply()
797 SVCXPRT *transp; in mnt_pathconf() local
802 transp = rqstp->rq_xprt; in mnt_pathconf()
[all …]
/titanic_44/usr/src/lib/libnsl/rpc/
H A Dsvc_simple.c235 universal(struct svc_req *rqstp, SVCXPRT *transp) in universal() argument
249 if (svc_sendreply(transp, (xdrproc_t)xdr_void, NULL) == FALSE) { in universal()
262 (strcmp(pl->p_netid, transp->xp_netid) == 0)) { in universal()
272 if (!svc_getargs(transp, pl->p_inproc, xdrbuf)) { in universal()
273 svcerr_decode(transp); in universal()
284 if (!svc_sendreply(transp, pl->p_outproc, outdata)) { in universal()
292 (void) svc_freeargs(transp, pl->p_inproc, xdrbuf); in universal()
/titanic_44/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c194 sm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) in sm_prog_1() argument
223 svc_sendreply(transp, xdr_void, (caddr_t)NULL); in sm_prog_1()
234 svcerr_noproc(transp); in sm_prog_1()
241 svc_sendreply(transp, xdr_void, (caddr_t)NULL); in sm_prog_1()
281 svcerr_noproc(transp); in sm_prog_1()
287 if (!svc_getargs(transp, xdr_argument, (caddr_t)&argument)) { in sm_prog_1()
288 svcerr_decode(transp); in sm_prog_1()
294 if (!svc_sendreply(transp, xdr_result, (caddr_t)&result)) { in sm_prog_1()
295 svcerr_systemerr(transp); in sm_prog_1()
298 if (!svc_freeargs(transp, xdr_argument, (caddr_t)&argument)) { in sm_prog_1()

123