/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_resolv_common.c | 82 svc_getxid(SVCXPRT *xprt) argument 84 struct svc_dg_data *su = get_svc_dg_data(xprt);
|
H A D | yp_b_svc.c | 340 SVCXPRT *xprt; local 346 if ((xprt = svc_tp_create(ypbindprog_3, 352 cache_transport(nconf, xprt, YPBINDVERS); 367 if (!svc_reg(xprt, YPBINDPROG, YPBINDVERS_2, 375 cache_transport(nconf, xprt, YPBINDVERS_2); 381 if (!svc_reg(xprt, YPBINDPROG, YPBINDVERS_1, 389 cache_transport(nconf, xprt, YPBINDVERS_1); 403 __rpc_negotiate_uid(xprt->xp_fd)) {
|
H A D | ypserv.c | 155 SVCXPRT *xprt; member in struct:__anon1927 304 if ((service[i].xprt = svc_tli_create(service[i].fd, nconf, 314 if (!svc_reg(service[i].xprt, YPPROG, YPVERS, ypdispatch, 317 svc_destroy(service[i].xprt); 318 service[i].xprt = 0; 325 if (service[i].olddispatch && !svc_reg(service[i].xprt, YPPROG, 330 svc_destroy(service[i].xprt); 331 service[i].xprt = 0;
|
H A D | ypserv_resolv.c | 66 static int getprognum(long *prognum, SVCXPRT **xprt, char *fd_str, 75 SVCXPRT *xprt = NULL; local 108 if (!getprognum(&prognum, &xprt, fd_str, prog_str, YPDNSVERS, tp)) { 109 syslog(LOG_ERR, "can't create resolv xprt for transient.\n"); 141 /* close fd, free xprt, but leave mapping */ 142 if (xprt) 143 svc_destroy(xprt); 200 static int getprognum(long *prognum, SVCXPRT **xprt, char *fd_str, argument 215 *xprt = NULL; 226 * - close the fd (after exec), free xprt, leav 290 resolv_req(bool *fwding, CLIENT **client, int *pid, char *tp, SVCXPRT *xprt, struct ypreq_key *req, char *map) argument [all...] |
H A D | ypxfrd_server.c | 127 SVCXPRT *xprt; local 136 xprt = rqstp->rq_xprt; 185 if ((nbuf = svc_getrpccaller(xprt)) == 0) { 187 if (!svc_sendreply(xprt, xdr_answer, (caddr_t)&res)) { 188 svcerr_systemerr(xprt); 196 if (!svc_sendreply(xprt, xdr_answer, (caddr_t)&res)) { 197 svcerr_systemerr(xprt); 218 if (!svc_sendreply(xprt, xdr_answer, (caddr_t)&res)) { 219 svcerr_systemerr(xprt);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_rpc_api.c | 39 fmd_api_1_freeresult(SVCXPRT *xprt, xdrproc_t proc, caddr_t data) argument 42 svc_done(xprt);
|
H A D | fmd_rpc.c | 66 SVCXPRT *xprt; local 101 svc_fd_negotiate_ucred(fd); /* enable ucred option on xprt */ 103 if ((xprt = svc_tli_create(fd, ncp, NULL, ssz, rsz)) == NULL) { 108 if (svc_reg(xprt, prog, vers, disp, ncp) == FALSE) { 111 svc_destroy(xprt); 136 if ((xprt = svc_door_create(disp, prog, vers, ssz)) == NULL) { 140 (void) svc_control(xprt, SVCSET_CONNMAXREC, &rsz);
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_generic.c | 61 SVCXPRT *xprt; local 127 xprt = svc_tli_create(fd, nconf, bind_addr, 0, 0); 130 if (xprt == NULL) { 137 if (svc_reg(xprt, prognum, versnum, dispatch, nconf) 143 SVC_DESTROY(xprt); /* also t_closes fd */
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | key_generic.c | 76 SVCXPRT *xprt; /* Server handle */ member in struct:xlist 81 SVCXPRT *xprt; local 98 if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) { 101 if (svc_reg(l->xprt, prognum, versnum, 158 xprt = svc_tli_create(fd, nconf, bind_addr, 0, 0); 161 if (xprt) { 163 if (svc_reg(xprt, prognum, versnum, 168 SVC_DESTROY(xprt); 175 SVC_DESTROY(xprt); 178 l->xprt [all...] |
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_generic.c | 39 SVCXPRT *xprt; local 105 xprt = svc_tli_create(fd, nconf, bind_addr, 0, 0); 108 if (xprt == NULL) { 115 if (svc_reg(xprt, prognum, versnum, dispatch, nconf) 121 SVC_DESTROY(xprt); /* also t_closes fd */
|
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_stub.c | 38 static void null_dispatch(struct svc_req *req, SVCXPRT *xprt); 87 rdcstub_dispatch(struct svc_req *req, SVCXPRT *xprt) argument 89 (*dispatch)(req, xprt); 94 null_dispatch(struct svc_req *req, SVCXPRT *xprt) argument 96 svcerr_noproc(xprt);
|
H A D | rdcsrv.c | 76 static void rdcsrv_xprtclose(const SVCXPRT *xprt); 168 rdcsrv_dispdup(struct svc_req *req, SVCXPRT *xprt) argument 180 dupstat = SVC_DUP(xprt, req, 0, 0, &dr); 185 svcerr_systemerr(xprt); 195 (*fn)(xprt, req); 196 SVC_DUPDONE(xprt, dr, 0, 0, DUP_DONE); 211 rdcsrv_dispatch(struct svc_req *req, SVCXPRT *xprt) argument 227 svcerr_noproc(xprt); 230 /* svcerr_noproc does a freeargs on xprt */ 239 svcerr_noproc(xprt); 280 SVCXPRT *xprt; local 282 SVCMASTERXPRT *xprt; local 400 rdcsrv_xprtclose(const SVCXPRT *xprt) argument [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_kadmind.c | 95 SVCXPRT *xprt, /* net transport handle */ 145 netbuf2pm(svc_getrpccaller(xprt), &r_port, &machine); 159 SVCXPRT *xprt, 166 common_audit(AUE_kadmind_auth, xprt, l_port, op, prime_arg, 172 SVCXPRT *xprt, 178 common_audit(AUE_kadmind_unauth, xprt, l_port, op, prime_arg, 93 common_audit( au_event_t event, SVCXPRT *xprt, in_port_t l_port, char *op, char *prime_arg, char *clnt_name, int sorf) argument 158 audit_kadmind_auth( SVCXPRT *xprt, in_port_t l_port, char *op, char *prime_arg, char *clnt_name, int sorf) argument 171 audit_kadmind_unauth( SVCXPRT *xprt, in_port_t l_port, char *op, char *prime_arg, char *clnt_name) argument
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | svc_gen.c | 111 SVCMASTERXPRT *xprt = NULL; /* service handle */ local 162 error = svc_clts_kcreate(fp, max_msgsize, &tinfo, &xprt); 166 error = svc_cots_kcreate(fp, max_msgsize, &tinfo, &xprt); 179 xprt->xp_req_head = (mblk_t *)0; 180 xprt->xp_req_tail = (mblk_t *)0; 181 xprt->xp_full = FALSE; 182 xprt->xp_enable = FALSE; 183 xprt->xp_reqs = 0; 184 xprt->xp_size = 0; 185 mutex_init(&xprt [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_raw.c | 126 svc_raw_stat(SVCXPRT *xprt) argument 133 svc_raw_recv(SVCXPRT *xprt, struct rpc_msg *msg) argument 154 svc_raw_reply(SVCXPRT *xprt, struct rpc_msg *msg) argument 175 svc_raw_getargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) argument 191 svc_raw_freeargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) argument 211 svc_raw_destroy(SVCXPRT *xprt) argument 217 svc_raw_control(SVCXPRT *xprt, const uint_t rq, void *in) argument
|
H A D | svc_generic.c | 115 SVCXPRT *xprt; local 139 if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) { 142 if (svc_reg(l->xprt, prognum, versnum, 156 xprt = svc_tp_create(dispatch, prognum, versnum, nconf); 157 if (xprt) { 158 if (!__svc_add_to_xlist(&_svc_xprtlist, xprt, 185 SVCXPRT *xprt; local 197 xprt = svc_tli_create_common(RPC_ANYFD, nconf, NULL, 0, 0, anon_mlp); 198 if (xprt == NULL) 202 if (svc_reg(xprt, prognu 233 SVCXPRT *xprt = NULL; /* service handle */ local [all...] |
H A D | svid_funcs.c | 107 svc_control(SVCXPRT *xprt, const uint_t rq, void *in) argument 111 *((int *)in) = __svc_versquiet_get(xprt); 115 __svc_versquiet_off(xprt); 117 __svc_versquiet_on(xprt); 120 return ((*(xprt)->xp_ops->xp_control)(xprt, rq, in)); 125 svc_destroy(SVCXPRT *xprt) argument 127 (*(xprt)->xp_ops->xp_destroy)(xprt); 131 svc_freeargs(SVCXPRT *xprt, xdrproc_ argument 137 svc_getargs(SVCXPRT *xprt, xdrproc_t xargs, char *argsp) argument 143 svc_getrpccaller(SVCXPRT *xprt) argument [all...] |
H A D | ti_opts.c | 114 * information is stored at xprt->xp_p2. 218 __rpc_get_local_cred(SVCXPRT *xprt, svc_local_cred_t *lcred) argument 224 if (svc_type(xprt) == SVC_DOOR) 225 err = __svc_get_door_ucred(xprt, uc) == FALSE; 227 err = find_ucred_opt(xprt, uc, B_TRUE);
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | adspriv_impl.c | 206 adspriv_program_1_freeresult(SVCXPRT *xprt, xdrproc_t fun, caddr_t res) argument
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | check_bound.c | 327 mergeaddr(SVCXPRT *xprt, char *netid, char *uaddr, char *saddr) argument 351 ma.c_uaddr = taddr2uaddr(fdl->nconf, svc_getrpccaller(xprt)); 368 &(xprt)->xp_ltaddr)) == NULL) { 373 * (xprt)->xp_ltaddr contains portmap's port address.
|
H A D | pmap_svc.c | 68 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) argument 77 PMAP_CHECK(xprt, rqstp->rq_proc); 79 if ((!svc_sendreply(xprt, (xdrproc_t)xdr_void, NULL)) && 91 pmapproc_change(rqstp, xprt, rqstp->rq_proc); 98 pmapproc_change(rqstp, xprt, rqstp->rq_proc); 106 pmapproc_getport(rqstp, xprt); 113 PMAP_CHECK(xprt, rqstp->rq_proc); 114 pmapproc_dump(rqstp, xprt); 125 rpcbproc_callit_com(rqstp, xprt, PMAPPROC_CALLIT, PMAPVERS); 129 PMAP_CHECK(xprt, rqst 166 pmapproc_change(struct svc_req *rqstp, SVCXPRT *xprt, unsigned long op) argument 242 pmapproc_getport(struct svc_req *rqstp, SVCXPRT *xprt) argument 317 pmapproc_dump(struct svc_req *rqstp, SVCXPRT *xprt) argument [all...] |
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | svc_tcp.c | 75 struct tcp_rendezvous { /* kept in xprt->xp_p1 */ 80 struct tcp_conn { /* kept in xprt->xp_p1 */ 89 * xprt = svctcp_create(sock, send_buf_size, recv_buf_size); 92 * Once *xprt is initialized, it is registered as a transporter 100 * xprt->xp_sock is the registered socket number and xprt->xp_port is the 114 register SVCXPRT *xprt; local 150 xprt = svc_xprt_alloc(); 151 if (xprt == NULL) { 158 xprt 190 register SVCXPRT *xprt; local [all...] |
/illumos-gate/usr/src/uts/common/klm/ |
H A D | klmops.c | 141 lm_nlm_dispatch(struct svc_req *req, SVCXPRT *xprt) argument 143 _NOTE(ARGUNUSED(req, xprt)) 147 lm_nlm4_dispatch(struct svc_req *req, SVCXPRT *xprt) argument 149 _NOTE(ARGUNUSED(req, xprt))
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_dispatch.c | 361 * xprt The server transport handle 377 SVCXPRT *xprt, char *ap) 397 if (!svc_sendreply(xprt, xdr_void, NULL)) { 399 svcerr_systemerr(xprt); 495 if (!svc_sendreply(xprt, xdr_COMPOUND4res_srv, (char *)rbp)) { 497 struct svc_req *, xprt, 499 svcerr_systemerr(xprt); 531 rfs4_minorvers_mismatch(struct svc_req *req, SVCXPRT *xprt, void *args) argument 557 if (!svc_sendreply(xprt, xdr_COMPOUND4res_srv, (char *)resp)) { 559 SVCXPRT *, xprt, cha 376 rfs4_dispatch(struct rpcdisp *disp, struct svc_req *req, SVCXPRT *xprt, char *ap) argument [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/disk-transport/ |
H A D | disk_transport.c | 76 dt_post_ereport(fmd_hdl_t *hdl, fmd_xprt_t *xprt, const char *protocol, argument 94 fmd_xprt_post(hdl, xprt, nvl, 0);
|