| 92 | } |
| 93 | |
| 94 | void DNS_QuestionEntry::WriteBytes(u8* buffer, int* offset) const |
| 95 | { |
| 96 | WriteDNS_String(buffer, offset, name); |
| 97 | NetLib::WriteUInt16(buffer, offset, entryType); |
| 98 | NetLib::WriteUInt16(buffer, offset, entryClass); |
| 99 | } |
| 100 | |
| 101 | DNS_ResponseEntry::DNS_ResponseEntry(const std::string& rName, u16 rType, u16 rClass, const std::vector<u8>& rData, u32 rTTL) |
| 102 | : DNS_QuestionEntry(rName, rType, rClass) |
nothing calls this directly
no test coverage detected