Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsProxyListener.cpp167 int extractResNsendAnswers(const uint8_t* answer, size_t anslen, int ipType, in extractResNsendAnswers() argument
181 if (ipType == ns_t_a) { in extractResNsendAnswers()
186 } else if (ipType == ns_t_aaaa) { in extractResNsendAnswers()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp2059 std::string toString(uint8_t* buf, int bufLen, int ipType) { in toString() argument
2069 if (inet_ntop(ipType, (const char*)rdata, buffer, sizeof(buffer))) { in toString()
2099 void expectAnswersValid(int fd, int ipType, const std::string& expectedAnswer) { in expectAnswersValid() argument
2105 EXPECT_EQ(expectedAnswer, toString(buf, res, ipType)); in expectAnswersValid()