/osnet-11/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
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | svc_raw.c | 122 svc_raw_stat(SVCXPRT *xprt) argument 129 svc_raw_recv(SVCXPRT *xprt, struct rpc_msg *msg) argument 150 svc_raw_reply(SVCXPRT *xprt, struct rpc_msg *msg) argument 171 svc_raw_getargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) argument 187 svc_raw_freeargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) argument 207 svc_raw_destroy(SVCXPRT *xprt) argument 213 svc_raw_control(SVCXPRT *xprt, const uint_t rq, void *in) argument
|
H A D | svc_generic.c | 114 SVCXPRT *xprt; local 138 if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) { 141 if (svc_reg(l->xprt, prognum, versnum, 154 xprt = svc_tp_create(dispatch, prognum, versnum, nconf); 155 if (xprt) { 156 if (!__svc_add_to_xlist(&_svc_xprtlist, xprt, 183 SVCXPRT *xprt; local 196 xprt = svc_tli_create_common(RPC_ANYFD, nconf, NULL, 0, 0, anon_mlp); 197 if (xprt == NULL) 201 if (svc_reg(xprt, prognu 232 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 | 111 * information is stored at xprt->xp_p2. 214 __rpc_get_local_cred(SVCXPRT *xprt, svc_local_cred_t *lcred) argument 220 if (svc_type(xprt) == SVC_DOOR) 221 err = __svc_get_door_ucred(xprt, uc) == FALSE; 223 err = find_ucred_opt(xprt, uc, B_TRUE);
|
H A D | svc_door.c | 70 * kept in xprt->xp_p2 83 #define su_data(xprt) ((struct svc_door_data *)(xprt->xp_p2)) 95 __svc_add_to_xlist(SVCXPRT_LIST **list, SVCXPRT *xprt, mutex_t *lockp) argument 101 l->xprt = xprt; 112 __svc_rm_from_xlist(SVCXPRT_LIST **list, SVCXPRT *xprt, mutex_t *lockp) argument 119 if ((*l)->xprt == xprt) { 157 svc_door_destroy_pvt(l->xprt); 178 svc_door_dispatch(SVCXPRT *xprt, struct rpc_msg *msg, struct svc_req *r) argument 226 SVCXPRT *xprt; local 293 svc_door_xprtfree(SVCXPRT *xprt) argument 313 SVCXPRT *xprt; local 440 SVCXPRT *xprt; local 496 SVCXPRT *xprt; local 521 return_xprt_copy(SVCXPRT *xprt) argument 565 svc_door_stat(SVCXPRT *xprt) argument 571 svc_door_recv(SVCXPRT *xprt, struct rpc_msg *msg) argument 585 svc_door_reply(SVCXPRT *xprt, struct rpc_msg *msg) argument 601 svc_door_getargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) argument 608 svc_door_freeargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) argument 618 svc_door_destroy(SVCXPRT *xprt) argument 626 svc_door_destroy_pvt(SVCXPRT *xprt) argument 654 svc_door_control(SVCXPRT *xprt, const uint_t rq, void *in) argument 718 __svc_get_door_cred(SVCXPRT *xprt, svc_local_cred_t *lcred) argument 734 __svc_get_door_ucred(const SVCXPRT *xprt, ucred_t *ucp) argument [all...] |
H A D | svc_run.c | 261 SVCXPRT *xprt; local 274 xprt = svc_xports[fd]; 275 if (xprt) { 276 SVC_DESTROY(xprt); 393 SVCXPRT *parent_xprt, *xprt; local 629 * Get parent xprt. It is possible for the parent service 645 * Make a copy of parent xprt, update svc_fdset. 647 if ((xprt = make_xprt_copy(parent_xprt)) == NULL) 671 msg = SVCEXT(xprt)->msg; 673 r = SVCEXT(xprt) 848 SVCXPRT *xprt; local 877 _svc_done_private(SVCXPRT *xprt) argument 918 svc_done(SVCXPRT *xprt) argument 947 svc_args_done(SVCXPRT *xprt) argument [all...] |
H A D | svc_dg.c | 69 #define rpc_buffer(xprt) ((xprt)->xp_p1) 73 * xprt = svc_dg_create(sock, sendsize, recvsize); 75 * Once *xprt is initialized, it is registered. 87 /* Structure used to initialize SVC_XP_AUTH(xprt).svc_ah_ops. */ 92 svc_dg_xprtfree(SVCXPRT *xprt) argument 95 SVCXPRT_EXT *xt = xprt ? SVCEXT(xprt) : NULL; 97 struct svc_dg_data *su = xprt ? get_svc_dg_data(xprt) 122 SVCXPRT *xprt; local 188 SVCXPRT *xprt; local 198 SVCXPRT *xprt; local 270 svc_dg_stat(SVCXPRT *xprt) argument 313 set_src_addr(SVCXPRT *xprt, struct netbuf *opt) argument 360 svc_dg_recv(SVCXPRT *xprt, struct rpc_msg *msg) argument 474 svc_dg_reply(SVCXPRT *xprt, struct rpc_msg *msg) argument 527 svc_dg_getargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) argument 537 svc_dg_freeargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) argument 547 svc_dg_destroy(SVCXPRT *xprt) argument 555 _svc_dg_destroy_private(SVCXPRT *xprt) argument 580 svc_dg_control(SVCXPRT *xprt, const uint_t rq, void *in) argument 685 svc_dg_enablecache(SVCXPRT *xprt, const uint_t size) argument 750 cache_set(SVCXPRT *xprt, uint32_t replylen) argument 864 cache_get(SVCXPRT *xprt, struct rpc_msg *msg, char **replyp, uint32_t *replylenp) argument [all...] |
H A D | svc_vc.c | 79 /* Structure used to initialize SVC_XP_AUTH(xprt).svc_ah_ops. */ 93 struct cf_rendezvous { /* kept in xprt->xp_p1 for rendezvouser */ 105 struct cf_conn { /* kept in xprt->xp_p1 for actual connection */ 168 svc_vc_xprtfree(SVCXPRT *xprt) argument 171 SVCXPRT_EXT *xt = xprt ? SVCEXT(xprt) : NULL; 172 struct cf_rendezvous *r = xprt ? 174 (struct cf_rendezvous *)xprt->xp_p1 : NULL; 176 if (!xprt) 179 if (xprt 211 SVCXPRT *xprt; local 300 SVCXPRT *xprt; local 310 SVCXPRT *xprt; local 385 __svc_vc_setflag(SVCXPRT *xprt, int flag) argument 445 SVCXPRT *xprt; local 453 svc_fd_xprtfree(SVCXPRT *xprt) argument 489 SVCXPRT *xprt; local 594 SVCXPRT *xprt; local 673 rendezvous_request(SVCXPRT *xprt, struct rpc_msg *msg) argument 744 SVCXPRT *xprt = NULL; local 1111 rendezvous_stat(SVCXPRT *xprt) argument 1117 svc_vc_destroy(SVCXPRT *xprt) argument 1126 _svc_vc_destroy_private(SVCXPRT *xprt, bool_t lock_not_held) argument 1173 svc_vc_control(SVCXPRT *xprt, const uint_t rq, void *in) argument 1194 rendezvous_control(SVCXPRT *xprt, const uint_t rq, void *in) argument 1302 read_vc(SVCXPRT *xprt, caddr_t buf, int len) argument 1381 t_rcvnonblock(SVCXPRT *xprt, caddr_t buf, int len) argument 1431 SVCXPRT *xprt; local 1540 write_vc(SVCXPRT *xprt, caddr_t buf, int len) argument 1641 svc_vc_stat(SVCXPRT *xprt) argument 1664 svc_vc_recv(SVCXPRT *xprt, struct rpc_msg *msg) argument 1713 svc_vc_getargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) argument 1726 svc_vc_freeargs(SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) argument 1736 svc_vc_reply(SVCXPRT *xprt, struct rpc_msg *msg) argument 1871 SVCXPRT *xprt; local 1924 SVCXPRT *xprt; local 1971 __svc_vc_dupcache_init(SVCXPRT *xprt, void *condition, int basis) argument [all...] |
H A D | svc.c | 39 * There are two sets of procedures here. The xprt routines are 569 __svc_get_svcauth(SVCXPRT *xprt) argument 572 return (&SVC_XP_AUTH(xprt)); 737 xprt_register(const SVCXPRT *xprt) argument 739 int fd = xprt->xp_fd; 786 svc_xports[fd] = (SVCXPRT *)xprt; 825 __xprt_unregister_private(const SVCXPRT *xprt, bool_t lock_not_held) argument 827 int fd = xprt->xp_fd; 831 if ((fd < nsvc_xports) && (svc_xports[fd] == xprt)) { 837 __svc_rm_from_xlist(&_svc_xprtlist, xprt, 841 xprt_unregister(const SVCXPRT *xprt) argument 854 svc_reg(const SVCXPRT *xprt, const rpcprog_t prog, const rpcvers_t vers, void (*dispatch)(), const struct netconfig *nconf) argument 966 svc_register(SVCXPRT *xprt, rpcprog_t prog, rpcvers_t vers, void (*dispatch)(), int protocol) argument 1092 svc_sendreply(const SVCXPRT *xprt, const xdrproc_t xdr_results, const caddr_t xdr_location) argument 1110 svcerr_noproc(const SVCXPRT *xprt) argument 1125 svcerr_decode(const SVCXPRT *xprt) argument 1140 svcerr_systemerr(const SVCXPRT *xprt) argument 1158 __svc_versquiet_on(const SVCXPRT *xprt) argument 1165 __svc_versquiet_off(const SVCXPRT *xprt) argument 1172 svc_versquiet(const SVCXPRT *xprt) argument 1178 __svc_versquiet_get(const SVCXPRT *xprt) argument 1188 svcerr_auth(const SVCXPRT *xprt, const enum auth_stat why) argument 1203 svcerr_weakauth(const SVCXPRT *xprt) argument 1212 svcerr_noprog(const SVCXPRT *xprt) argument 1227 svcerr_progvers(const SVCXPRT *xprt, const rpcvers_t low_vers, const rpcvers_t high_vers) argument 1325 SVCXPRT *xprt; local 1400 _svc_prog_dispatch(SVCXPRT *xprt, struct rpc_msg *msg, struct svc_req *r) argument 1486 SVCXPRT *xprt = NULL; local 1531 svc_xprt_free(SVCXPRT *xprt) argument 1559 svc_xprt_destroy(SVCXPRT *xprt) argument 1596 svc_copy(SVCXPRT *xprt) argument 1615 _svc_destroy_private(SVCXPRT *xprt) argument 1636 svc_get_local_cred(SVCXPRT *xprt, svc_local_cred_t *lcred) argument [all...] |