Lines Matching defs:rcode
516 res->rcode = LDNS_RCODE_SERVFAIL;
525 /* rcode, havedata, nxdomain, secure, bogus */
526 res->rcode = (int)FLAGS_GET_RCODE(rep->flags);
529 if(res->rcode == LDNS_RCODE_NXDOMAIN)
540 libworker_fillup_fg(struct ctx_query* q, int rcode, sldns_buffer* buf,
546 if(rcode != 0) {
547 q->res->rcode = rcode;
552 q->res->rcode = LDNS_RCODE_SERVFAIL;
557 return; /* the error is in the rcode */
566 libworker_fg_done_cb(void* arg, int rcode, sldns_buffer* buf, enum sec_status s,
573 libworker_fillup_fg(q, rcode, buf, s, why_bogus, was_ratelimited);
658 libworker_event_done_cb(void* arg, int rcode, sldns_buffer* buf,
681 (*cb)(cb_arg, rcode, (buf?(void*)sldns_buffer_begin(buf):NULL),
783 libworker_bg_done_cb(void* arg, int rcode, sldns_buffer* buf, enum sec_status s,
805 if(rcode != 0) {
806 error_encode(buf, rcode, NULL, 0, BIT_RD, NULL);