Searched refs:intfields (Results 1 – 1 of 1) sorted by relevance
355 const auto& intfields = *reinterpret_cast<const IntFields*>(buffer); in readIntFields() local356 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() local370 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()