Searched refs:sin6 (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/netbsd/net/ |
D | getnameinfo.c | 220 const struct sockaddr_in6 *sin6; local 221 sin6 = (const struct sockaddr_in6 *)(const void *)sa; 222 switch (sin6->sin6_addr.s6_addr[0]) { 224 if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) 226 else if (IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr)) 232 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) { 235 else if (IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr))
|
D | getaddrinfo.c | 768 struct sockaddr_in6 *sin6; in explore_numeric_scope() 810 sin6 = (struct sockaddr_in6 *)(void *)cur->ai_addr; in explore_numeric_scope() 811 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) { in explore_numeric_scope() 815 sin6->sin6_scope_id = scopeid; in explore_numeric_scope() 988 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid) in ip6_str2scopeid() argument 995 assert(sin6 != NULL); in ip6_str2scopeid() 998 a6 = &sin6->sin6_addr; in ip6_str2scopeid()
|
/bionic/libc/netbsd/resolv/ |
D | res_init.c | 250 u[nserv].sin6.sin6_addr = in6addr_loopback; in __res_vinit() 252 u[nserv].sin6.sin6_addr = in6addr_any; in __res_vinit() 254 u[nserv].sin6.sin6_family = AF_INET6; in __res_vinit() 255 u[nserv].sin6.sin6_port = htons(NAMESERVER_PORT); in __res_vinit() 257 u[nserv].sin6.sin6_len = sizeof(struct sockaddr_in6); in __res_vinit() 803 size = sizeof(set->sin6); in res_setservers() 806 &set->sin6, size); in res_setservers() 809 &set->sin6, size); in res_setservers() 851 size = sizeof(set->sin6); in res_getservers() 853 memcpy(&set->sin6, in res_getservers() [all …]
|
D | res_send.c | 162 struct sockaddr_in6 sin6; member 181 u.sin6.sin6_family = family; in random_bind() 182 slen = sizeof u.sin6; in random_bind() 196 u.sin6.sin6_port = htons(port); in random_bind() 207 u.sin6.sin6_port = 0; in random_bind()
|
D | res_debug.c | 681 inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret, sizeof ret); in p_sockun()
|
/bionic/libc/private/ |
D | resolv_private.h | 196 struct sockaddr_in6 sin6; member
|