/external/chromium/net/base/ |
ip_endpoint.cc | 62 if (*address_length < sizeof(struct sockaddr_in6)) 64 *address_length = sizeof(struct sockaddr_in6); 65 struct sockaddr_in6* addr6 = 66 reinterpret_cast<struct sockaddr_in6*>(address); 67 memset(addr6, 0, sizeof(struct sockaddr_in6)); 94 const struct sockaddr_in6* addr = 95 reinterpret_cast<const struct sockaddr_in6*>(address);
|
address_list.cc | 76 const size_t sockaddr_in6_size = sizeof(struct sockaddr_in6); 79 struct sockaddr_in6* addr6 = reinterpret_cast<struct sockaddr_in6*>( 209 case sizeof(struct sockaddr_in6): 211 const struct sockaddr_in6* sin6 = 212 reinterpret_cast<const struct sockaddr_in6*>(address);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
util.cpp | 50 sockaddr_in6 *sin6 = (sockaddr_in6 *)ss;
|
/bionic/libc/kernel/common/linux/ |
mroute6.h | 77 struct sockaddr_in6 mf6cc_origin; 79 struct sockaddr_in6 mf6cc_mcastgrp; 85 struct sockaddr_in6 src; 86 struct sockaddr_in6 grp;
|
/external/openssh/openbsd-compat/ |
bindresvport.c | 58 struct sockaddr_in6 *in6; 81 in6 = (struct sockaddr_in6 *)sa; 82 salen = sizeof(struct sockaddr_in6);
|
rresvport.c | 75 salen = sizeof(struct sockaddr_in6); 76 portp = &((struct sockaddr_in6 *)sa)->sin6_port;
|
/external/chromium_org/net/base/ |
ip_endpoint.cc | 21 const socklen_t kSockaddrIn6Size = sizeof(struct sockaddr_in6); 73 struct sockaddr_in6* addr6 = 74 reinterpret_cast<struct sockaddr_in6*>(address); 75 memset(addr6, 0, sizeof(struct sockaddr_in6));
|
/frameworks/av/media/common_time/ |
utils.cpp | 45 const struct sockaddr_in6* s = 46 reinterpret_cast<const struct sockaddr_in6*>(addr); 74 struct sockaddr_in6* s = 75 reinterpret_cast<struct sockaddr_in6*>(addr);
|
/libcore/luni/src/main/native/ |
NetworkUtilities.cpp | 34 const sockaddr_in6& sin6 = reinterpret_cast<const sockaddr_in6&>(ss); 39 memcpy(&tmp, &ss, sizeof(sockaddr_in6)); 59 const sockaddr_in6& sin6 = reinterpret_cast<const sockaddr_in6&>(ss); 155 // sizeof(sockaddr_in) for an IPv4 address and sizeof (sockaddr_in6) for an 161 sockaddr_in6& sin6 = reinterpret_cast<sockaddr_in6&>(ss); 170 sa_len = sizeof(sockaddr_in6); 176 // We should represent this Inet4Address as an IPv4-mapped IPv6 sockaddr_in6 [all...] |
/bionic/tests/ |
netdb_test.cpp | 48 just_right = sizeof(sockaddr_in6); 49 too_little = sizeof(sockaddr_in6) - 1;
|
/external/android-clat/ |
dns64.c | 40 struct sockaddr_in6 *this_addr; 67 this_addr = (struct sockaddr_in6 *)p->ai_addr;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
winping.h | 75 struct sockaddr_in6 *SourceAddress, 76 struct sockaddr_in6 *DestinationAddress,
|
ifaddrs-android.cc | 88 sockaddr_in6* sa = new sockaddr_in6; 111 sockaddr_in6* mask = new sockaddr_in6;
|
/external/ipsec-tools/src/racoon/ |
sockmisc.c | 113 sa1 = (caddr_t)&((struct sockaddr_in6 *)addr1)->sin6_addr; 114 sa2 = (caddr_t)&((struct sockaddr_in6 *)addr2)->sin6_addr; 117 if (((struct sockaddr_in6 *)addr1)->sin6_scope_id != 118 ((struct sockaddr_in6 *)addr2)->sin6_scope_id) 173 sa1 = (caddr_t)&((struct sockaddr_in6 *)addr1)->sin6_addr; 174 sa2 = (caddr_t)&((struct sockaddr_in6 *)addr2)->sin6_addr; 175 port1 = ((struct sockaddr_in6 *)addr1)->sin6_port; 176 port2 = ((struct sockaddr_in6 *)addr2)->sin6_port; 183 if (((struct sockaddr_in6 *)addr1)->sin6_scope_id != 184 ((struct sockaddr_in6 *)addr2)->sin6_scope_id [all...] |
sockmisc.h | 41 struct sockaddr_in6 sin6;
|
/external/kernel-headers/original/linux/ |
mroute6.h | 80 struct sockaddr_in6 mf6cc_origin; /* Origin of mcast */ 81 struct sockaddr_in6 mf6cc_mcastgrp; /* Group in question */ 91 struct sockaddr_in6 src; 92 struct sockaddr_in6 grp;
|
/bionic/libc/netbsd/net/ |
getnameinfo.c | 81 {PF_INET6, sizeof(struct in6_addr), sizeof(struct sockaddr_in6), 82 offsetof(struct sockaddr_in6, sin6_addr)}, 100 static int ip6_sa2str(const struct sockaddr_in6 *, char *, size_t, int); 260 const struct sockaddr_in6 *sin6; 261 sin6 = (const struct sockaddr_in6 *)(const void *)sa; 399 if (((const struct sockaddr_in6 *)(const void *)sa)->sin6_scope_id) { 404 (const struct sockaddr_in6 *)(const void *)sa, 422 ip6_sa2str(const struct sockaddr_in6 *sa6, char *buf, size_t bufsiz, int flags)
|
/external/mdnsresponder/mDNSPosix/ |
mDNSUNP.h | 49 #define sockaddr_storage sockaddr_in6 60 ((struct sockaddr*)&(X))->sa_family == AF_INET6 ? sizeof(struct sockaddr_in6) : sizeof(struct sockaddr))
|
mDNSUNP.c | 92 struct sockaddr_in6 *sin6; 143 ifi->ifi_addr = calloc(1, sizeof(struct sockaddr_in6)); 147 memcpy(ifi->ifi_addr, res0->ai_addr, sizeof(struct sockaddr_in6)); 152 ifi->ifi_netmask = calloc(1, sizeof(struct sockaddr_in6)); 156 sin6=calloc(1, sizeof(struct sockaddr_in6)); 162 memcpy(ifi->ifi_netmask, sin6, sizeof(struct sockaddr_in6)); 228 struct sockaddr_in6 *sinptr6; 412 sinptr6 = (struct sockaddr_in6 *) &ifr->ifr_addr; 414 ifi->ifi_addr = calloc(1, sizeof(struct sockaddr_in6)); 423 memcpy(ifi->ifi_addr, sinptr6, sizeof(struct sockaddr_in6)); [all...] |
/external/tcpdump/missing/ |
getnameinfo.c | 77 {PF_INET6, sizeof(struct in6_addr), sizeof(struct sockaddr_in6), 78 offsetof(struct sockaddr_in6, sin6_addr)}, 182 struct sockaddr_in6 *sin6; 183 sin6 = (struct sockaddr_in6 *)sa; 226 ((struct sockaddr_in6 *)sa)->sin6_scope_id) { 233 ((struct sockaddr_in6 *)sa)->sin6_scope_id;
|
/external/openssh/ |
canohost.c | 70 fromlen = sizeof(struct sockaddr_in6); 188 struct sockaddr_in6 *a6 = (struct sockaddr_in6 *)addr; 270 addrlen = sizeof(struct sockaddr_in6); 394 fromlen = sizeof(struct sockaddr_in6);
|
/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 51 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr, 84 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr, 106 struct sockaddr_in6 sa6;
|
/external/tcpdump/ |
print-esp.c | 62 struct sockaddr_in6 sin6; 186 struct sockaddr_in6 *sin6; 201 sin6 = (struct sockaddr_in6 *)&sa1.daddr; 204 sin6->sin6_len = sizeof(struct sockaddr_in6); 420 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)&sa->daddr;
|
/external/iputils/ |
traceroute6.c | 293 int wait_for_reply(int, struct sockaddr_in6 *, struct in6_addr *, int); 294 int packet_ok(u_char *buf, int cc, struct sockaddr_in6 *from, 298 void print(unsigned char *buf, int cc, struct sockaddr_in6 *from); 306 struct sockaddr_in6 whereto; /* Who to try to reach */ 308 struct sockaddr_in6 saddr; 309 struct sockaddr_in6 firsthop; 342 struct sockaddr_in6 from, *to; 370 to = (struct sockaddr_in6 *)&whereto; 659 struct sockaddr_in6 *from; 824 int packet_ok(u_char *buf, int cc, struct sockaddr_in6 *from [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
mount_node_socket.cc | 129 const sockaddr_in6* sin = reinterpret_cast<const sockaddr_in6*>(addr); 131 if (len != sizeof(sockaddr_in6)) 166 sockaddr_in6 addr6; 173 return sizeof(sockaddr_in6); 184 char data1[sizeof(sockaddr_in6)]; 185 char data2[sizeof(sockaddr_in6)];
|