Lines Matching refs:rdata
292 std::vector<char> rdata; member
326 rdata.assign(cur, cur + rdlen); in read()
333 buffer_cur = writeIntFields(rdata.size(), buffer_cur, buffer_end); in write()
335 if (buffer_cur + rdata.size() > buffer_end) { in write()
339 return std::copy(rdata.begin(), rdata.end(), buffer_cur); in write()
854 record.rdata.resize(4); in fillAnswerRdata()
855 if (inet_pton(AF_INET, rdatastr.c_str(), record.rdata.data()) != 1) { in fillAnswerRdata()
860 record.rdata.resize(16); in fillAnswerRdata()
861 if (inet_pton(AF_INET6, rdatastr.c_str(), record.rdata.data()) != 1) { in fillAnswerRdata()
868 std::vector<char> rdata; in fillAnswerRdata() local
884 rdata.push_back(label.length()); in fillAnswerRdata()
885 rdata.insert(rdata.end(), label.begin(), label.end()); in fillAnswerRdata()
887 rdata.push_back(0); // Length byte of zero terminates the label list in fillAnswerRdata()
890 if (rdata.size() > 255) { in fillAnswerRdata()
894 record.rdata = move(rdata); in fillAnswerRdata()