Home
last modified time | relevance | path

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

/bionic/tests/
Difaddrs_test.cpp66 ASSERT_TRUE(ntohl(sa_inet4->sin_addr.s_addr) == INADDR_LOOPBACK); in TEST()
138 in_addr_t addr = sock->sin_addr.s_addr; in CheckAddressIsInSet()
153 inet_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); in TEST()
157 broad_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); in TEST()
Dfdtrack_test.cpp306 .sin_addr = {htonl(INADDR_LOOPBACK)}, in CreateListener()
Dnetdb_test.cpp149 addr.sin_addr.s_addr = htonl(0x7f000001); in TEST()
/bionic/libc/kernel/uapi/linux/
Dif_pppox.h29 struct in_addr sin_addr; member
Din.h190 struct in_addr sin_addr; member
/bionic/tests/headers/posix/
Dnetinet_in_h.c46 STRUCT_MEMBER(struct sockaddr_in, struct in_addr, sin_addr); in netinet_in_h()
/bionic/libc/dns/net/
Dgetnameinfo.c91 offsetof(struct sockaddr_in, sin_addr)},
243 (const void *)sa)->sin_addr.s_addr); in getnameinfo_inet()
Dgetaddrinfo.c156 offsetof(struct sockaddr_in, sin_addr),
388 .sin_addr.s_addr = __constant_htonl(0x08080808L) // 8.8.8.8 in _have_ipv4()
1532 unsigned long int na = ntohl(addr4->sin_addr.s_addr); in _get_scope()
/bionic/libc/dns/resolv/
Dres_send.c235 (srv->sin_addr.s_addr == INADDR_ANY || in res_ourserver_p()
236 srv->sin_addr.s_addr == inp->sin_addr.s_addr)) in res_ourserver_p()
1335 a4->sin_addr.s_addr == b4->sin_addr.s_addr; in sock_eq()
Dres_init.c204 u[nserv].sin.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1); in __res_vinit()
206 u[nserv].sin.sin_addr.s_addr = INADDR_ANY; in __res_vinit()
Dres_debug.c750 inet_ntop(AF_INET, &u.sin.sin_addr, ret, (socklen_t)sizeof ret); in p_sockun()
/bionic/libc/bionic/
Difaddrs.cpp150 return reinterpret_cast<uint8_t*>(&ss4->sin_addr); in SockaddrBytes()