Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp701 size_t* response_len) const { in handleDNSRequest()
717 return makeErrorResponse(&header, ns_rcode::ns_r_notimpl, response, response_len); in handleDNSRequest()
721 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest()
725 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest()
730 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest()
738 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest()
758 return makeErrorResponse(&header, error_rcode_, response, response_len); in handleDNSRequest()
764 return makeResponse(&header, protocol, response, response_len); in handleDNSRequest()
865 size_t* response_len) const { in writePacket()
866 char* response_cur = header->write(response, response + *response_len); in writePacket()
[all …]
Ddns_responder.h252 size_t* response_len) const;
257 size_t* response_len) const;
262 bool writePacket(const DNSHeader* header, char* response, size_t* response_len) const;
265 size_t* response_len) const;
267 bool makeTruncatedResponse(DNSHeader* header, char* response, size_t* response_len) const;
269 bool makeResponse(DNSHeader* header, int protocol, char* response, size_t* response_len) const;
272 size_t* response_len) const;
273 bool makeResponseFromDnsHeader(DNSHeader* header, char* response, size_t* response_len) const;
275 size_t* response_len) const;