Home
last modified time | relevance | path

Searched refs:ipv6 (Results 1 – 4 of 4) sorted by relevance

/system/core/adb/sysdeps/posix/
Dnetwork.cpp53 static int _network_loopback_client(bool ipv6, int port, int type, std::string* error) { in _network_loopback_client() argument
54 unique_fd s(socket(ipv6 ? AF_INET6 : AF_INET, type, 0)); in _network_loopback_client()
62 sockaddr* addr = (ipv6 ? loopback_addr6 : loopback_addr4)(&addr_storage, &addrlen, 0); in _network_loopback_client()
69 addr = (ipv6 ? loopback_addr6 : loopback_addr4)(&addr_storage, &addrlen, port); in _network_loopback_client()
88 static int _network_loopback_server(bool ipv6, int port, int type, std::string* error) { in _network_loopback_server() argument
89 unique_fd s(socket(ipv6 ? AF_INET6 : AF_INET, type, 0)); in _network_loopback_server()
100 sockaddr* addr = (ipv6 ? loopback_addr6 : loopback_addr4)(&addr_storage, &addrlen, port); in _network_loopback_server()
/system/core/base/
Dparsenetaddress.cpp31 bool ipv6 = true; in ParseNetAddress() local
50 ipv6 = false; in ParseNetAddress()
75 StringPrintf(ipv6 ? "[%s]:%d" : "%s:%d", host->c_str(), *port); in ParseNetAddress()
/system/core/adb/
Dtest_adb.py219 ipv6 = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
220 ipv6.bind(('::1', ipv4.getsockname()[1] + 1))
221 ipv6.listen(1)
223 for s in (ipv4, ipv6):
/system/core/rootdir/
Dinit.rc142 write /proc/sys/net/ipv6/fwmark_reflect 1
149 write /proc/sys/net/ipv6/conf/all/accept_redirects 0