Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp267 unsigned rdlen = 0; in read() local
268 cur = readIntFields(cur, buffer_end, &rdlen); in read()
273 if (cur + rdlen > buffer_end) { in read()
277 rdata.assign(cur, cur + rdlen); in read()
278 return cur + rdlen; in read()
300 const char* DNSRecord::readIntFields(const char* buffer, const char* buffer_end, unsigned* rdlen) { in readIntFields() argument
309 *rdlen = ntohs(intfields.rdlen); in readIntFields()
313 char* DNSRecord::writeIntFields(unsigned rdlen, char* buffer, const char* buffer_end) const { in writeIntFields() argument
322 intfields.rdlen = htons(rdlen); in writeIntFields()
Ddns_responder.h76 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;