Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc.c89 RPCB_CHECK(transp, rqstp->rq_proc); 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()
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()
133 svc_getrpccaller(transp)); in rpcb_service_3()
137 svcerr_weakauth(transp); in rpcb_service_3()
180 svcerr_noproc(transp); in rpcb_service_3()
185 svcerr_decode(transp); in rpcb_service_3()
[all …]
H A Drpcb_svc_4.c86 RPCB_CHECK(transp, rqstp->rq_proc); 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()
105 svcerr_weakauth(transp); in rpcb_service_4()
118 if (strcasecmp(transp->xp_netid, loopback_dg) && in rpcb_service_4()
122 svcerr_weakauth(transp); in rpcb_service_4()
187 svcerr_noproc(transp); in rpcb_service_4()
192 svcerr_decode(transp); in rpcb_service_4()
199 svcerr_systemerr(transp); in rpcb_service_4()
237 SVCXPRT *transp = rqstp->rq_xprt; in rpcbproc_getaddrlist() local
[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.c377 if (!(*result = mergeaddr(transp, transp->xp_netid, in rpcbproc_getaddr_com()
742 svcerr_systemerr(transp); in rpcbproc_callit_com()
751 svcerr_systemerr(transp); in rpcbproc_callit_com()
762 svcerr_decode(transp); in rpcbproc_callit_com()
893 svcerr_noprog(transp); in rpcbproc_callit_com()
917 char *uaddr = mergeaddr(transp, transp->xp_netid, in rpcbproc_callit_com()
921 svcerr_noprog(transp); in rpcbproc_callit_com()
932 svcerr_systemerr(transp); in rpcbproc_callit_com()
957 svcerr_systemerr(transp); in rpcbproc_callit_com()
1020 svcerr_systemerr(transp); in rpcbproc_callit_com()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_proc.c138 svcerr_decode(transp); in ypdomain()
185 svcerr_decode(transp); in ypdomain()
207 svcerr_decode(transp); in ypmatch()
303 ypfirst(SVCXPRT *transp) in ypfirst() argument
316 svcerr_decode(transp); in ypfirst()
343 ypnext(SVCXPRT *transp) in ypnext() argument
354 svcerr_decode(transp); in ypnext()
511 ypall(SVCXPRT *transp) in ypall() argument
526 svcerr_decode(transp); in ypall()
607 svcerr_decode(transp); in ypmaster()
[all …]
H A Dypsym.h129 extern void ypfirst(SVCXPRT *transp);
130 extern void ypnext(SVCXPRT *transp);
132 extern void ypall(SVCXPRT *transp);
133 extern void ypmaster(SVCXPRT *transp);
134 extern void yporder(SVCXPRT *transp);
135 extern void ypmaplist(SVCXPRT *transp);
138 extern void ypoldnext(SVCXPRT *transp);
139 extern void ypoldpoll(SVCXPRT *transp);
140 extern void ypoldpush(SVCXPRT *transp);
141 extern void ypoldpull(SVCXPRT *transp);
[all …]
H A Dypserv.c504 ypfirst(transp); in ypdispatch()
508 ypnext(transp); in ypdispatch()
527 ypall(transp); in ypdispatch()
531 ypmaster(transp); in ypdispatch()
535 yporder(transp); in ypdispatch()
539 ypmaplist(transp); in ypdispatch()
585 ypoldnext(transp); in ypolddispatch()
589 ypoldpoll(transp); in ypolddispatch()
593 ypoldpush(transp); in ypolddispatch()
597 ypoldpull(transp); in ypolddispatch()
[all …]
H A Dyp_b_svc.c187 SVCXPRT *transp; local
471 ypbindprog_3(rqstp, transp) in ypbindprog_3() argument
473 register SVCXPRT *transp;
507 svcerr_noproc(transp);
513 svcerr_decode(transp);
522 svcerr_systemerr(transp);
532 ypbindprog_2(rqstp, transp) in ypbindprog_2() argument
534 register SVCXPRT *transp;
564 svcerr_noproc(transp);
570 svcerr_decode(transp);
[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 …]
H A Dyp_b_subr.c832 SVCXPRT *transp;
841 if (transp) {
842 svcerr_systemerr(transp);
848 if (transp != NULL) {
874 svcerr_noprog(transp);
887 svcerr_noprog(transp);
894 transp->xp_netid);
898 svcerr_noprog(transp);
909 svcerr_noprog(transp);
933 if (transp) {
[all …]
H A Dyppush.c244 static void listener_dispatch(struct svc_req *rqstp, SVCXPRT *transp);
248 static void get_xfr_response(SVCXPRT *transp);
858 listener_dispatch(struct svc_req *rqstp, SVCXPRT *transp) in listener_dispatch() argument
863 if (!svc_sendreply(transp, xdr_void, 0)) { in listener_dispatch()
869 get_xfr_response(transp); in listener_dispatch()
873 svcerr_noproc(transp); in listener_dispatch()
968 get_xfr_response(SVCXPRT *transp) in get_xfr_response() argument
973 if (!svc_getargs(transp, (xdrproc_t)xdr_yppushresp_xfr, in get_xfr_response()
975 svcerr_decode(transp); in get_xfr_response()
979 if (!svc_sendreply(transp, xdr_void, 0)) { in get_xfr_response()
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Drpc.ypupdated.c122 SVCXPRT *transp; in main() local
124 transp = svctcp_create(RPC_INETDSOCK, 0, 0); in main()
125 if (transp == NULL) { in main()
197 ypupdate_prog(struct svc_req *rqstp, SVCXPRT *transp) in ypupdate_prog() argument
211 svc_sendreply(transp, xdr_void, NULL); in ypupdate_prog()
226 svcerr_noproc(transp); in ypupdate_prog()
242 addr2netname(namebuf, transp); in ypupdate_prog()
251 svcerr_weakauth(transp); in ypupdate_prog()
256 svcerr_decode(transp); in ypupdate_prog()
363 addr2netname(char *namebuf, SVCXPRT *transp) in addr2netname() argument
[all …]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_dispatch.c73 SVCXPRT *transp, in nlm_dispatch() argument
116 svcerr_noproc(transp); in nlm_dispatch()
122 svcerr_noproc(transp); in nlm_dispatch()
143 svcerr_decode(transp); in nlm_dispatch()
159 svcerr_systemerr(transp); in nlm_dispatch()
210 svcerr_systemerr(transp); in nlm_dispatch()
509 svcerr_noprog(transp); in nlm_prog_3()
515 svcerr_noproc(transp); in nlm_prog_3()
521 nlm_dispatch(rqstp, transp, de); in nlm_prog_3()
743 svcerr_noprog(transp); in nlm_prog_4()
[all …]
/illumos-gate/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 …]
/illumos-gate/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.c417 register SVCXPRT *transp) in krb5_iprop_prog_1() argument
429 (void) svc_sendreply(transp, xdr_void, in krb5_iprop_prog_1()
449 svcerr_noproc(transp); in krb5_iprop_prog_1()
453 if (!svc_getargs(transp, _xdr_argument, (caddr_t)&argument)) { in krb5_iprop_prog_1()
457 svcerr_decode(transp); in krb5_iprop_prog_1()
463 !svc_sendreply(transp, _xdr_result, result)) { in krb5_iprop_prog_1()
467 svcerr_systemerr(transp); in krb5_iprop_prog_1()
469 if (!svc_freeargs(transp, _xdr_argument, (caddr_t)&argument)) { in krb5_iprop_prog_1()
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c123 register SVCXPRT *transp; in main() local
229 dispatch(rqstp, transp) in dispatch() argument
249 svcerr_noproc(transp);
312 getquota(rqstp, transp) in getquota() argument
325 svcerr_decode(transp);
405 log_cant_reply(transp);
641 getclientsnames(transp) in getclientsnames() argument
642 SVCXPRT *transp; in getclientsnames()
665 transp->xp_netid);
683 log_cant_reply(transp) in log_cant_reply() argument
[all …]
/illumos-gate/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 …]
/illumos-gate/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.c817 mntlist_send(transp); in mnt()
841 svcerr_noproc(transp); in mnt()
872 cln_init(&cln, transp); in log_cant_reply()
886 SVCXPRT *transp; in mnt_pathconf() local
896 svcerr_decode(transp); in mnt_pathconf()
1164 if ((cln->transp = transp) != NULL) { in cln_init_common()
1296 SVCXPRT *transp; in mount() local
1318 svcerr_decode(transp); in mount()
1322 cln_init(&cln, transp); in mount()
3211 SVCXPRT *transp; in umount() local
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c195 sm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) in sm_prog_1() argument
224 svc_sendreply(transp, xdr_void, (caddr_t)NULL); in sm_prog_1()
235 svcerr_noproc(transp); in sm_prog_1()
242 svc_sendreply(transp, xdr_void, (caddr_t)NULL); in sm_prog_1()
282 svcerr_noproc(transp); in sm_prog_1()
288 if (!svc_getargs(transp, xdr_argument, (caddr_t)&argument)) { in sm_prog_1()
289 svcerr_decode(transp); in sm_prog_1()
295 if (!svc_sendreply(transp, xdr_result, (caddr_t)&result)) { in sm_prog_1()
296 svcerr_systemerr(transp); in sm_prog_1()
299 if (!svc_freeargs(transp, xdr_argument, (caddr_t)&argument)) { in sm_prog_1()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c72 struct transp { struct
73 struct transp *tr_next; argument
87 static void free_transports(struct transp *); argument
89 static struct mapfs *sort_responses(struct transp *);
134 struct transp *tr_head; in nfs_cast()
135 struct transp *trans, *prev_trans; in nfs_cast()
181 trans = (struct transp *)malloc(sizeof (*trans)); in nfs_cast()
509 struct transp *trans; in sort_responses()
511 struct transp *t;
670 struct transp *trans; in free_transports()
[all …]
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_svcout.c201 write_netid_register(char *transp) in write_netid_register() argument
240 def->def_name, vp->vers_name, transp); in write_netid_register()
252 write_nettype_register(char *transp) in write_nettype_register() argument
269 f_print(fout, "\t \"%s\")) {\n", transp); in write_nettype_register()
272 def->def_name, vp->vers_name, transp); in write_nettype_register()
679 printerr(char *err, char *transp) in printerr() argument
681 f_print(fout, "\t\tsvcerr_%s(%s);\n", err, transp); in printerr()
688 proc, transp, arg, prefix, arg); in printif()
1121 write_inetd_register(char *transp) in write_inetd_register() argument
1134 if (streq(transp, "udp")) in write_inetd_register()
[all …]

123