Home
last modified time | relevance | path

Searched refs:rmsg (Results 1 – 7 of 7) sorted by relevance

/freebsd-9-stable/sys/rpc/
Drpc_prot.c175 xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg) in xdr_replymsg() argument
182 assert(rmsg != NULL); in xdr_replymsg()
187 rmsg->rm_xid = IXDR_GET_UINT32(buf); in xdr_replymsg()
188 rmsg->rm_direction = IXDR_GET_ENUM(buf, enum msg_type); in xdr_replymsg()
189 if (rmsg->rm_direction != REPLY) { in xdr_replymsg()
192 rmsg->rm_reply.rp_stat = in xdr_replymsg()
194 if (rmsg->rm_reply.rp_stat == MSG_ACCEPTED) in xdr_replymsg()
196 &rmsg->acpted_rply)); in xdr_replymsg()
197 else if (rmsg->rm_reply.rp_stat == MSG_DENIED) in xdr_replymsg()
199 &rmsg->rjcted_rply)); in xdr_replymsg()
[all …]
/freebsd-9-stable/crypto/openssl/engines/
De_chil.c510 HWCryptoHook_ErrMsgBuf rmsg; in get_context() local
512 rmsg.buf = tempbuf; in get_context()
513 rmsg.size = sizeof(tempbuf); in get_context()
515 *hac = p_hwcrhk_Init(&hwcrhk_globals, sizeof(hwcrhk_globals), &rmsg, cac); in get_context()
781 HWCryptoHook_ErrMsgBuf rmsg; in hwcrhk_load_privkey() local
786 rmsg.buf = tempbuf; in hwcrhk_load_privkey()
787 rmsg.size = sizeof(tempbuf); in hwcrhk_load_privkey()
802 if (p_hwcrhk_RSALoadKey(hwcrhk_context, key_id, hptr, &rmsg, &ppctx)) { in hwcrhk_load_privkey()
804 ERR_add_error_data(1, rmsg.buf); in hwcrhk_load_privkey()
820 if (p_hwcrhk_RSAGetPublicKey(*hptr, &n, &e, &rmsg) in hwcrhk_load_privkey()
[all …]
/freebsd-9-stable/lib/libc/rpc/
Drpc_prot.c185 xdr_replymsg(xdrs, rmsg) in xdr_replymsg() argument
187 struct rpc_msg *rmsg;
193 assert(rmsg != NULL);
195 prm_direction = &rmsg->rm_direction;
196 prp_stat = &rmsg->rm_reply.rp_stat;
199 xdr_u_int32_t(xdrs, &(rmsg->rm_xid)) &&
201 (rmsg->rm_direction == REPLY) )
203 (caddr_t)(void *)&(rmsg->rm_reply.ru), reply_dscrm,
/freebsd-9-stable/contrib/bind9/lib/dns/
Dtkey.c1132 dns_tkey_processdhresponse(dns_message_t *qmsg, dns_message_t *rmsg, in dns_tkey_processdhresponse() argument
1150 REQUIRE(rmsg != NULL); in dns_tkey_processdhresponse()
1157 if (rmsg->rcode != dns_rcode_noerror) in dns_tkey_processdhresponse()
1158 return (ISC_RESULTCLASS_DNSRCODE + rmsg->rcode); in dns_tkey_processdhresponse()
1159 RETERR(find_tkey(rmsg, &tkeyname, &rtkeyrdata, DNS_SECTION_ANSWER)); in dns_tkey_processdhresponse()
1171 rmsg->rcode != dns_rcode_noerror) { in dns_tkey_processdhresponse()
1186 RETERR(dns_message_findname(rmsg, DNS_SECTION_ANSWER, &keyname, in dns_tkey_processdhresponse()
1190 result = dns_message_firstname(rmsg, DNS_SECTION_ANSWER); in dns_tkey_processdhresponse()
1193 dns_message_currentname(rmsg, DNS_SECTION_ANSWER, in dns_tkey_processdhresponse()
1205 result = dns_message_nextname(rmsg, DNS_SECTION_ANSWER); in dns_tkey_processdhresponse()
[all …]
/freebsd-9-stable/contrib/bind9/lib/dns/include/dns/
Dtkey.h167 dns_tkey_processdhresponse(dns_message_t *qmsg, dns_message_t *rmsg,
190 dns_tkey_processgssresponse(dns_message_t *qmsg, dns_message_t *rmsg,
199 dns_tkey_processdeleteresponse(dns_message_t *qmsg, dns_message_t *rmsg,
218 dns_tkey_gssnegotiate(dns_message_t *qmsg, dns_message_t *rmsg,
/freebsd-9-stable/contrib/wpa/src/eap_peer/
Deap_peap.c995 struct wpabuf *rmsg, buf; in eap_peap_decrypt() local
1009 rmsg = resp; in eap_peap_decrypt()
1014 rmsg = &buf; in eap_peap_decrypt()
1019 rmsg, out_data)) { in eap_peap_decrypt()
/freebsd-9-stable/contrib/bind9/bin/nsupdate/
Dnsupdate.c2678 dns_message_t *rmsg = NULL; in start_gssrequest() local
2747 rmsg = NULL; in start_gssrequest()
2748 result = dns_message_create(gmctx, DNS_MESSAGE_INTENTRENDER, &rmsg); in start_gssrequest()
2755 result = dns_tkey_buildgssquery(rmsg, keyname, servname, NULL, 0, in start_gssrequest()
2767 send_gssrequest(kserver, rmsg, &request, context); in start_gssrequest()
2771 if (rmsg != NULL) in start_gssrequest()
2772 dns_message_destroy(&rmsg); in start_gssrequest()