Searched refs:sin6 (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/netbsd/net/ |
D | getnameinfo.c | 336 const struct sockaddr_in6 *sin6; local 337 sin6 = (const struct sockaddr_in6 *)(const void *)sa; 338 switch (sin6->sin6_addr.s6_addr[0]) { 340 if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) 342 else if (IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr)) 348 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) { 351 else if (IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr))
|
D | getaddrinfo.c | 1030 struct sockaddr_in6 *sin6; in explore_numeric_scope() 1072 sin6 = (struct sockaddr_in6 *)(void *)cur->ai_addr; in explore_numeric_scope() 1073 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) { in explore_numeric_scope() 1077 sin6->sin6_scope_id = scopeid; in explore_numeric_scope() 1250 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid) in ip6_str2scopeid() argument 1257 assert(sin6 != NULL); in ip6_str2scopeid() 1260 a6 = &sin6->sin6_addr; in ip6_str2scopeid()
|
/bionic/libc/netbsd/resolv/ |
D | res_init.c | 254 u[nserv].sin6.sin6_addr = in6addr_loopback; in __res_vinit() 256 u[nserv].sin6.sin6_addr = in6addr_any; in __res_vinit() 258 u[nserv].sin6.sin6_family = AF_INET6; in __res_vinit() 259 u[nserv].sin6.sin6_port = htons(NAMESERVER_PORT); in __res_vinit() 261 u[nserv].sin6.sin6_len = sizeof(struct sockaddr_in6); in __res_vinit() 841 size = sizeof(set->sin6); in res_setservers() 844 &set->sin6, size); in res_setservers() 847 &set->sin6, size); in res_setservers() 889 size = sizeof(set->sin6); in res_getservers() 891 memcpy(&set->sin6, in res_getservers() [all …]
|
D | res_send.c | 169 struct sockaddr_in6 sin6; member 188 u.sin6.sin6_family = family; in random_bind() 189 slen = sizeof u.sin6; in random_bind() 203 u.sin6.sin6_port = htons(port); in random_bind() 214 u.sin6.sin6_port = 0; in random_bind()
|
D | res_debug.c | 682 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
|