Home
last modified time | relevance | path

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

/bionic/tests/
Darpa_inet_test.cpp149 sockaddr_storage ss4; in TEST() local
150 ASSERT_EQ(1, inet_pton(AF_INET, "127.0.0.1", &ss4)); in TEST()
157 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss4, s4, INET_ADDRSTRLEN)); in TEST()
158 ASSERT_STREQ("127.0.0.1", inet_ntop(AF_INET, &ss4, s4, 2*INET_ADDRSTRLEN)); in TEST()
/bionic/libc/bionic/
Difaddrs.cpp149 sockaddr_in* ss4 = reinterpret_cast<sockaddr_in*>(ss); in SockaddrBytes() local
150 return reinterpret_cast<uint8_t*>(&ss4->sin_addr); in SockaddrBytes()