Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dgethnamaddr.cpp534 struct in6_addr host_addr; in netbsd_gethostent_r() local
564 if (inet_pton(AF_INET6, p, &host_addr) > 0) { in netbsd_gethostent_r()
568 if (inet_pton(AF_INET, p, &host_addr) <= 0) continue; in netbsd_gethostent_r()
594 HENT_COPY(hent->h_addr_list[0], &host_addr, hent->h_length, buf, buflen); in netbsd_gethostent_r()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp3351 constexpr char host_addr[] = "64:ff9b::7f00:1"; in TEST_F() local
3367 inet_pton(AF_INET6, host_addr, &v6addr); in TEST_F()
3376 EXPECT_EQ(result_str, host_addr); in TEST_F()
3578 constexpr char host_addr[] = "64:ff9b::7f00:1"; in TEST_F() local
3596 inet_pton(AF_INET6, host_addr, &sin6.sin6_addr); in TEST_F()