Home
last modified time | relevance | path

Searched refs:sin6 (Results 1 – 8 of 8) sorted by relevance

/system/netd/include/
DFwmarkCommand.h31 sockaddr_in6 sin6; member
42 addr.sin6 = *((struct sockaddr_in6*) saddr); in FwmarkConnectInfo()
/system/netd/server/
DNetdConstants.cpp137 sockaddr_in6 *sin6 = (sockaddr_in6 *) res[0].ai_addr; in parsePrefix() local
138 rawAddress = &sin6->sin6_addr; in parsePrefix()
DSockDiagTest.cpp46 sockaddr_in6 sin6 = { .sin6_family = AF_INET6, .sin6_port = htons(port) }; in bindAndListen() local
47 if (bind(s, (sockaddr *) &sin6, sizeof(sin6)) == 0) { in bindAndListen()
189 sockaddr_in6 *sin6 = (sockaddr_in6 *) sa; in fillDiagAddr() local
190 memcpy(addr, &sin6->sin6_addr, sizeof(sin6->sin6_addr)); in fillDiagAddr()
DDnsProxyListener.cpp629 sockaddr_in6 sin6 = { .sin6_family = AF_INET6, .sin6_addr = *list[i] }; in run() local
630 addIpAddrWithinLimit(ip_addrs, (sockaddr*) &sin6, sizeof(sin6)); in run()
/system/netd/tests/benchmarks/
Dconnect_benchmark.cpp105 sockaddr_in6 sin6 = { .sin6_family = AF_INET6 }; in bindAndListen() local
106 if (bind(s, (sockaddr*) &sin6, sizeof(sin6)) == 0) { in bindAndListen()
/system/netd/tests/
Dsock_diag_test.cpp38 sockaddr_in6 sin6 = { .sin6_family = AF_INET6, .sin6_port = htons(port) }; in bindAndListen() local
39 if (bind(s, (sockaddr *) &sin6, sizeof(sin6)) == 0) { in bindAndListen()
Ddns_tls_test.cpp56 sockaddr_in6* sin6 = reinterpret_cast<sockaddr_in6*>(parsed); in parseServer() local
57 if (inet_pton(AF_INET6, server, &(sin6->sin6_addr)) == 1){ in parseServer()
59 sin6->sin6_family = AF_INET6; in parseServer()
60 sin6->sin6_port = htons(port); in parseServer()
/system/core/libnetutils/
Difc_utils.c298 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) &ss; in ifc_act_on_address() local
299 addr = &sin6->sin6_addr; in ifc_act_on_address()