Home
last modified time | relevance | path

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

/system/core/adb/sysdeps/posix/
Dnetwork.cpp58 static int _network_loopback_client(bool ipv6, int port, int type, std::string* error) { in _network_loopback_client() argument
59 unique_fd s(socket(ipv6 ? AF_INET6 : AF_INET, type, 0)); in _network_loopback_client()
67 sockaddr* addr = (ipv6 ? loopback_addr6 : loopback_addr4)(&addr_storage, &addrlen, 0); in _network_loopback_client()
74 addr = (ipv6 ? loopback_addr6 : loopback_addr4)(&addr_storage, &addrlen, port); in _network_loopback_client()
93 static int _network_loopback_server(bool ipv6, int port, int type, std::string* error) { in _network_loopback_server() argument
94 unique_fd s(socket(ipv6 ? AF_INET6 : AF_INET, type, 0)); in _network_loopback_server()
105 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/netd/libnetdutils/include/netdutils/
DInternetAddresses.h107 inline bool usesScopedIds(const in6_addr& ipv6) { in usesScopedIds() argument
108 return (IN6_IS_ADDR_LINKLOCAL(&ipv6) || IN6_IS_ADDR_MC_LINKLOCAL(&ipv6)); in usesScopedIds()
129 explicit IPAddress(const in6_addr& ipv6) in IPAddress() argument
130 : mData({AF_INET6, IPV6_ADDR_BITS, 0U, 0U, {.v6 = ipv6}}) {} in IPAddress()
131 IPAddress(const in6_addr& ipv6, uint32_t scope_id) in IPAddress() argument
136 usesScopedIds(ipv6) ? scope_id : 0U, in IPAddress()
137 {.v6 = ipv6}}) {} in IPAddress()
/system/netd/resolv/
DDns64Configuration.cpp177 const IPAddress ipv6(reinterpret_cast<sockaddr_in6*>(result->ai_addr)->sin6_addr); in doRfc7050PrefixDiscovery() local
179 cfg->prefix64 = IPPrefix(ipv6, 96); in doRfc7050PrefixDiscovery()
/system/core/rootdir/
Dinit.rc158 write /proc/sys/net/ipv6/fwmark_reflect 1
165 write /proc/sys/net/ipv6/conf/all/accept_redirects 0