Searched refs:ipv6 (Results 1 – 5 of 5) sorted by relevance
/system/netd/tests/ |
D | netd_client_test.cpp | 62 ipv6(socket(AF_INET6, SOCK_STREAM | SOCK_CLOEXEC, 0)); in expectHasNetworking() local 64 EXPECT_LE(3, ipv6); in expectHasNetworking() 85 android::base::unique_fd ipv6(socket(AF_INET6, SOCK_STREAM | SOCK_CLOEXEC, 0)); in expectNoNetworking() local 86 EXPECT_EQ(-1, ipv6); in expectNoNetworking()
|
/system/libbase/ |
D | parsenetaddress.cpp | 31 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/client/ |
D | NetdClientTest.cpp | 65 ipv6(socketFuncPtr(AF_INET6, SOCK_STREAM | SOCK_CLOEXEC, 0)); in expectAllowNetworkingForProcess() local 67 EXPECT_LE(3, ipv6); in expectAllowNetworkingForProcess() 81 android::base::unique_fd ipv6(socketFuncPtr(AF_INET6, SOCK_STREAM | SOCK_CLOEXEC, 0)); in expectNotAllowNetworkingForProcess() local 82 EXPECT_EQ(-1, ipv6); in expectNotAllowNetworkingForProcess()
|
/system/netd/libnetdutils/include/netdutils/ |
D | InternetAddresses.h | 117 inline bool usesScopedIds(const in6_addr& ipv6) { in usesScopedIds() argument 118 return (IN6_IS_ADDR_LINKLOCAL(&ipv6) || IN6_IS_ADDR_MC_LINKLOCAL(&ipv6)); in usesScopedIds() 139 explicit IPAddress(const in6_addr& ipv6) in IPAddress() argument 140 : mData({AF_INET6, IPV6_ADDR_BITS, 0U, 0U, {.v6 = ipv6}}) {} in IPAddress() 141 IPAddress(const in6_addr& ipv6, uint32_t scope_id) in IPAddress() argument 146 usesScopedIds(ipv6) ? scope_id : 0U, in IPAddress() 147 {.v6 = ipv6}}) {} in IPAddress()
|
/system/core/rootdir/ |
D | init.rc | 308 write /proc/sys/net/ipv6/fwmark_reflect 1 315 write /proc/sys/net/ipv6/conf/all/accept_redirects 0
|