Lines Matching defs:rmsg
1097 dns_tkey_processdhresponse(dns_message_t *qmsg, dns_message_t *rmsg,
1115 REQUIRE(rmsg != NULL);
1122 if (rmsg->rcode != dns_rcode_noerror)
1123 return (ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
1124 RETERR(find_tkey(rmsg, &tkeyname, &rtkeyrdata, DNS_SECTION_ANSWER));
1136 rmsg->rcode != dns_rcode_noerror) {
1151 RETERR(dns_message_findname(rmsg, DNS_SECTION_ANSWER, &keyname,
1155 result = dns_message_firstname(rmsg, DNS_SECTION_ANSWER);
1158 dns_message_currentname(rmsg, DNS_SECTION_ANSWER,
1170 result = dns_message_nextname(rmsg, DNS_SECTION_ANSWER);
1182 rmsg->mctx, &theirkey));
1185 RETERR(isc_buffer_allocate(rmsg->mctx, &shared, sharedsize));
1196 r2.base = isc_mem_get(rmsg->mctx, 0);
1201 isc_mem_put(rmsg->mctx, r2.base, 0);
1207 rmsg->mctx, ring, outkey);
1227 dns_tkey_processgssresponse(dns_message_t *qmsg, dns_message_t *rmsg,
1242 REQUIRE(rmsg != NULL);
1247 if (rmsg->rcode != dns_rcode_noerror)
1248 return (ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
1249 RETERR(find_tkey(rmsg, &tkeyname, &rtkeyrdata, DNS_SECTION_ANSWER));
1273 _dns_tkey_dumpmessage(rmsg);
1282 RETERR(dst_key_fromgssapi(dns_rootname, *context, rmsg->mctx,
1303 dns_tkey_processdeleteresponse(dns_message_t *qmsg, dns_message_t *rmsg,
1313 REQUIRE(rmsg != NULL);
1315 if (rmsg->rcode != dns_rcode_noerror)
1316 return(ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
1318 RETERR(find_tkey(rmsg, &tkeyname, &rtkeyrdata, DNS_SECTION_ANSWER));
1329 rmsg->rcode != dns_rcode_noerror) {
1358 dns_tkey_gssnegotiate(dns_message_t *qmsg, dns_message_t *rmsg,
1372 REQUIRE(rmsg != NULL);
1377 if (rmsg->rcode != dns_rcode_noerror)
1378 return (ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
1380 RETERR(find_tkey(rmsg, &tkeyname, &rtkeyrdata, DNS_SECTION_ANSWER));
1409 RETERR(dst_key_fromgssapi(dns_rootname, *context, rmsg->mctx,