Home
last modified time | relevance | path

Searched refs:response_len (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp731 size_t* response_len) const { in handleDNSRequest()
747 return makeErrorResponse(&header, ns_rcode::ns_r_notimpl, response, response_len); in handleDNSRequest()
751 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest()
755 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest()
760 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest()
768 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest()
788 return makeErrorResponse(&header, error_rcode_, response, response_len); in handleDNSRequest()
794 return makeResponse(&header, protocol, response, response_len); in handleDNSRequest()
895 size_t* response_len) const { in writePacket()
896 char* response_cur = header->write(response, response + *response_len); in writePacket()
[all …]
Ddns_responder.h256 size_t* response_len) const;
261 size_t* response_len) const;
266 bool writePacket(const DNSHeader* header, char* response, size_t* response_len) const;
269 size_t* response_len) const;
271 bool makeTruncatedResponse(DNSHeader* header, char* response, size_t* response_len) const;
273 bool makeResponse(DNSHeader* header, int protocol, char* response, size_t* response_len) const;
276 size_t* response_len) const;
277 bool makeResponseFromDnsHeader(DNSHeader* header, char* response, size_t* response_len) const;
279 size_t* response_len) const;
/packages/modules/DnsResolver/
Ddoh.h45 size_t response_len);
Ddoh.rs457 response_len: size_t, in doh_query()
469 if resp.len() > response_len || resp.len() > isize::MAX as usize { in doh_query()