Searched refs:sin_addr (Results 1 – 10 of 10) sorted by relevance
59 ASSERT_TRUE(ntohl(sa_inet4->sin_addr.s_addr) == INADDR_LOOPBACK); in TEST()131 in_addr_t addr = sock->sin_addr.s_addr; in CheckAddressIsInSet()146 inet_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); in TEST()150 broad_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); in TEST()
148 addr.sin_addr.s_addr = htonl(0x7f000001); in TEST()
42 struct in_addr sin_addr; member
235 struct in_addr sin_addr; member
85 offsetof(struct sockaddr_in, sin_addr)},236 (const void *)sa)->sin_addr.s_addr); in getnameinfo_inet()
157 offsetof(struct sockaddr_in, sin_addr),387 .sin_addr.s_addr = __constant_htonl(0x08080808L) // 8.8.8.8 in _have_ipv4()1513 unsigned long int na = ntohl(addr4->sin_addr.s_addr); in _get_scope()
245 (srv->sin_addr.s_addr == INADDR_ANY || in res_ourserver_p()246 srv->sin_addr.s_addr == inp->sin_addr.s_addr)) in res_ourserver_p()1360 a4->sin_addr.s_addr == b4->sin_addr.s_addr; in sock_eq()
205 u[nserv].sin.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1); in __res_vinit()207 u[nserv].sin.sin_addr.s_addr = INADDR_ANY; in __res_vinit()
732 inet_ntop(AF_INET, &u.sin.sin_addr, ret, (socklen_t)sizeof ret); in p_sockun()
148 return reinterpret_cast<uint8_t*>(&ss4->sin_addr); in SockaddrBytes()