/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpc_calmsg.c | 76 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_rpcvers); in xdr_callmsg() 79 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_prog); in xdr_callmsg() 80 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_vers); in xdr_callmsg() 81 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_proc); in xdr_callmsg() 82 oa = &cmsg->rm_call.cb_cred; in xdr_callmsg() 92 oa = &cmsg->rm_call.cb_verf; in xdr_callmsg() 115 cmsg->rm_call.cb_prog = IXDR_GET_INT32(buf); in xdr_callmsg() 116 cmsg->rm_call.cb_vers = IXDR_GET_INT32(buf); in xdr_callmsg() 117 cmsg->rm_call.cb_proc = IXDR_GET_INT32(buf); in xdr_callmsg() 118 oa = &cmsg->rm_call.cb_cred; in xdr_callmsg() [all …]
|
H A D | svc.c | 2813 dst->rm_call.cb_rpcvers = src->rm_call.cb_rpcvers; in rpc_msg_dup() 2814 dst->rm_call.cb_prog = src->rm_call.cb_prog; in rpc_msg_dup() 2815 dst->rm_call.cb_vers = src->rm_call.cb_vers; in rpc_msg_dup() 2816 dst->rm_call.cb_proc = src->rm_call.cb_proc; in rpc_msg_dup() 2819 oa_src = src->rm_call.cb_cred; in rpc_msg_dup() 2827 dst->rm_call.cb_cred = oa_dst; in rpc_msg_dup() 2831 oa_src = src->rm_call.cb_verf; in rpc_msg_dup() 2839 dst->rm_call.cb_verf = oa_dst; in rpc_msg_dup() 2846 dst->rm_call.cb_verf = oa_dst; in rpc_msg_dup() 2851 kmem_free(dst->rm_call.cb_cred.oa_base, dst->rm_call.cb_cred.oa_length); in rpc_msg_dup() [all …]
|
H A D | rpc_prot.c | 328 cmsg->rm_call.cb_rpcvers = RPC_MSG_VERSION; in xdr_callhdr() 332 xdr_rpcvers(xdrs, &(cmsg->rm_call.cb_rpcvers)) && in xdr_callhdr() 333 xdr_rpcprog(xdrs, &(cmsg->rm_call.cb_prog))) in xdr_callhdr() 334 return (xdr_rpcvers(xdrs, &(cmsg->rm_call.cb_vers))); in xdr_callhdr()
|
H A D | rpc_msg.h | 158 #define rm_call ru.RM_cmb macro
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_callmsg.c | 71 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_rpcvers); in xdr_callmsg() 74 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_prog); in xdr_callmsg() 75 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_vers); in xdr_callmsg() 76 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_proc); in xdr_callmsg() 77 oa = &cmsg->rm_call.cb_cred; in xdr_callmsg() 87 oa = &cmsg->rm_call.cb_verf; in xdr_callmsg() 110 cmsg->rm_call.cb_prog = IXDR_GET_INT32(buf); in xdr_callmsg() 111 cmsg->rm_call.cb_vers = IXDR_GET_INT32(buf); in xdr_callmsg() 112 cmsg->rm_call.cb_proc = IXDR_GET_INT32(buf); in xdr_callmsg() 113 oa = &cmsg->rm_call.cb_cred; in xdr_callmsg() [all …]
|
H A D | clnt_bcast.c | 263 msg.rm_call.cb_rpcvers = RPC_MSG_VERSION; in rpc_broadcast_exp() 264 msg.rm_call.cb_prog = RPCBPROG; in rpc_broadcast_exp() 265 msg.rm_call.cb_vers = RPCBVERS; in rpc_broadcast_exp() 266 msg.rm_call.cb_proc = RPCBPROC_CALLIT; in rpc_broadcast_exp() 275 msg.rm_call.cb_cred = sys_auth->ah_cred; in rpc_broadcast_exp() 276 msg.rm_call.cb_verf = sys_auth->ah_verf; in rpc_broadcast_exp() 295 msg.rm_call.cb_prog = PMAPPROG; in rpc_broadcast_exp() 296 msg.rm_call.cb_vers = PMAPVERS; in rpc_broadcast_exp() 297 msg.rm_call.cb_proc = PMAPPROC_CALLIT; in rpc_broadcast_exp()
|
H A D | svcauth_des.c | 165 if ((uint_t)msg->rm_call.cb_cred.oa_length == 0) in __svcauth_des() 171 ixdr = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_des() 194 if ((uint_t)msg->rm_call.cb_verf.oa_length == 0) in __svcauth_des() 200 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in __svcauth_des() 425 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in __svcauth_des() 431 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in __svcauth_des() 433 (char *)ixdr - msg->rm_call.cb_verf.oa_base; in __svcauth_des()
|
H A D | svc_auth_loopb.c | 70 auth_len = msg->rm_call.cb_cred.oa_length; in __svcauth_loopback() 75 buf = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_loopback()
|
H A D | svc_door.c | 189 r->rq_prog = msg->rm_call.cb_prog; in svc_door_dispatch() 190 r->rq_vers = msg->rm_call.cb_vers; in svc_door_dispatch() 191 r->rq_proc = msg->rm_call.cb_proc; in svc_door_dispatch() 192 r->rq_cred = msg->rm_call.cb_cred; in svc_door_dispatch() 194 if (msg->rm_call.cb_cred.oa_flavor == AUTH_NULL) { in svc_door_dispatch() 265 msg->rm_call.cb_cred.oa_base = cred_area; in door_server() 266 msg->rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in door_server()
|
H A D | svc_dg.c | 895 ent->cache_proc == msg->rm_call.cb_proc && in cache_get() 896 ent->cache_vers == msg->rm_call.cb_vers && in cache_get() 897 ent->cache_prog == msg->rm_call.cb_prog && in cache_get() 907 su->su_xid, msg->rm_call.cb_prog, in cache_get() 908 msg->rm_call.cb_vers, in cache_get() 909 msg->rm_call.cb_proc, uaddr); in cache_get() 923 uc->uc_proc = msg->rm_call.cb_proc; in cache_get() 924 uc->uc_vers = msg->rm_call.cb_vers; in cache_get() 925 uc->uc_prog = msg->rm_call.cb_prog; in cache_get()
|
H A D | svc_auth_sys.c | 84 auth_len = msg->rm_call.cb_cred.oa_length; in __svcauth_sys() 89 buf = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_sys()
|
H A D | rpc_prot.c | 256 cmsg->rm_call.cb_rpcvers = RPC_MSG_VERSION; in xdr_callhdr() 260 xdr_u_int(xdrs, (uint_t *)&(cmsg->rm_call.cb_rpcvers)) && in xdr_callhdr() 261 xdr_u_int(xdrs, (uint_t *)&(cmsg->rm_call.cb_prog))) { in xdr_callhdr() 262 return (xdr_u_int(xdrs, (uint_t *)&(cmsg->rm_call.cb_vers))); in xdr_callhdr()
|
H A D | clnt_raw.c | 104 call_msg.rm_call.cb_rpcvers = RPC_MSG_VERSION; in clnt_raw_create() 105 call_msg.rm_call.cb_prog = prog; in clnt_raw_create() 106 call_msg.rm_call.cb_vers = vers; in clnt_raw_create()
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | svc_authu.c | 91 auth_len = msg->rm_call.cb_cred.oa_length; in _svcauth_unix() 96 buf = (int32_t *)msg->rm_call.cb_cred.oa_base; in _svcauth_unix()
|
H A D | svcauthdes.c | 173 ixdr = (int32_t *)msg->rm_call.cb_cred.oa_base; in _svcauth_des() 201 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in _svcauth_des() 341 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in _svcauth_des() 347 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in _svcauth_des() 349 (uint_t)((char *)ixdr - msg->rm_call.cb_verf.oa_base); in _svcauth_des()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | nfs_cast.c | 291 msg.rm_call.cb_rpcvers = RPC_MSG_VERSION; in nfs_cast() 292 msg.rm_call.cb_prog = RPCBPROG; in nfs_cast() 299 msg.rm_call.cb_vers = PMAPVERS; in nfs_cast() 300 msg.rm_call.cb_proc = NULLPROC; in nfs_cast() 305 msg.rm_call.cb_cred = sys_auth->ah_cred; in nfs_cast() 306 msg.rm_call.cb_verf = sys_auth->ah_verf; in nfs_cast()
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | rpc.c | 169 call_msg.rm_call.cb_rpcvers = (rpcvers_t)RPC_MSG_VERSION; in rpc_hdr() 170 call_msg.rm_call.cb_prog = prog; in rpc_hdr() 171 call_msg.rm_call.cb_vers = vers; in rpc_hdr()
|
H A D | clnt_btcp.c | 239 call_msg.rm_call.cb_rpcvers = RPC_MSG_VERSION; in clntbtcp_create() 240 call_msg.rm_call.cb_prog = program; in clntbtcp_create() 241 call_msg.rm_call.cb_vers = version; in clntbtcp_create()
|
H A D | clnt_budp.c | 154 call_msg.rm_call.cb_rpcvers = RPC_MSG_VERSION; in clntbudp_bufcreate() 155 call_msg.rm_call.cb_prog = program; in clntbudp_bufcreate() 156 call_msg.rm_call.cb_vers = version; in clntbudp_bufcreate()
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 576 cred = &msg->rm_call.cb_cred; in __svcrpcsec_gss() 1078 oa = &msg->rm_call.cb_cred; in check_verf() 1089 IXDR_PUT_U_INT32(buf, msg->rm_call.cb_rpcvers); in check_verf() 1090 IXDR_PUT_U_INT32(buf, msg->rm_call.cb_prog); in check_verf() 1091 IXDR_PUT_U_INT32(buf, msg->rm_call.cb_vers); in check_verf() 1092 IXDR_PUT_U_INT32(buf, msg->rm_call.cb_proc); in check_verf() 1105 oa = &msg->rm_call.cb_verf; in check_verf() 1135 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in set_response_verf()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_dump.c | 245 call_msg.rm_call.cb_rpcvers = RPC_MSG_VERSION; in nd_send_data() 246 call_msg.rm_call.cb_prog = NFS_PROGRAM; in nd_send_data() 247 call_msg.rm_call.cb_vers = nfsdump_version; in nd_send_data()
|
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | clnt_tcp.c | 178 call_msg.rm_call.cb_rpcvers = RPC_MSG_VERSION; in clnttcp_create() 179 call_msg.rm_call.cb_prog = prog; in clnttcp_create() 180 call_msg.rm_call.cb_vers = vers; in clnttcp_create()
|
H A D | clnt_udp.c | 164 call_msg.rm_call.cb_rpcvers = RPC_MSG_VERSION; 165 call_msg.rm_call.cb_prog = program; 166 call_msg.rm_call.cb_vers = version;
|
H A D | svc_udp.c | 503 uc->uc_proc = msg->rm_call.cb_proc; 504 uc->uc_vers = msg->rm_call.cb_vers; 505 uc->uc_prog = msg->rm_call.cb_prog;
|
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | svc_rpcsec_gss.c | 1477 cred = &msg->rm_call.cb_cred; in __svcrpcsec_gss() 1540 oa = &msg->rm_call.cb_cred; in check_verf() 1551 IXDR_PUT_U_INT32(buf, msg->rm_call.cb_rpcvers); in check_verf() 1552 IXDR_PUT_U_INT32(buf, msg->rm_call.cb_prog); in check_verf() 1553 IXDR_PUT_U_INT32(buf, msg->rm_call.cb_vers); in check_verf() 1554 IXDR_PUT_U_INT32(buf, msg->rm_call.cb_proc); in check_verf() 1567 oa = &msg->rm_call.cb_verf; in check_verf() 1612 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in set_response_verf()
|