Lines Matching defs:rcvmsg
2080 dns_message_t *rcvmsg = NULL;
2144 ddebug("About to create rcvmsg");
2145 result = dns_message_create(mctx, DNS_MESSAGE_INTENTPARSE, &rcvmsg);
2147 result = dns_request_getresponse(request, rcvmsg,
2150 dns_message_destroy(&rcvmsg);
2174 show_message(stderr, rcvmsg, "Reply from SOA query:");
2176 if (rcvmsg->rcode != dns_rcode_noerror &&
2177 rcvmsg->rcode != dns_rcode_nxdomain)
2180 if (userzone != NULL && rcvmsg->rcode == dns_rcode_nxdomain) {
2185 dns_message_destroy(&rcvmsg);
2202 result = dns_message_firstname(rcvmsg, section);
2209 dns_message_currentname(rcvmsg, section, &name);
2226 result = dns_message_nextname(rcvmsg, section);
2300 dns_message_destroy(&rcvmsg);
2472 dns_message_t *rcvmsg = NULL;
2529 ddebug("recvgss creating rcvmsg");
2530 result = dns_message_create(mctx, DNS_MESSAGE_INTENTPARSE, &rcvmsg);
2533 result = dns_request_getresponse(request, rcvmsg,
2538 show_message(stderr, rcvmsg,
2541 if (rcvmsg->rcode == dns_rcode_formerr && !tried_other_gsstsig) {
2553 if (rcvmsg->rcode != dns_rcode_noerror &&
2554 rcvmsg->rcode != dns_rcode_nxdomain)
2567 result = dns_tkey_gssnegotiate(tsigquery, rcvmsg, servname,
2598 rcvmsg->state = DNS_SECTION_ANY;
2599 dns_message_setquerytsig(rcvmsg, NULL);
2600 result = dns_message_settsigkey(rcvmsg, tsigkey);
2602 result = dns_message_checksig(rcvmsg, NULL);
2619 dns_message_destroy(&rcvmsg);