Home
last modified time | relevance | path

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

123456

/external/lldb/include/lldb/Host/
DSocketAddress.h38 SocketAddress (const struct sockaddr_in6 &s);
59 operator=(const struct sockaddr_in6 &s);
162 struct sockaddr_in6 &
163 sockaddr_in6 () in sockaddr_in6() function
168 const struct sockaddr_in6 &
169 sockaddr_in6 () const in sockaddr_in6() function
216 operator struct sockaddr_in6 * ()
221 operator const struct sockaddr_in6 * () const
242 struct sockaddr_in6 sa_ipv6;
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/
Dsctp6_usrreq.c83 in6_sin6_2_sin(struct sockaddr_in *sin, struct sockaddr_in6 *sin6) in in6_sin6_2_sin()
109 struct sockaddr_in6 sin6; in in6_sin6_2_sin_in_sock()
112 sin6 = *(struct sockaddr_in6 *)nam; in in6_sin6_2_sin_in_sock()
132 struct sockaddr_in6 src, dst;
238 memset(&src, 0, sizeof(struct sockaddr_in6));
241 src.sin6_len = sizeof(struct sockaddr_in6);
253 memset(&dst, 0, sizeof(struct sockaddr_in6));
256 dst.sin6_len = sizeof(struct sockaddr_in6);
534 pktdst->sa_len != sizeof(struct sockaddr_in6))
563 struct sockaddr_in6 final;
[all …]
Dsctp6_var.h42 extern void in6_sin6_2_sin(struct sockaddr_in *, struct sockaddr_in6 *sin6);
77 struct sockaddr_in6 *sin6);
78 extern void in6_sin6_2_sin(struct sockaddr_in *, struct sockaddr_in6 *sin6);
/external/ipsec-tools/src/racoon/
Dsockmisc.c113 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 …]
Dgrabmyaddr.c197 struct sockaddr_in6 *sin = (void*)I->ifa_addr; in recvaddrs()
338 struct sockaddr_in6 *sin6; in grab_myaddrs()
384 sin6 = (struct sockaddr_in6 *)p->addr; in grab_myaddrs()
395 sin6 = (struct sockaddr_in6 *)p->addr; in grab_myaddrs()
436 struct sockaddr_in6 *sin6; in grab_myaddrs()
511 sin6 = (struct sockaddr_in6 *)p->addr; in grab_myaddrs()
599 ifr6.ifr_addr = *(const struct sockaddr_in6 *)ifaddr;
880 IN6_IS_ADDR_LINKLOCAL(&((struct sockaddr_in6 *)my)->sin6_addr);
894 if (check_wo_scope_id && IN6_IS_ADDR_LINKLOCAL(&((struct sockaddr_in6 *)p->addr)->sin6_addr) &&
/external/kernel-headers/original/uapi/rdma/
Drdma_user_cm.h104 struct sockaddr_in6 addr;
116 struct sockaddr_in6 src_addr;
117 struct sockaddr_in6 dst_addr;
152 struct sockaddr_in6 src_addr;
153 struct sockaddr_in6 dst_addr;
242 struct sockaddr_in6 addr;
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c92 struct sockaddr_in6 *sin6; in get_ifi_info_linuxv6()
143 ifi->ifi_addr = calloc(1, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6()
147 memcpy(ifi->ifi_addr, res0->ai_addr, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6()
152 ifi->ifi_netmask = calloc(1, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6()
156 sin6=calloc(1, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6()
162 memcpy(ifi->ifi_netmask, sin6, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6()
235 struct sockaddr_in6 *sinptr6; in get_ifi_info()
419 sinptr6 = (struct sockaddr_in6 *) &ifr->ifr_addr; in get_ifi_info()
421 ifi->ifi_addr = calloc(1, sizeof(struct sockaddr_in6)); in get_ifi_info()
430 memcpy(ifi->ifi_addr, sinptr6, sizeof(struct sockaddr_in6)); in get_ifi_info()
[all …]
/external/tcpdump/missing/
Dgetnameinfo.c77 {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/kernel-headers/original/uapi/linux/
Dmroute6.h85 struct sockaddr_in6 mf6cc_origin; /* Origin of mcast */
86 struct sockaddr_in6 mf6cc_mcastgrp; /* Group in question */
96 struct sockaddr_in6 src;
97 struct sockaddr_in6 grp;
Dif_pppol2tp.h46 struct sockaddr_in6 addr; /* IP address and port to send to */
71 struct sockaddr_in6 addr; /* IP address and port to send to */
/external/chromium_org/net/base/
Dip_endpoint.cc21 const socklen_t kSockaddrIn6Size = sizeof(struct sockaddr_in6);
73 struct sockaddr_in6* addr6 = in ToSockAddr()
74 reinterpret_cast<struct sockaddr_in6*>(address); in ToSockAddr()
75 memset(addr6, 0, sizeof(struct sockaddr_in6)); in ToSockAddr()
/external/iputils/
Dtraceroute6.c293 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; in main()
370 to = (struct sockaddr_in6 *)&whereto; in main()
659 struct sockaddr_in6 *from;
824 int packet_ok(u_char *buf, int cc, struct sockaddr_in6 *from, in packet_ok()
[all …]
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_recv_thread.c125 ifa->ifa_addr = (struct sockaddr *)malloc(sizeof(struct sockaddr_in6)); in sctp_handle_ifamsg()
126 memcpy(ifa->ifa_addr, sa, sizeof(struct sockaddr_in6)); in sctp_handle_ifamsg()
208 struct sockaddr_in6 *sa6;
254 sa6 = (struct sockaddr_in6 *)malloc(sizeof(struct sockaddr_in6));
465 struct sockaddr_in6 from; in recv_function_raw6()
473 struct sockaddr_in6 src, dst; in recv_function_raw6()
511 fromlen = sizeof(struct sockaddr_in6); in recv_function_raw6()
512 bzero((void *)&from, sizeof(struct sockaddr_in6)); in recv_function_raw6()
519 msg.namelen = sizeof(struct sockaddr_in6); in recv_function_raw6()
537 bzero((void *)&src, sizeof(struct sockaddr_in6)); in recv_function_raw6()
[all …]
/external/libpcap/tests/
Dfindalldevstest.c92 ((struct sockaddr_in6 *)(a->addr))->sin6_addr.s6_addr, in ifprint()
97 ((struct sockaddr_in6 *)(a->netmask))->sin6_addr.s6_addr, in ifprint()
102 ((struct sockaddr_in6 *)(a->broadaddr))->sin6_addr.s6_addr, in ifprint()
107 ((struct sockaddr_in6 *)(a->dstaddr))->sin6_addr.s6_addr, in ifprint()
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/netinet6/
Din6.h141 struct sockaddr_in6 { struct
165 extern const struct sockaddr_in6 sa6_any; argument
384 struct sockaddr_in6 ro_dst;
597 struct sockaddr_in6 *sin6));
599 struct sockaddr_in6 *sin6));
603 #define satosin6(sa) ((struct sockaddr_in6 *)(sa))
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dhost_resolver.cc57 sockaddr_in6* in = in CreateAddrInfo()
58 static_cast<sockaddr_in6*>(malloc(sizeof(sockaddr_in6))); in CreateAddrInfo()
59 *in = *(sockaddr_in6*)addr; in CreateAddrInfo()
193 sockaddr_in6* in6 = reinterpret_cast<sockaddr_in6*>(current->ai_addr); in gethostbyname()
265 struct sockaddr_in6 addr_in6; in getaddrinfo()
/external/chromium_org/third_party/webrtc/base/
Difaddrs-android.cc75 sockaddr_in6* sa = new sockaddr_in6; in set_addresses()
98 sockaddr_in6* mask = new sockaddr_in6; in make_prefixes()
Dsocketaddress.cc291 sockaddr_in6* saddr = reinterpret_cast<sockaddr_in6*>(addr); in ToSockAddrStorageHelper()
295 return sizeof(sockaddr_in6); in ToSockAddrStorageHelper()
365 const sockaddr_in6* saddr = reinterpret_cast<const sockaddr_in6*>(&addr); in SocketAddressFromSockAddrStorage()
/external/chromium_org/third_party/libjingle/source/talk/base/
Difaddrs-android.cc88 sockaddr_in6* sa = new sockaddr_in6; in set_addresses()
111 sockaddr_in6* mask = new sockaddr_in6; in make_prefixes()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_asconf.c170 struct sockaddr_in6 *sin6; in sctp_process_asconf_add_ip()
214 sin6 = (struct sockaddr_in6 *)&sa_store; in sctp_process_asconf_add_ip()
218 sin6->sin6_len = sizeof(struct sockaddr_in6); in sctp_process_asconf_add_ip()
324 struct sockaddr_in6 *sin6; in sctp_process_asconf_delete_ip()
365 sin6 = (struct sockaddr_in6 *)&sa_store; in sctp_process_asconf_delete_ip()
369 sin6->sin6_len = sizeof(struct sockaddr_in6); in sctp_process_asconf_delete_ip()
459 struct sockaddr_in6 *sin6; in sctp_process_asconf_set_primary()
498 sin6 = (struct sockaddr_in6 *)&sa_store; in sctp_process_asconf_set_primary()
502 sin6->sin6_len = sizeof(struct sockaddr_in6); in sctp_process_asconf_set_primary()
853 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sa; in sctp_asconf_addr_match()
[all …]
Dsctp_userspace.c110 struct sockaddr_in6 *addr6; in Win_getifaddrs()
169 addr6 = (struct sockaddr_in6 *)malloc(sizeof(struct sockaddr_in6)); in Win_getifaddrs()
178 memcpy(&addr6, &pAdapt->FirstUnicastAddress->Address.lpSockaddr, sizeof(struct sockaddr_in6)); in Win_getifaddrs()
Dsctputil.h220 uint32_t sctp_is_same_scope(struct sockaddr_in6 *, struct sockaddr_in6 *);
223 struct sockaddr_in6 *
224 sctp_recover_scope(struct sockaddr_in6 *, struct sockaddr_in6 *);
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dhost_resolver_test.cc62 sockaddr_in6 fake_addr; in AddFakeAddress()
147 struct sockaddr_in6* in6; in TEST_F()
177 in6 = (struct sockaddr_in6*)ai->ai_addr; in TEST_F()
193 struct sockaddr_in6* in6; in TEST_F()
220 in6 = (struct sockaddr_in6*)ai->ai_addr; in TEST_F()
315 sockaddr_in6* in = (sockaddr_in6*)current->ai_addr; in TEST_F()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
Dsocket_node.cc130 const sockaddr_in6* sin = reinterpret_cast<const sockaddr_in6*>(addr); in SockAddrToResource()
132 if (len != sizeof(sockaddr_in6)) in SockAddrToResource()
168 sockaddr_in6 addr6; in ResourceToSockAddr()
186 char data1[sizeof(sockaddr_in6)]; in IsEquivalentAddress()
187 char data2[sizeof(sockaddr_in6)]; in IsEquivalentAddress()
/external/lldb/source/Host/common/
DSocketAddress.cpp43 SocketAddress::SocketAddress (const struct sockaddr_in6 &s) in SocketAddress()
87 case AF_INET6: return sizeof(struct sockaddr_in6); in GetFamilyLength()
192 SocketAddress::operator=(const struct sockaddr_in6 &s) in operator =()

123456