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.cpp297 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()
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;