Home
last modified time | relevance | path

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

/system/netd/resolv/dns_responder/
Ddns_responder.cpp355 const auto& intfields = *reinterpret_cast<const IntFields*>(buffer); in readIntFields() local
356 rtype = ntohs(intfields.rtype); in readIntFields()
357 rclass = ntohs(intfields.rclass); in readIntFields()
358 ttl = ntohl(intfields.ttl); in readIntFields()
359 *rdlen = ntohs(intfields.rdlen); in readIntFields()
369 auto& intfields = *reinterpret_cast<IntFields*>(buffer); in writeIntFields() local
370 intfields.rtype = htons(rtype); in writeIntFields()
371 intfields.rclass = htons(rclass); in writeIntFields()
372 intfields.ttl = htonl(ttl); in writeIntFields()
373 intfields.rdlen = htons(rdlen); in writeIntFields()