Searched refs:sin6 (Results 1 – 8 of 8) sorted by relevance
/system/netd/include/ |
D | FwmarkCommand.h | 31 sockaddr_in6 sin6; member 42 addr.sin6 = *((struct sockaddr_in6*) saddr); in FwmarkConnectInfo()
|
/system/netd/server/ |
D | NetdConstants.cpp | 137 sockaddr_in6 *sin6 = (sockaddr_in6 *) res[0].ai_addr; in parsePrefix() local 138 rawAddress = &sin6->sin6_addr; in parsePrefix()
|
D | SockDiagTest.cpp | 46 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()
|
D | DnsProxyListener.cpp | 629 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/ |
D | connect_benchmark.cpp | 105 sockaddr_in6 sin6 = { .sin6_family = AF_INET6 }; in bindAndListen() local 106 if (bind(s, (sockaddr*) &sin6, sizeof(sin6)) == 0) { in bindAndListen()
|
/system/netd/tests/ |
D | sock_diag_test.cpp | 38 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()
|
D | dns_tls_test.cpp | 56 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/ |
D | ifc_utils.c | 298 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) &ss; in ifc_act_on_address() local 299 addr = &sin6->sin6_addr; in ifc_act_on_address()
|