Searched refs:sin_addr (Results 1 – 12 of 12) sorted by relevance
/bionic/tests/ |
D | ifaddrs_test.cpp | 66 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()
|
D | fdtrack_test.cpp | 306 .sin_addr = {htonl(INADDR_LOOPBACK)}, in CreateListener()
|
D | netdb_test.cpp | 149 addr.sin_addr.s_addr = htonl(0x7f000001); in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | if_pppox.h | 29 struct in_addr sin_addr; member
|
D | in.h | 190 struct in_addr sin_addr; member
|
/bionic/tests/headers/posix/ |
D | netinet_in_h.c | 46 STRUCT_MEMBER(struct sockaddr_in, struct in_addr, sin_addr); in netinet_in_h()
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 91 offsetof(struct sockaddr_in, sin_addr)}, 243 (const void *)sa)->sin_addr.s_addr); in getnameinfo_inet()
|
D | getaddrinfo.c | 156 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/ |
D | res_send.c | 235 (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()
|
D | res_init.c | 204 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()
|
D | res_debug.c | 750 inet_ntop(AF_INET, &u.sin.sin_addr, ret, (socklen_t)sizeof ret); in p_sockun()
|
/bionic/libc/bionic/ |
D | ifaddrs.cpp | 150 return reinterpret_cast<uint8_t*>(&ss4->sin_addr); in SockaddrBytes()
|