Home
last modified time | relevance | path

Searched refs:sa6 (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/net/dns/
Ddns_config_service_posix_unittest.cc64 struct sockaddr_in6 *sa6; in InitializeResState() local
65 sa6 = (struct sockaddr_in6 *)malloc(sizeof(*sa6)); in InitializeResState()
66 sa6->sin6_family = AF_INET6; in InitializeResState()
67 sa6->sin6_port = base::HostToNet16(NS_DEFAULTPORT - i); in InitializeResState()
68 inet_pton(AF_INET6, kNameserversIPv6[i], &sa6->sin6_addr); in InitializeResState()
69 res->_u._ext.nsaddrs[i] = sa6; in InitializeResState()
/external/strace/
Dnet.c169 struct sockaddr_in6 sa6; in printsock() member
224 inet_ntop(AF_INET6, &addrbuf.sa6.sin6_addr, string_addr, sizeof(string_addr)); in printsock()
226 ntohs(addrbuf.sa6.sin6_port), string_addr, in printsock()
227 addrbuf.sa6.sin6_flowinfo); in printsock()
232 if (IN6_IS_ADDR_LINKLOCAL(&addrbuf.sa6.sin6_addr) in printsock()
233 || IN6_IS_ADDR_MC_LINKLOCAL(&addrbuf.sa6.sin6_addr)) { in printsock()
236 if (if_indextoname(addrbuf.sa6.sin6_scope_id, scopebuf) == NULL) in printsock()
245 tprintf(", sin6_scope_id=%u", addrbuf.sa6.sin6_scope_id); in printsock()
/external/fdlibm/
Ds_erf.c169 sa6 = 1.08635005541779435134e+02, /* 0x405B28A3, 0xEE48AE2C */ variable
233 sa5+s*(sa6+s*(sa7+s*sa8)))))));
294 sa5+s*(sa6+s*(sa7+s*sa8)))))));
/external/libnl/lib/
Daddr.c645 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) sa; in nl_addr_fill_sockaddr() local
647 if (*salen < sizeof(*sa6)) in nl_addr_fill_sockaddr()
650 sa6->sin6_family = addr->a_family; in nl_addr_fill_sockaddr()
651 memcpy(&sa6->sin6_addr, addr->a_addr, 16); in nl_addr_fill_sockaddr()
652 *salen = sizeof(*sa6); in nl_addr_fill_sockaddr()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientstub.c1266 struct sockaddr_in6 sa6; in handle_addrinfo_response() local
1267 …ckaddr *const sa = (rrtype == kDNSServiceType_A) ? (struct sockaddr*)&sa4 : (struct sockaddr*)&sa6; in handle_addrinfo_response()
1280 memset(&sa6, 0, sizeof(sa6)); in handle_addrinfo_response()
1282 sa6.sin6_len = sizeof(struct sockaddr_in6); in handle_addrinfo_response()
1284 sa6.sin6_family = AF_INET6; in handle_addrinfo_response()
1290 memcpy(&sa6.sin6_addr, rdata, rdlen); in handle_addrinfo_response()
1291 if (IN6_IS_ADDR_LINKLOCAL(&sa6.sin6_addr)) sa6.sin6_scope_id = cbh->cb_interface; in handle_addrinfo_response()
DDebugServices.c2871 struct sockaddr_in6 sa6; in DebugServicesTest() local
2873 memset( &sa6, 0, sizeof( sa6 ) ); in DebugServicesTest()
2874 sa6.sin6_family = AF_INET6; in DebugServicesTest()
2875 p = (uint8_t *) &sa6.sin6_port; in DebugServicesTest()
2878 sa6.sin6_addr.s6_addr[ 0 ] = 0xFE; in DebugServicesTest()
2879 sa6.sin6_addr.s6_addr[ 1 ] = 0x80; in DebugServicesTest()
2880 sa6.sin6_addr.s6_addr[ 15 ] = 0x01; in DebugServicesTest()
2881 sa6.sin6_scope_id = 2; in DebugServicesTest()
2882 DebugSNPrintF( s, sizeof( s ), "%##a", &sa6 ); in DebugServicesTest()
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_recv_thread.c208 struct sockaddr_in6 *sa6;
254 sa6 = (struct sockaddr_in6 *)malloc(sizeof(struct sockaddr_in6));
255 sa6->sin6_family = rtmsg->ifa_family;
256 sa6->sin6_port = 0;
257 memcpy(&sa6->sin6_addr, inp, sizeof(struct in6_addr));
258 sctp_handle_ifamsg(nh->nlmsg_type, rtmsg->ifa_index, (struct sockaddr *)sa6);
/external/llvm/lib/Target/Mips/
DMips16InstrFormats.td562 bits<6> sa6;
569 let Inst{26-22} = sa6{4-0};
570 let Inst{21} = sa6{5};
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_output.c5690 struct sockaddr_in6 sin6, *sa6; local
5728 sa6 = (struct sockaddr_in6 *)sa;
5730 if (SCTP6_ARE_ADDR_EQUAL(sa6, src6)) {
5809 sa6 = (struct sockaddr_in6 *)sa;
5811 sa6, &sin6)) {