Searched refs:sin6_addr (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/dns/net/ |
D | getnameinfo.c | 82 offsetof(struct sockaddr_in6, sin6_addr)}, 248 switch (sin6->sin6_addr.s6_addr[0]) { in getnameinfo_inet() 250 if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) in getnameinfo_inet() 252 else if (IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr)) in getnameinfo_inet() 258 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) { in getnameinfo_inet() 261 else if (IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr)) in getnameinfo_inet() 405 a6 = &sa6->sin6_addr; in ip6_sa2str()
|
D | getaddrinfo.c | 152 offsetof(struct sockaddr_in6, sin6_addr), 376 .sin6_addr.s6_addr = { // 2000:: in _have_ipv6() 1250 a6 = &sin6->sin6_addr; in ip6_str2scopeid() 1497 if (IN6_IS_ADDR_MULTICAST(&addr6->sin6_addr)) { in _get_scope() 1498 return IPV6_ADDR_MC_SCOPE(&addr6->sin6_addr); in _get_scope() 1499 } else if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr) || in _get_scope() 1500 IN6_IS_ADDR_LINKLOCAL(&addr6->sin6_addr)) { in _get_scope() 1506 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_scope() 1561 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_label() 1563 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_label() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | in6.h | 50 struct in6_addr sin6_addr; member
|
/bionic/tests/ |
D | netdb_test.cpp | 110 ASSERT_EQ(0, memcmp(&addr->sin6_addr, &in6addr_loopback, sizeof(in6_addr))); in TEST() 166 addr.sin6_addr = in6addr_loopback; in TEST()
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 264 (IN6_IS_ADDR_UNSPECIFIED(&srv6->sin6_addr) || in res_ourserver_p() 265 IN6_ARE_ADDR_EQUAL(&srv6->sin6_addr, &in6p->sin6_addr))) in res_ourserver_p() 1323 IN6_ARE_ADDR_EQUAL(&a6->sin6_addr, &b6->sin6_addr); in sock_eq()
|
D | res_init.c | 217 u[nserv].sin6.sin6_addr = in6addr_loopback; in __res_vinit() 219 u[nserv].sin6.sin6_addr = in6addr_any; in __res_vinit()
|
D | res_debug.c | 736 inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret, sizeof ret); in p_sockun()
|