Lines Matching refs:rcode
802 mDNSlocal void recvSetupResponse(mDNS *const m, mDNSu8 rcode, DNSQuestion *const q, const LLQOptData *const llq)
804 if (rcode && rcode != kDNSFlag1_RC_NXDomain)
805 { LogMsg("ERROR: recvSetupResponse %##s (%s) - rcode && rcode != kDNSFlag1_RC_NXDomain", q->qname.c, DNSTypeName(q->qtype)); return; }
2479 mDNSlocal mStatus checkUpdateResult(mDNS *const m, const domainname *const displayname, const mDNSu8 rcode, const DNSMessage *const msg, const mDNSu8 *const end)
2482 if (!rcode) return mStatus_NoError;
2483 else if (rcode == kDNSFlag1_RC_YXDomain)
2488 else if (rcode == kDNSFlag1_RC_Refused)
2493 else if (rcode == kDNSFlag1_RC_NXRRSet)
2498 else if (rcode == kDNSFlag1_RC_NotAuth)
2509 else if (rcode == kDNSFlag1_RC_FormErr)
2521 LogMsg("Update %##s failed with rcode %d", displayname->c, rcode);
3503 mDNSu8 rcode = (mDNSu8)(msg->h.flags.b[1] & kDNSFlag1_RC_Mask);
3540 //rcode = kDNSFlag1_RC_ServFail; // Simulate server failure (rcode 2)
3553 err = checkUpdateResult(m, rptr->resrec.name, rcode, msg, end);