/frameworks/base/voip/jni/rtp/ |
util.cpp | 50 sockaddr_in6 *sin6 = (sockaddr_in6 *)ss; local 51 if (inet_pton(AF_INET6, address, &(sin6->sin6_addr)) > 0) { 52 sin6->sin6_family = AF_INET6; 53 sin6->sin6_port = htons(port);
|
/external/ipsec-tools/src/racoon/ |
sockmisc.h | 49 struct sockaddr_in6 sin6; member in union:sockaddr_any
|
grabmyaddr.c | 405 struct sockaddr_in6 *sin6; local 421 sin6 = (struct sockaddr_in6 *) &addr; 422 memcpy(&sin6->sin6_addr, RTA_DATA(rta[IFA_LOCAL]), 423 sizeof(sin6->sin6_addr)); 424 if (!IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) 426 sin6->sin6_scope_id = ifa->ifa_index; 479 struct sockaddr_in6 *sin6; local 504 sin6 = (struct sockaddr_in6 *) &addr; 505 memcpy(&sin6->sin6_addr, RTA_DATA(rta[RTA_DST]), 506 sizeof(sin6->sin6_addr)) [all...] |
sockmisc.c | 286 struct sockaddr_in6 *sin6; local 326 && otolen >= sizeof(*sin6)) { 328 *tolen = sizeof(*sin6); 329 sin6 = (struct sockaddr_in6 *)to; 330 memset(sin6, 0, sizeof(*sin6)); 331 sin6->sin6_family = AF_INET6; 333 sin6->sin6_len = sizeof(*sin6); 335 memcpy(&sin6->sin6_addr, &pi->ipi6_addr [all...] |
isakmp.c | 1577 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) addr; local [all...] |
/libcore/luni/src/main/native/ |
NetworkUtilities.cpp | 35 const sockaddr_in6* sin6 = reinterpret_cast<const sockaddr_in6*>(ss); local 36 if (ss->ss_family == AF_INET6 && IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) { 42 sin->sin_port = sin6->sin6_port; 43 memcpy(&sin->sin_addr.s_addr, &sin6->sin6_addr.s6_addr[12], 4); 58 const sockaddr_in6* sin6 = reinterpret_cast<const sockaddr_in6*>(ss); local 59 rawAddress = &sin6->sin6_addr.s6_addr; 61 sin_port = ntohs(sin6->sin6_port); 62 scope_id = sin6->sin6_scope_id; 121 sockaddr_in6* sin6 = reinterpret_cast<sockaddr_in6*>(ss); local 122 sin6->sin6_port = htons(port) [all...] |
/external/chromium/net/base/ |
address_list.cc | 211 const struct sockaddr_in6* sin6 = local 213 ai->ai_family = sin6->sin6_family;
|
/external/tcpdump/missing/ |
getnameinfo.c | 182 struct sockaddr_in6 *sin6; local 183 sin6 = (struct sockaddr_in6 *)sa; 184 switch (sin6->sin6_addr.s6_addr[0]) { 186 if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) 188 else if (IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr)) 194 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) { 197 else if (IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr))
|
/bionic/libc/netbsd/net/ |
getnameinfo.c | 316 const struct sockaddr_in6 *sin6; local 317 sin6 = (const struct sockaddr_in6 *)(const void *)sa; 318 switch (sin6->sin6_addr.s6_addr[0]) { 320 if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) 322 else if (IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr)) 328 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) { 331 else if (IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr))
|
/external/dhcpcd/ |
if-bsd.c | 186 struct sockaddr_in6 sin6; member in union:sockunion
|
/external/ipsec-tools/src/libipsec/ |
key_debug.c | 836 struct sockaddr_in6 *sin6; local 854 sin6 = (void *)addr; 855 printf(" port=%u\n", ntohs(sin6->sin6_port)); 857 sin6->sin6_flowinfo, sin6->sin6_scope_id); 858 ipsec_hexdump(&sin6->sin6_addr, sizeof(sin6->sin6_addr));
|
/external/tcpdump/ |
print-esp.c | 62 struct sockaddr_in6 sin6; member in union:sockaddr_storage::__anon11686 186 struct sockaddr_in6 *sin6; local 201 sin6 = (struct sockaddr_in6 *)&sa1.daddr; 202 if (inet_pton(AF_INET6, spikey, &sin6->sin6_addr) == 1) { 204 sin6->sin6_len = sizeof(struct sockaddr_in6); 206 sin6->sin6_family = AF_INET6; 420 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)&sa->daddr; 422 sin6->sin6_family == AF_INET6 && 423 memcmp(&sin6->sin6_addr, &ip6->ip6_dst,
|
print-isakmp.c | 185 struct sockaddr_in6 *sin6; local 223 sin6 = (struct sockaddr_in6 *)&cookiecache[ninitiator].iaddr; 225 sin6->sin6_len = sizeof(struct sockaddr_in6); 227 sin6->sin6_family = AF_INET6; 228 memcpy(&sin6->sin6_addr, &ip6->ip6_src, sizeof(ip6->ip6_src)); 229 sin6 = (struct sockaddr_in6 *)&cookiecache[ninitiator].raddr; 231 sin6->sin6_len = sizeof(struct sockaddr_in6); 233 sin6->sin6_family = AF_INET6; 234 memcpy(&sin6->sin6_addr, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); 255 struct sockaddr_in6 *sin6; local [all...] |
/bionic/libc/netbsd/resolv/ |
res_send.c | 161 struct sockaddr_in6 sin6; member in union:__anon565 180 u.sin6.sin6_family = family; 181 slen = sizeof u.sin6; 195 u.sin6.sin6_port = htons(port); 206 u.sin6.sin6_port = 0;
|
/external/wpa_supplicant_6/wpa_supplicant/src/radius/ |
radius_server.c | 673 struct sockaddr_in6 sin6; member in union:__anon14143 698 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf, 701 from_port = ntohs(from.sin6.sin6_port); 707 &from.sin6.sin6_addr, 1);
|
/external/wpa_supplicant_8/src/radius/ |
radius_server.c | 862 struct sockaddr_in6 sin6; member in union:__anon14367 887 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf, 890 from_port = ntohs(from.sin6.sin6_port); 896 &from.sin6.sin6_addr, 1); [all...] |
/system/core/libnetutils/ |
ifc_utils.c | 287 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) &ss; local 288 addr = &sin6->sin6_addr;
|
/bionic/libc/private/ |
resolv_private.h | 196 struct sockaddr_in6 sin6; member in union:res_sockaddr_union
|
/external/libpcap/ |
gencode.c | 4967 struct sockaddr_in6 *sin6; local [all...] |
/external/netperf/ |
nettest_bsd.c | 1125 struct sockaddr_in6 *sin6; local [all...] |
/external/ppp/pppd/ |
sys-solaris.c | 1905 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)&laddr; local [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-generic.c | 941 struct vki_sockaddr_in6* sin6 = (struct vki_sockaddr_in6 *)sa; local 970 (Addr) &sin6->sin6_port, sizeof (sin6->sin6_port) ); 973 (Addr) &sin6->sin6_flowinfo, sizeof (sin6->sin6_flowinfo) ); 976 (Addr) &sin6->sin6_addr, sizeof (sin6->sin6_addr) ); 979 (Addr) &sin6->sin6_scope_id, sizeof (sin6->sin6_scope_id) ); [all...] |