Home
last modified time | relevance | path

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

/cts/tests/tests/net/native/dns/
DNativeDnsAsyncTest.cpp57 std::vector<std::string> extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int ipType) { in extractIpAddressAnswers() argument
71 if (inet_ntop(ipType, (const char*) rdata, buffer, sizeof(buffer))) { in extractIpAddressAnswers()
78 void expectAnswersValid(int fd, int ipType, int expectedRcode) { in expectAnswersValid() argument
86 auto answers = extractIpAddressAnswers(buf, res, ipType); in expectAnswersValid()
90 EXPECT_EQ(1, inet_pton(ipType, answer.c_str(), pton)); in expectAnswersValid()