Lines Matching refs:debugf

559 		{ debugf("Malformed label (too long)"); return(mDNSfalse); }  in SameDomainLabel()
582 { debugf("Malformed domain name (more than 255 characters)"); return(mDNSfalse); } in SameDomainName()
964 if (!len) { debugf("DeconstructServiceName: FQDN empty!"); return(mDNSfalse); } in DeconstructServiceName()
965 if (len >= 0x40) { debugf("DeconstructServiceName: Instance name too long"); return(mDNSfalse); } in DeconstructServiceName()
970 …if (!len) { debugf("DeconstructServiceName: FQDN contains only one label!"); return(mD… in DeconstructServiceName()
971 …if (len >= 0x40) { debugf("DeconstructServiceName: Application protocol name too long"); return(mD… in DeconstructServiceName()
975 …if (!len) { debugf("DeconstructServiceName: FQDN contains only two labels!"); return(mDNS… in DeconstructServiceName()
976 …if (len >= 0x40) { debugf("DeconstructServiceName: Transport protocol name too long"); return(mDNS… in DeconstructServiceName()
985 { debugf("DeconstructServiceName: Label in service domain too long"); return(mDNSfalse); } in DeconstructServiceName()
987 { debugf("DeconstructServiceName: Total service domain too long"); return(mDNSfalse); } in DeconstructServiceName()
1218 default: debugf("Warning! Don't know how to get length of resource type %d", rr->rrtype); in GetRDLength()
1506 debugf("putRData: Illegal length %d for kDNSType_A", rr->rdlength); in putRData()
1521 debugf("putRData: Illegal length %d for kDNSType_AAAA", rr->rdlength); in putRData()
1538 default: debugf("putRData: Warning! Writing unknown resource type %d as raw data", rr->rrtype); in putRData()
1761 { debugf("skipDomainName: Illegal ptr not within packet boundaries"); return(mDNSNULL); } in skipDomainName()
1770 { debugf("skipDomainName: Malformed domain name (overruns packet end)"); return(mDNSNULL); } in skipDomainName()
1772 … { debugf("skipDomainName: Malformed domain name (more than 255 characters)"); return(mDNSNULL); } in skipDomainName()
1777 …case 0x40: debugf("skipDomainName: Extended EDNS0 label types 0x%X not supported", len); return(mD… in skipDomainName()
1778 case 0x80: debugf("skipDomainName: Illegal label length 0x%X", len); return(mDNSNULL); in skipDomainName()
1793 { debugf("getDomainName: Illegal ptr not within packet boundaries"); return(mDNSNULL); } in getDomainName()
1807 { debugf("getDomainName: Malformed domain name (overruns packet end)"); return(mDNSNULL); } in getDomainName()
1809 … { debugf("getDomainName: Malformed domain name (more than 255 characters)"); return(mDNSNULL); } in getDomainName()
1815 …case 0x40: debugf("getDomainName: Extended EDNS0 label types 0x%X not supported in name %##s", len… in getDomainName()
1818 …case 0x80: debugf("getDomainName: Illegal label length 0x%X in domain name %##s", len, name->c); r… in getDomainName()
1824 …{ debugf("getDomainName: Illegal compression pointer not within packet boundaries"); return(mDNSNU… in getDomainName()
1826 { debugf("getDomainName: Compression pointer must point to real label"); return(mDNSNULL); } in getDomainName()
1840 if (!ptr) { debugf("skipResourceRecord: Malformed RR name"); return(mDNSNULL); } in skipResourceRecord()
1842 …if (ptr + 10 > end) { debugf("skipResourceRecord: Malformed RR -- no type/class/ttl/len!"); return… in skipResourceRecord()
1845 …if (ptr + pktrdlength > end) { debugf("skipResourceRecord: RDATA exceeds end of packet"); return(m… in skipResourceRecord()
1878 if (!ptr) { debugf("GetResourceRecord: Malformed RR name"); return(mDNSNULL); } in GetLargeResourceRecord()
1880 …if (ptr + 10 > end) { debugf("GetResourceRecord: Malformed RR -- no type/class/ttl/len!"); return(… in GetLargeResourceRecord()
1893 …if (ptr + pktrdlength > end) { debugf("GetResourceRecord: RDATA exceeds end of packet"); return(mD… in GetLargeResourceRecord()
1912 { debugf("GetResourceRecord: Malformed CNAME/PTR RDATA name"); return(mDNSNULL); } in GetLargeResourceRecord()
1920 debugf("GetResourceRecord: %s rdata size (%d) exceeds storage (%d)", in GetLargeResourceRecord()
1936 { debugf("GetResourceRecord: Malformed SRV RDATA name"); return(mDNSNULL); } in GetLargeResourceRecord()
1941 if (!ptr) { debugf("GetResourceRecord: Malformed SOA RDATA mname"); return mDNSNULL; } in GetLargeResourceRecord()
1943 if (!ptr) { debugf("GetResourceRecord: Malformed SOA RDATA rname"); return mDNSNULL; } in GetLargeResourceRecord()
1944 … if (ptr + 0x14 != end) { debugf("GetResourceRecord: Malformed SOA RDATA"); return mDNSNULL; } in GetLargeResourceRecord()
1956 debugf("GetResourceRecord: rdata %d (%s) size (%d) exceeds storage (%d)", in GetLargeResourceRecord()
1960 debugf("GetResourceRecord: Warning! Reading resource type %d (%s) as opaque data", in GetLargeResourceRecord()
1983 …if (!ptr) { debugf("skipQuestion: Malformed domain name in DNS question section"); return(mDNSNULL… in skipQuestion()
1984 …if (ptr+4 > end) { debugf("skipQuestion: Malformed DNS question section -- no query type and class… in skipQuestion()
1993 if (!ptr) { debugf("Malformed domain name in DNS question section"); return(mDNSNULL); } in getQuestion()
1994 …if (ptr+4 > end) { debugf("Malformed DNS question section -- no query type and class!"); return(mD… in getQuestion()