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.c136 svcerr_decode(transp); in ypdomain()
183 svcerr_decode(transp); in ypdomain()
205 svcerr_decode(transp); in ypmatch()
301 ypfirst(SVCXPRT *transp) in ypfirst() argument
314 svcerr_decode(transp); in ypfirst()
341 ypnext(SVCXPRT *transp) in ypnext() argument
352 svcerr_decode(transp); in ypnext()
509 ypall(SVCXPRT *transp) in ypall() argument
524 svcerr_decode(transp); in ypall()
605 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.c185 SVCXPRT *transp; local
469 ypbindprog_3(rqstp, transp) in ypbindprog_3() argument
471 register SVCXPRT *transp;
505 svcerr_noproc(transp);
511 svcerr_decode(transp);
520 svcerr_systemerr(transp);
530 ypbindprog_2(rqstp, transp) in ypbindprog_2() argument
532 register SVCXPRT *transp;
562 svcerr_noproc(transp);
568 svcerr_decode(transp);
[all …]
H A Dypxfrd_svc.c110 ypxfrd_1(struct svc_req *rqstp, register SVCXPRT *transp) in ypxfrd_1() argument
122 (void) svc_sendreply(transp, in ypxfrd_1()
135 svcerr_noproc(transp); in ypxfrd_1()
141 if (!svc_getargs(transp, _xdr_argument, (caddr_t)&argument)) { in ypxfrd_1()
142 svcerr_decode(transp); in ypxfrd_1()
149 !svc_sendreply(transp, _xdr_result, result)) { in ypxfrd_1()
150 svcerr_systemerr(transp); in ypxfrd_1()
152 if (!svc_freeargs(transp, _xdr_argument, (caddr_t)&argument)) { in ypxfrd_1()
178 SVCXPRT *transp; in main() local
193 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { in main()
[all …]
H A Dyp_b_subr.c830 SVCXPRT *transp;
839 if (transp) {
840 svcerr_systemerr(transp);
846 if (transp != NULL) {
872 svcerr_noprog(transp);
885 svcerr_noprog(transp);
892 transp->xp_netid);
896 svcerr_noprog(transp);
907 svcerr_noprog(transp);
931 if (transp) {
[all …]
H A Dyppush.c243 static void listener_dispatch(struct svc_req *rqstp, SVCXPRT *transp);
247 static void get_xfr_response(SVCXPRT *transp);
857 listener_dispatch(struct svc_req *rqstp, SVCXPRT *transp) in listener_dispatch() argument
862 if (!svc_sendreply(transp, xdr_void, 0)) { in listener_dispatch()
868 get_xfr_response(transp); in listener_dispatch()
872 svcerr_noproc(transp); in listener_dispatch()
967 get_xfr_response(SVCXPRT *transp) in get_xfr_response() argument
972 if (!svc_getargs(transp, (xdrproc_t)xdr_yppushresp_xfr, in get_xfr_response()
974 svcerr_decode(transp); in get_xfr_response()
978 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.c89 SVCXPRT *transp; in main() local
100 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { in main()
106 if (!svc_reg(transp, BOOTPARAMPROG, BOOTPARAMVERS, in main()
167 bootparamprog_1(struct svc_req *rqstp, register SVCXPRT *transp) in bootparamprog_1() argument
180 (void) svc_sendreply(transp, xdr_void, (char *)NULL); in bootparamprog_1()
197 svcerr_noproc(transp); in bootparamprog_1()
202 if (!svc_getargs(transp, xdr_argument, (caddr_t)&argument)) { in bootparamprog_1()
203 svcerr_decode(transp); in bootparamprog_1()
208 if (result != NULL && !svc_sendreply(transp, xdr_result, result)) { in bootparamprog_1()
209 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/fs.d/nfs/mountd/
H A Dmountd.c857 mntlist_send(transp); in mnt()
883 svcerr_noproc(transp); in mnt()
914 cln_init(&cln, transp); in log_cant_reply()
928 SVCXPRT *transp; in mnt_pathconf() local
938 svcerr_decode(transp); in mnt_pathconf()
1206 if ((cln->transp = transp) != NULL) { in cln_init_common()
1338 SVCXPRT *transp; in mount() local
1360 svcerr_decode(transp); in mount()
1364 cln_init(&cln, transp); in mount()
3253 SVCXPRT *transp; in umount() local
[all …]
H A Dexportlist.c69 SVCXPRT *transp; in export() local
80 transp = rqstp->rq_xprt; in export()
81 if (!svc_getargs(transp, xdr_void, NULL)) { in export()
82 svcerr_decode(transp); in export()
160 if (!svc_sendreply(transp, xdr_exports, (char *)&exportlist)) in export()
161 log_cant_reply(transp); in export()
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drstat_main.c73 SVCXPRT *transp; in main() local
86 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { in main()
92 if (!svc_reg(transp, RSTATPROG, RSTATVERS_VAR, rstatprog_4, in main()
98 if (!svc_reg(transp, RSTATPROG, RSTATVERS_TIME, rstatprog_3, in main()
104 if (!svc_reg(transp, RSTATPROG, RSTATVERS_SWTCH, rstatprog_2, in main()
H A Drpc.rusersd.c104 SVCXPRT *transp; in main() local
119 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { in main()
125 if (!svc_reg(transp, RUSERSPROG, RUSERSVERS_3, rusers_service, in main()
130 if (!svc_reg(transp, RUSERSPROG, RUSERSVERS_IDLE, in main()
307 rusers_service(rqstp, transp) in rusers_service() argument
309 register SVCXPRT *transp;
318 if (svc_sendreply(transp, xdr_void, 0) == FALSE) {
324 if (!svc_sendreply(transp, xdr_u_long, (caddr_t)&cnt))
335 if (!svc_sendreply(transp, xdr_utmpidlearr,
368 if (!svc_sendreply(transp, xdr_utmp_array,
[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.c70 struct transp { struct
71 struct transp *tr_next; argument
85 static void free_transports(struct transp *); argument
87 static struct mapfs *sort_responses(struct transp *);
132 struct transp *tr_head; in nfs_cast()
133 struct transp *trans, *prev_trans; in nfs_cast()
179 trans = (struct transp *)malloc(sizeof (*trans)); in nfs_cast()
507 struct transp *trans; in sort_responses()
509 struct transp *t;
668 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