Searched refs:ipType (Results 1 – 2 of 2) sorted by relevance
/system/netd/resolv/ |
D | DnsProxyListener.cpp | 175 int extractResNsendAnswers(const uint8_t* answer, size_t anslen, int ipType, in extractResNsendAnswers() argument 189 if (ipType == ns_t_a) { in extractResNsendAnswers() 194 } else if (ipType == ns_t_aaaa) { in extractResNsendAnswers()
|
D | resolver_test.cpp | 1769 std::string toString(uint8_t* buf, int bufLen, int ipType) { in toString() argument 1779 if (inet_ntop(ipType, (const char*) rdata, buffer, sizeof(buffer))) { in toString() 1809 void expectAnswersValid(int fd, int ipType, const std::string& expectedAnswer) { in expectAnswersValid() argument 1815 EXPECT_EQ(expectedAnswer, toString(buf, res, ipType)); in expectAnswersValid()
|