Searched refs:rdlen (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 297 unsigned rdlen = 0; in read() local 298 cur = readIntFields(cur, buffer_end, &rdlen); in read() 303 if (cur + rdlen > buffer_end) { in read() 307 rdata.assign(cur, cur + rdlen); in read() 308 return cur + rdlen; in read() 330 const char* DNSRecord::readIntFields(const char* buffer, const char* buffer_end, unsigned* rdlen) { in readIntFields() argument 339 *rdlen = ntohs(intfields.rdlen); in readIntFields() 343 char* DNSRecord::writeIntFields(unsigned rdlen, char* buffer, const char* buffer_end) const { in writeIntFields() argument 352 intfields.rdlen = htons(rdlen); in writeIntFields()
|
D | dns_responder.h | 76 uint16_t rdlen; member 79 const char* readIntFields(const char* buffer, const char* buffer_end, unsigned* rdlen); 80 char* writeIntFields(unsigned rdlen, char* buffer, const char* buffer_end) const;
|