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/libnetdutils/
DInternetAddresses.cpp79 sockaddr_in6* sin6 = (sockaddr_in6*) res[0].ai_addr; in forString() local
80 if (ip) *ip = IPAddress(sin6->sin6_addr, sin6->sin6_scope_id); in forString()
/system/netd/tests/benchmarks/
Dconnect_benchmark.cpp83 sockaddr_in6 sin6 = { .sin6_family = AF_INET6 }; in bindAndListen() local
84 if (bind(s, (sockaddr*) &sin6, sizeof(sin6)) == 0) { in bindAndListen()
/system/netd/server/
DNetdConstants.cpp129 sockaddr_in6 *sin6 = (sockaddr_in6 *) res[0].ai_addr; in parsePrefix() local
130 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()
191 sockaddr_in6 *sin6 = (sockaddr_in6 *) sa; in fillDiagAddr() local
192 memcpy(addr, &sin6->sin6_addr, sizeof(sin6->sin6_addr)); in fillDiagAddr()
DClatdController.cpp206 sockaddr_in6 sin6 = {.sin6_family = AF_INET6, .sin6_addr = nat64Prefix}; in generateIpv6Address() local
207 if (connect(s, reinterpret_cast<struct sockaddr*>(&sin6), sizeof(sin6)) == -1) { in generateIpv6Address()
211 socklen_t len = sizeof(sin6); in generateIpv6Address()
212 if (getsockname(s, reinterpret_cast<struct sockaddr*>(&sin6), &len) == -1) { in generateIpv6Address()
216 *v6 = sin6.sin6_addr; in generateIpv6Address()
/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()
/system/core/libnetutils/
Difc_utils.c296 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) &ss; in ifc_act_on_address() local
297 addr = &sin6->sin6_addr; in ifc_act_on_address()