Home
last modified time | relevance | path

Searched refs:sin6_addr (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/dns/net/
Dgetnameinfo.c82 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()
Dgetaddrinfo.c152 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/
Din6.h50 struct in6_addr sin6_addr; member
/bionic/tests/
Dnetdb_test.cpp110 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/
Dres_send.c264 (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()
Dres_init.c217 u[nserv].sin6.sin6_addr = in6addr_loopback; in __res_vinit()
219 u[nserv].sin6.sin6_addr = in6addr_any; in __res_vinit()
Dres_debug.c736 inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret, sizeof ret); in p_sockun()