Home
last modified time | relevance | path

Searched refs:sockaddr_in6 (Results 1 – 16 of 16) sorted by relevance

/bionic/tests/headers/posix/
Dnetinet_in_h.c51 TYPE(struct sockaddr_in6); in netinet_in_h()
52 STRUCT_MEMBER(struct sockaddr_in6, sa_family_t, sin6_family); in netinet_in_h()
53 STRUCT_MEMBER(struct sockaddr_in6, in_port_t, sin6_port); in netinet_in_h()
54 STRUCT_MEMBER(struct sockaddr_in6, uint32_t, sin6_flowinfo); in netinet_in_h()
55 STRUCT_MEMBER(struct sockaddr_in6, struct in6_addr, sin6_addr); in netinet_in_h()
56 STRUCT_MEMBER(struct sockaddr_in6, uint32_t, sin6_scope_id); in netinet_in_h()
/bionic/libc/kernel/uapi/linux/
Dmroute6.h73 struct sockaddr_in6 mf6cc_origin;
74 struct sockaddr_in6 mf6cc_mcastgrp;
79 struct sockaddr_in6 src;
80 struct sockaddr_in6 grp;
Dif_pppol2tp.h37 struct sockaddr_in6 addr;
51 struct sockaddr_in6 addr;
Drxrpc.h32 struct sockaddr_in6 sin6;
Dipv6.h34 struct sockaddr_in6 ip6m_addr;
Din6.h40 struct sockaddr_in6 { struct
/bionic/libc/kernel/uapi/rdma/
Drdma_user_cm.h84 struct sockaddr_in6 addr;
94 struct sockaddr_in6 src_addr;
95 struct sockaddr_in6 dst_addr;
125 struct sockaddr_in6 src_addr;
126 struct sockaddr_in6 dst_addr;
214 struct sockaddr_in6 addr;
Drdma_user_rxe.h50 struct sockaddr_in6 _sockaddr_in6;
/bionic/libc/dns/net/
Dgetnameinfo.c87 {PF_INET6, sizeof(struct in6_addr), sizeof(struct sockaddr_in6),
88 offsetof(struct sockaddr_in6, sin6_addr)},
106 static int ip6_sa2str(const struct sockaddr_in6 *, char *, size_t, int);
253 const struct sockaddr_in6 *sin6; in getnameinfo_inet()
254 sin6 = (const struct sockaddr_in6 *)(const void *)sa; in getnameinfo_inet()
384 if (((const struct sockaddr_in6 *)(const void *)sa)->sin6_scope_id) { in ip6_parsenumeric()
389 (const struct sockaddr_in6 *)(const void *)sa, in ip6_parsenumeric()
407 ip6_sa2str(const struct sockaddr_in6 *sa6, char *buf, size_t bufsiz, int flags) in ip6_sa2str()
Dgetaddrinfo.c115 struct sockaddr_in6 in6;
150 sizeof(struct sockaddr_in6),
151 offsetof(struct sockaddr_in6, sin6_addr),
235 static int ip6_str2scopeid(char *, struct sockaddr_in6 *, u_int32_t *);
375 static const struct sockaddr_in6 sin6_test = { in _have_ipv6()
1025 struct sockaddr_in6 *sin6; in explore_numeric_scope()
1067 sin6 = (struct sockaddr_in6 *)(void *)cur->ai_addr; in explore_numeric_scope()
1218 ((struct sockaddr_in6 *)(void *) in get_port()
1245 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid) in ip6_str2scopeid()
1515 const struct sockaddr_in6 *addr6 = (const struct sockaddr_in6 *)addr; in _get_scope()
[all …]
/bionic/tests/
Difaddrs_test.cpp65 const sockaddr_in6* sa_inet6 = reinterpret_cast<const sockaddr_in6*>(lo_inet6->ifa_addr); in TEST()
177 (family == AF_INET) ? sizeof(sockaddr_in) : sizeof(sockaddr_in6), in print_sockaddr_inet()
261 sockaddr_in6* sa6 = reinterpret_cast<sockaddr_in6*>(ifa->ifa_addr); in TEST()
Dnetdb_test.cpp106 ASSERT_GE(ai->ai_addrlen, static_cast<socklen_t>(sizeof(sockaddr_in6))); in TEST()
108 sockaddr_in6 *addr = reinterpret_cast<sockaddr_in6*>(ai->ai_addr); in TEST()
132 just_right = sizeof(sockaddr_in6); in TEST()
133 too_little = sizeof(sockaddr_in6) - 1; in TEST()
162 sockaddr_in6 addr; in TEST()
164 memset(&addr, 0, sizeof(sockaddr_in6)); in TEST()
/bionic/libc/bionic/
Difaddrs.cpp139 reinterpret_cast<sockaddr_in6*>(ss)->sin6_scope_id = interface_index; in CopyAddress()
152 sockaddr_in6* ss6 = reinterpret_cast<sockaddr_in6*>(ss); in SockaddrBytes()
/bionic/libc/dns/resolv/
Dres_send.c158 struct sockaddr_in6 sin6;
225 const struct sockaddr_in6 *in6p, *srv6; in res_ourserver_p()
243 in6p = (const struct sockaddr_in6 *)(const void *)sa; in res_ourserver_p()
245 srv6 = (struct sockaddr_in6 *)(void *)get_nsaddr(statp, (size_t)ns); in res_ourserver_p()
696 return (sizeof(struct sockaddr_in6));
1329 struct sockaddr_in6 *a6, *b6; in sock_eq()
1340 a6 = (struct sockaddr_in6 *)(void *)a; in sock_eq()
1341 b6 = (struct sockaddr_in6 *)(void *)b; in sock_eq()
Dres_init.c223 u[nserv].sin6.sin6_len = sizeof(struct sockaddr_in6); in __res_vinit()
/bionic/libc/dns/include/
Dresolv_private.h217 struct sockaddr_in6 sin6;