Searched refs:response_len (Results 1 – 4 of 4) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 732 size_t* response_len) const { in handleDNSRequest() 750 return makeErrorResponse(&header, ns_rcode::ns_r_notimpl, response, response_len); in handleDNSRequest() 754 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest() 758 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest() 763 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest() 771 return makeErrorResponse(&header, ns_rcode::ns_r_formerr, response, response_len); in handleDNSRequest() 791 return makeErrorResponse(&header, error_rcode_, response, response_len); in handleDNSRequest() 797 return makeResponse(&header, protocol, response, response_len); in handleDNSRequest() 898 size_t* response_len) const { in writePacket() 899 char* response_cur = header->write(response, response + *response_len); in writePacket() [all …]
|
D | dns_responder.h | 257 size_t* response_len) const; 262 size_t* response_len) const; 267 bool writePacket(const DNSHeader* header, char* response, size_t* response_len) const; 270 size_t* response_len) const; 272 bool makeTruncatedResponse(DNSHeader* header, char* response, size_t* response_len) const; 274 bool makeResponse(DNSHeader* header, int protocol, char* response, size_t* response_len) const; 277 size_t* response_len) const; 278 bool makeResponseFromDnsHeader(DNSHeader* header, char* response, size_t* response_len) const; 280 size_t* response_len) const;
|
/packages/modules/DnsResolver/ |
D | doh.h | 106 uint8_t* response, size_t response_len, uint64_t timeout_ms);
|
/packages/modules/DnsResolver/doh/ |
D | ffi.rs | 279 response_len: size_t, in doh_query() 311 if answer.len() > response_len || answer.len() > isize::MAX as usize { in doh_query()
|