/titanic_44/usr/src/lib/libnsl/rpc/ |
H A D | svc_auth.c | 101 __gss_authenticate(struct svc_req *rqst, struct rpc_msg *msg, in __gss_authenticate() argument 110 rqst->rq_cred = msg->rm_call.cb_cred; in __gss_authenticate() 111 rqst->rq_xprt->xp_verf.oa_flavor = _null_auth.oa_flavor; in __gss_authenticate() 112 rqst->rq_xprt->xp_verf.oa_length = 0; in __gss_authenticate() 113 cred_flavor = rqst->rq_cred.oa_flavor; in __gss_authenticate() 117 return (__svcauth_null(rqst, msg)); in __gss_authenticate() 119 return (__svcauth_sys(rqst, msg)); in __gss_authenticate() 121 return (__svcauth_short(rqst, msg)); in __gss_authenticate() 123 return (__svcauth_des(rqst, msg)); in __gss_authenticate() 125 return (__svcauth_loopback(rqst, msg)); in __gss_authenticate() [all …]
|
H A D | svc_auth_sys.c | 70 __svcauth_sys(struct svc_req *rqst, struct rpc_msg *msg) in __svcauth_sys() argument 80 area = (struct authsys_area *)rqst->rq_clntcred; in __svcauth_sys() 115 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NULL; in __svcauth_sys() 116 rqst->rq_xprt->xp_verf.oa_length = 0; in __svcauth_sys() 127 __svcauth_short(struct svc_req *rqst, struct rpc_msg *msg) in __svcauth_short() argument 136 __svcauth_unix(struct svc_req *rqst, struct rpc_msg *msg) in __svcauth_unix() argument 138 return (__svcauth_sys(rqst, msg)); in __svcauth_unix()
|
H A D | svc_auth_loopb.c | 56 __svcauth_loopback(struct svc_req *rqst, struct rpc_msg *msg) in __svcauth_loopback() argument 66 area = (struct authlpbk_area *)rqst->rq_clntcred; in __svcauth_loopback() 104 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NULL; in __svcauth_loopback() 105 rqst->rq_xprt->xp_verf.oa_length = 0; in __svcauth_loopback()
|
H A D | svcauth_des.c | 131 __svcauth_des(struct svc_req *rqst, struct rpc_msg *msg) in __svcauth_des() argument 161 area = (struct authdes_area *)rqst->rq_clntcred; in __svcauth_des() 429 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_DES; in __svcauth_des() 430 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in __svcauth_des() 431 rqst->rq_xprt->xp_verf.oa_length = in __svcauth_des() 433 if (rqst->rq_xprt->xp_verf.oa_length > MAX_AUTH_BYTES) { in __svcauth_des()
|
H A D | rpcsec_gss_if.c | 269 __svcrpcsec_gss(struct svc_req *rqst, struct rpc_msg *msg, bool_t *no_dispatch) in __svcrpcsec_gss() argument 273 return ((*calls.__svcrpcsec_gss)(rqst, msg, no_dispatch)); in __svcrpcsec_gss()
|
/titanic_44/usr/src/uts/common/rpc/sec/ |
H A D | sec_svc.c | 93 sec_svc_msg(struct svc_req *rqst, struct rpc_msg *msg, bool_t *no_dispatch) in sec_svc_msg() argument 97 rqst->rq_cred = msg->rm_call.cb_cred; in sec_svc_msg() 98 rqst->rq_xprt->xp_verf.oa_flavor = _null_auth.oa_flavor; in sec_svc_msg() 99 rqst->rq_xprt->xp_verf.oa_length = 0; in sec_svc_msg() 104 rqst->rq_xprt->xp_auth.svc_ah_ops = svc_authany_ops; in sec_svc_msg() 105 rqst->rq_xprt->xp_auth.svc_ah_private = NULL; in sec_svc_msg() 108 cred_flavor = rqst->rq_cred.oa_flavor; in sec_svc_msg() 112 rqst->rq_xprt->xp_cookie = (void *) AUTH_NULL; in sec_svc_msg() 113 return (_svcauth_null(rqst, msg)); in sec_svc_msg() 116 rqst->rq_xprt->xp_cookie = (void *) AUTH_UNIX; in sec_svc_msg() [all …]
|
H A D | svc_authu.c | 72 _svcauth_unix(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_unix() argument 87 area = (struct area *)rqst->rq_clntcred; in _svcauth_unix() 122 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NULL; in _svcauth_unix() 123 rqst->rq_xprt->xp_verf.oa_length = 0; in _svcauth_unix() 135 _svcauth_short(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_short() argument
|
H A D | svcauthdes.c | 137 _svcauth_des(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_des() argument 166 area = (struct area *)rqst->rq_clntcred; in _svcauth_des() 346 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_DES; in _svcauth_des() 347 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in _svcauth_des() 348 rqst->rq_xprt->xp_verf.oa_length = in _svcauth_des() 350 if (rqst->rq_xprt->xp_verf.oa_length > MAX_AUTH_BYTES) { in _svcauth_des()
|
/titanic_44/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | RequestHandler.java | 821 SrvLocMsg dispatch(SrvLocMsg rqst) { in dispatch() argument 823 SrvLocHeader hdr = rqst.getHeader(); in dispatch() 829 if (rqst instanceof CDAAdvert) { // DA advert... in dispatch() 830 CDAAdvert msg = (CDAAdvert)rqst; in dispatch() 915 } else if (rqst instanceof CSAAdvert) {// SA advert... in dispatch() 916 CSAAdvert msg = (CSAAdvert)rqst; in dispatch() 981 if (rqst instanceof SSrvReg) { // registration... in dispatch() 983 return dispatchReg((SSrvReg)rqst, in dispatch() 986 } else if (rqst instanceof SSrvDereg) { // deregistration... in dispatch() 988 return dispatchDereg((SSrvDereg)rqst, in dispatch() [all …]
|
H A D | ServerDATable.java | 499 private void forwardRegOrDereg(InetAddress addr, SrvLocMsg rqst) { in forwardRegOrDereg() argument 500 SrvLocHeader hdr = rqst.getHeader(); in forwardRegOrDereg() 518 if (rqst instanceof SSrvReg) { in forwardRegOrDereg() 519 auths = ((SSrvReg)rqst).URLSignature; in forwardRegOrDereg() 520 } else if (rqst instanceof SSrvDereg) { in forwardRegOrDereg() 521 auths = ((SSrvDereg)rqst).URLSignature; in forwardRegOrDereg() 564 if (rqst instanceof SSrvReg) { in forwardRegOrDereg() 565 SSrvReg rrqst = (SSrvReg)rqst; in forwardRegOrDereg() 575 } else if (rqst instanceof SSrvDereg) { in forwardRegOrDereg() 576 SSrvDereg drqst = (SSrvDereg)rqst; in forwardRegOrDereg() [all …]
|
H A D | ServiceTable.java | 1341 makeDAAdvert(SSrvMsg rqst, in makeDAAdvert() argument 1345 SrvLocHeader hdr = rqst.getHeader(); in makeDAAdvert() 1348 String query = rqst.query; in makeDAAdvert() 1353 if (conf.getHasSecurity() && !AuthBlock.canSignAs(rqst.spi)) { in makeDAAdvert() 1357 new Object[] {rqst.spi}); in makeDAAdvert() 1384 return rqst.makeReply(new Hashtable(), new Hashtable()); in makeDAAdvert() 1455 makeSAAdvert(SSrvMsg rqst, in makeSAAdvert() argument 1459 SrvLocHeader hdr = rqst.getHeader(); in makeSAAdvert() 1464 String query = rqst.query; in makeSAAdvert() 1465 String serviceType = rqst.serviceType; in makeSAAdvert() [all …]
|
H A D | ServiceLocationManager.java | 353 CSrvMsg rqst = new CSrvMsg(config.getLocale(), in performSADiscovery() local 362 rqst, in performSADiscovery()
|
H A D | Transact.java | 904 SrvLocMsg rqst, in transactActiveAdvertRequest() argument 915 Transact tran = new Transact(rqst, in transactActiveAdvertRequest()
|
/titanic_44/usr/src/uts/common/rpc/sec_gss/ |
H A D | svc_rpcsec_gss.c | 697 struct svc_req r, *rqst; in do_gss_accept() local 699 rqst = &r; in do_gss_accept() 700 rqst->rq_xprt = xprt; in do_gss_accept() 805 (void) svc_sendreply(rqst->rq_xprt, in do_gss_accept() 854 if (!set_response_verf(rqst, msg, client_data, in do_gss_accept() 864 if (!svc_sendreply(rqst->rq_xprt, __xdr_rpc_gss_init_res, in do_gss_accept() 920 struct svc_req *rqst, in rpcsec_gss_init() argument 964 if (!SVC_GETARGS(rqst->rq_xprt, __xdr_rpc_gss_init_arg, in rpcsec_gss_init() 973 svc_clone_link(rqst->rq_xprt->xp_master, arg->rq_xprt, rqst->rq_xprt); in rpcsec_gss_init() 974 arg->rq_xprt->xp_xid = rqst->rq_xprt->xp_xid; in rpcsec_gss_init() [all …]
|
/titanic_44/usr/src/lib/libslp/clib/ |
H A D | slp_net.c | 130 struct tcp_rqst *rqst; in slp_uc_tcp_send() local 159 if (!(rqst = malloc(sizeof (*rqst)))) { in slp_uc_tcp_send() 163 rqst->hp = hp; in slp_uc_tcp_send() 164 rqst->target = target; in slp_uc_tcp_send() 165 rqst->scopes = scopes; in slp_uc_tcp_send() 166 rqst->free_target = free_target; in slp_uc_tcp_send() 167 rqst->xid = xid; in slp_uc_tcp_send() 168 (void) slp_enqueue(tcp_q, rqst); in slp_uc_tcp_send() 458 struct tcp_rqst *rqst; in tcp_thread() local 474 if (!(rqst = slp_dequeue_timed(tcp_q, to, &etimed))) { in tcp_thread() [all …]
|
/titanic_44/usr/src/lib/rpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 567 __svcrpcsec_gss(rqst, msg, no_dispatch) in __svcrpcsec_gss() argument 568 struct svc_req *rqst; in __svcrpcsec_gss() 590 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NONE; 591 rqst->rq_xprt->xp_verf.oa_base = NULL; 592 rqst->rq_xprt->xp_verf.oa_length = 0; 682 svcauth = __svc_get_svcauth(rqst->rq_xprt); 721 if (!svc_getargs(rqst->rq_xprt, __xdr_rpc_gss_init_arg, 736 if (rqst->rq_prog != sc->program || 737 rqst->rq_vers != sc->version) 847 svc_sendreply(rqst->rq_xprt, __xdr_rpc_gss_init_res, [all …]
|
/titanic_44/usr/src/lib/libnsl/common/ |
H A D | llib-lnsl | 800 enum auth_stat __authenticate(struct svc_req *rqst, struct rpc_msg *msg); 847 enum auth_stat __svcauth_des(struct svc_req *rqst, struct rpc_msg *msg);
|