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

123

/illumos-gate/usr/src/cmd/ypcmd/
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) argument
488 if (!svc_sendreply(transp, xdr_void, 0))
493 ypdomain(transp, TRUE);
497 ypdomain(transp, FALSE);
501 ypmatch(transp, rqstp);
505 ypfirst(transp);
509 ypnext(transp);
513 ypxfr(transp, YPPROC_XF
554 ypolddispatch(struct svc_req *rqstp, SVCXPRT *transp) argument
[all...]
H A Dypupdated.c142 SVCXPRT *transp; local
160 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) {
164 if (!svc_reg(transp, YPU_PROG, YPU_VERS, ypupdate_prog, 0)) {
206 ypupdate_prog(rqstp, transp)
208 SVCXPRT *transp;
219 svc_sendreply(transp, xdr_void, NULL);
234 svcerr_noproc(transp);
249 if (addr2netname(namebuf, transp) != 0) {
253 svcerr_systemerr(transp);
262 svcerr_systemerr(transp);
[all...]
H A Dypserv_proc.c124 ypdomain(SVCXPRT *transp, bool always_respond) argument
135 if (!svc_getargs(transp, (xdrproc_t)xdr_ypdomain_wrap_string,
137 svcerr_decode(transp);
146 nbuf = svc_getrpccaller(transp);
162 if (!svc_sendreply(transp, xdr_bool, (char *)&isserved)) {
184 svcerr_decode(transp);
194 ypmatch(SVCXPRT *transp, struct svc_req *rqstp) argument
205 if (!svc_getargs(transp, (xdrproc_t)xdr_ypreq_key, (char *)&req)) {
206 svcerr_decode(transp);
216 yp_map_access(transp,
302 ypfirst(SVCXPRT *transp) argument
342 ypnext(SVCXPRT *transp) argument
384 ypxfr(SVCXPRT *transp, int prog) argument
510 ypall(SVCXPRT *transp) argument
591 ypmaster(SVCXPRT *transp) argument
636 yporder(SVCXPRT *transp) argument
682 ypmaplist(SVCXPRT *transp) argument
981 ypoldmatch(SVCXPRT *transp, struct svc_req *rqstp) argument
1092 ypoldfirst(SVCXPRT *transp) argument
1156 ypoldnext(SVCXPRT *transp) argument
1224 ypoldpoll(SVCXPRT *transp) argument
1295 ypoldpush(SVCXPRT *transp) argument
1346 ypoldpull(SVCXPRT *transp) argument
1394 ypoldget(SVCXPRT *transp) argument
[all...]
H A Dypxfrd_svc.c111 ypxfrd_1(struct svc_req *rqstp, register SVCXPRT *transp) argument
123 (void) svc_sendreply(transp,
136 svcerr_noproc(transp);
142 if (!svc_getargs(transp, _xdr_argument, (caddr_t)&argument)) {
143 svcerr_decode(transp);
150 !svc_sendreply(transp, _xdr_result, result)) {
151 svcerr_systemerr(transp);
153 if (!svc_freeargs(transp, _xdr_argument, (caddr_t)&argument)) {
179 SVCXPRT *transp; local
194 if ((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)
473 register SVCXPRT *transp;
507 svcerr_noproc(transp);
512 if (!svc_getargs(transp, (xdrproc_
[all...]
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc.c64 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) argument
89 RPCB_CHECK(transp, rqstp->rq_proc);
96 (void) svc_sendreply(transp, (xdrproc_t)xdr_void, (char *)NULL);
104 if (strcasecmp(transp->xp_netid, loopback_dg) &&
105 strcasecmp(transp->xp_netid, loopback_vc) &&
106 strcasecmp(transp->xp_netid, loopback_vc_ord)) {
109 uaddr = taddr2uaddr(rpcbind_get_conf(transp->xp_netid),
110 svc_getrpccaller(transp));
114 svcerr_weakauth(transp);
127 if (strcasecmp(transp
[all...]
H A Drpcb_svc_4.c57 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) argument
86 RPCB_CHECK(transp, rqstp->rq_proc);
93 (void) svc_sendreply(transp, (xdrproc_t)xdr_void, (char *)NULL);
101 if (strcasecmp(transp->xp_netid, loopback_dg) &&
102 strcasecmp(transp->xp_netid, loopback_vc) &&
103 strcasecmp(transp->xp_netid, loopback_vc_ord)) {
105 svcerr_weakauth(transp);
118 if (strcasecmp(transp->xp_netid, loopback_dg) &&
119 strcasecmp(transp->xp_netid, loopback_vc) &&
120 strcasecmp(transp
237 SVCXPRT *transp = rqstp->rq_xprt; local
[all...]
H A Drpcb_check.c148 rpcb_log(boolean_t verdict, SVCXPRT *transp, rpcproc_t proc, rpcprog_t prog, argument
161 if ((conf = rpcbind_get_conf(transp->xp_netid)) == 0) {
166 client = sgen_toa(svc_getgencaller(transp), toabuf,
168 } else if ((uaddr = taddr2uaddr(conf, &(transp->xp_rtaddr))) == NULL) {
193 rpcb_check(SVCXPRT *transp, rpcproc_t procnum, boolean_t ispmap) argument
198 if ((conf = rpcbind_get_conf(transp->xp_netid)) == 0) {
211 if (!localxprt(transp, ispmap)) {
217 sgen_toa(svc_getgencaller(transp), buf,
230 svcerr_auth(transp, AUTH_FAILED);
233 rpcb_log(res, transp, procnu
[all...]
H A Drpcb_svc_com.c337 SVCXPRT *transp = rqstp->rq_xprt; local
354 trans_conf = rpcbind_get_conf(transp->xp_netid);
358 rmtaddr = (struct sockaddr_in6 *)transp->xp_rtaddr.buf;
369 fnd = find_service(regp->r_prog, regp->r_vers, transp->xp_netid);
375 if (!(*result = mergeaddr(transp, transp->xp_netid,
405 transp->xp_netid, *result);
700 rpcbproc_callit_com(struct svc_req *rqstp, SVCXPRT *transp, ulong_t reply_type, argument
738 if (t_getinfo(transp->xp_fd, &tinfo) == -1) {
740 svcerr_systemerr(transp);
1562 rpcb_caller_uid(SVCXPRT *transp) argument
1579 getowner(SVCXPRT *transp, char *owner) argument
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_trans.c134 md_trans_t *transp
137 Free(transp);
154 md_trans_t *transp; local
180 transp = Zalloc(sizeof (*transp));
183 transp->common.namep = transnp;
184 transp->common.type = mt->c.un_type;
185 transp->common.state = mt->c.un_status;
186 transp->common.capabilities = mt->c.un_capabilities;
187 transp
271 md_trans_t *transp; local
479 trans_print( md_trans_t *transp, char *fname, FILE *fp, md_error_t *ep ) argument
798 mt_l_error_to_name( md_trans_t *transp, md_timeval32_t *tvp, uint_t tstate ) argument
828 mt_flags_to_name( md_trans_t *transp, md_timeval32_t *tvp, uint_t tstate ) argument
856 trans_report( mdsetname_t *sp, md_trans_t *transp, char *fname, FILE *fp, mdprtopts_t options, md_error_t *ep ) argument
1043 md_trans_t *transp; local
1170 md_trans_t *transp = NULL; local
1586 md_trans_t *transp; local
1680 md_trans_t *transp; local
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/
H A Dmdmn_commd_service.c108 mdmn_commd_2(rqstp, transp)
110 register SVCXPRT *transp;
128 (void) svc_sendreply(transp, xdr_void,
132 svc_done(transp);
139 if (!svc_getargs(transp, _xdr_argument, (caddr_t)&argument)) {
140 svcerr_decode(transp);
141 svc_done(transp);
150 * in order to register properly we need the transp handle
225 svcerr_noproc(transp);
228 svc_done(transp);
303 SVCXPRT *transp; local
[all...]
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Drpc.ypupdated.c122 SVCXPRT *transp; local
124 transp = svctcp_create(RPC_INETDSOCK, 0, 0);
125 if (transp == NULL) {
129 if (!svc_register(transp, YPU_PROG, YPU_VERS, ypupdate_prog,
198 ypupdate_prog(rqstp, transp)
200 SVCXPRT *transp;
211 svc_sendreply(transp, xdr_void, NULL);
226 svcerr_noproc(transp);
239 * addr2netname(namebuf, svc_getcaller(transp));
241 addr2netname(namebuf, transp);
[all...]
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_prot_svc.c92 SVCXPRT *transp; local
103 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) {
109 if (!svc_reg(transp, BOOTPARAMPROG, BOOTPARAMVERS,
170 bootparamprog_1(struct svc_req *rqstp, register SVCXPRT *transp) argument
183 (void) svc_sendreply(transp, xdr_void, (char *)NULL);
200 svcerr_noproc(transp);
205 if (!svc_getargs(transp, xdr_argument, (caddr_t)&argument)) {
206 svcerr_decode(transp);
211 if (result != NULL && !svc_sendreply(transp, xdr_result, result)) {
212 svcerr_systemerr(transp);
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dkadm_rpc_svc.c61 * transp (input) rpc transport structure
70 void kadm_1(rqstp, transp)
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);
[all...]
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drstat_main.c56 extern void rstatprog_4(/*struct svc_req *rqstp, SVCXPRT *transp*/);
57 extern void rstatprog_3(/*struct svc_req *rqstp, SVCXPRT *transp*/);
58 extern void rstatprog_2(/*struct svc_req *rqstp, SVCXPRT *transp*/);
75 SVCXPRT *transp; local
88 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) {
94 if (!svc_reg(transp, RSTATPROG, RSTATVERS_VAR, rstatprog_4,
100 if (!svc_reg(transp, RSTATPROG, RSTATVERS_TIME, rstatprog_3,
106 if (!svc_reg(transp, RSTATPROG, RSTATVERS_SWTCH, rstatprog_2,
H A Drpc.rusersd.c106 SVCXPRT *transp; local
121 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) {
127 if (!svc_reg(transp, RUSERSPROG, RUSERSVERS_3, rusers_service,
132 if (!svc_reg(transp, RUSERSPROG, RUSERSVERS_IDLE,
309 rusers_service(rqstp, transp)
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_arra
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_init.c55 SVCXPRT *transp = rqstp->rq_xprt; local
70 if (transp->xp_netid == NULL) {
71 md_eprintf("transp->xp_netid == NULL\n");
74 if ((nconfp = getnetconfigent(transp->xp_netid)) == NULL) {
76 nc_perror("getnetconfigent(transp->xp_netid)");
80 if ((__netdir_getbyaddr_nosrv(nconfp, &hservlistp, &transp->xp_rtaddr)
83 netdir_perror("netdir_getbyaddr(transp->xp_rtaddr)");
211 SVCXPRT *transp; local
230 transp = rqstp->rq_xprt;
231 assert(transp !
[all...]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_dispatch.c73 SVCXPRT *transp,
116 svcerr_noproc(transp);
121 !nlm_caller_is_local(transp)) {
122 svcerr_noproc(transp);
142 if (!SVC_GETARGS(transp, de->de_xargs, args)) {
143 svcerr_decode(transp);
154 dupstat = SVC_DUP_EXT(transp, rqstp, res, de->de_ressz, &dr,
159 svcerr_systemerr(transp);
179 SVC_DUPDONE_EXT(transp, dr, res, NULL,
184 SVC_DUPDONE_EXT(transp, d
71 nlm_dispatch( struct svc_req *rqstp, SVCXPRT *transp, const struct dispatch_entry *de) argument
491 nlm_prog_3(struct svc_req *rqstp, register SVCXPRT *transp) argument
736 nlm_prog_4(struct svc_req *rqstp, register SVCXPRT *transp) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dexportlist.c71 SVCXPRT *transp; local
82 transp = rqstp->rq_xprt;
83 if (!svc_getargs(transp, xdr_void, NULL)) {
84 svcerr_decode(transp);
162 if (!svc_sendreply(transp, xdr_exports, (char *)&exportlist))
163 log_cant_reply(transp);
H A Dmountd.h45 extern void mntlist_send(SVCXPRT *transp);
76 SVCXPRT *transp; member in struct:cln
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c121 register SVCXPRT *transp; local
162 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) {
169 if (!svc_reg(transp, RQUOTAPROG, RQUOTAVERS, dispatch, 0)) {
227 dispatch(rqstp, transp)
229 register SVCXPRT *transp;
237 if (!svc_sendreply(transp, xdr_void, 0))
238 log_cant_reply(transp);
243 getquota(rqstp, transp);
247 svcerr_noproc(transp);
310 getquota(rqstp, transp)
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_simple.c235 universal(struct svc_req *rqstp, SVCXPRT *transp) argument
249 if (svc_sendreply(transp, (xdrproc_t)xdr_void, NULL) == FALSE) {
262 (strcmp(pl->p_netid, transp->xp_netid) == 0)) {
272 if (!svc_getargs(transp, pl->p_inproc, xdrbuf)) {
273 svcerr_decode(transp);
284 if (!svc_sendreply(transp, pl->p_outproc, outdata)) {
292 (void) svc_freeargs(transp, pl->p_inproc, xdrbuf);
/illumos-gate/usr/src/cmd/rexd/
H A Drpc.rexd.c116 void dorex(struct svc_req *rqstp, SVCXPRT *transp);
407 dorex(rqstp, transp)
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_star
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_init.c172 SVCXPRT *transp = rqstp->rq_xprt; local
187 if (transp->xp_netid == NULL) {
188 med_eprintf("transp->xp_netid == NULL\n");
191 if ((nconfp = getnetconfigent(transp->xp_netid)) == NULL) {
193 nc_perror("getnetconfigent(transp->xp_netid)");
197 if ((__netdir_getbyaddr_nosrv(nconfp, &hservlistp, &transp->xp_rtaddr)
200 netdir_perror("netdir_getbyaddr(transp->xp_rtaddr)");
340 SVCXPRT *transp = rqstp->rq_xprt; local
368 svcerr_weakauth(transp);

Completed in 83 milliseconds

123