Home
last modified time | relevance | path

Searched refs:ipv4 (Results 1 – 15 of 15) sorted by relevance

/system/netd/tests/
Dnetd_client_test.cpp61 android::base::unique_fd ipv4(socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0)), in expectHasNetworking() local
63 EXPECT_LE(3, ipv4); in expectHasNetworking()
82 android::base::unique_fd ipv4(socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0)); in expectNoNetworking() local
83 EXPECT_EQ(-1, ipv4); in expectNoNetworking()
/system/netd/client/
DNetdClientTest.cpp64 android::base::unique_fd ipv4(socketFuncPtr(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0)), in expectAllowNetworkingForProcess() local
66 EXPECT_LE(3, ipv4); in expectAllowNetworkingForProcess()
78 android::base::unique_fd ipv4(socketFuncPtr(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0)); in expectNotAllowNetworkingForProcess() local
79 EXPECT_EQ(-1, ipv4); in expectNotAllowNetworkingForProcess()
/system/netd/server/
DClatdController.cpp157 in_addr_t ipv4 = ntohl(ip.s_addr); in selectIpv4Address() local
158 in_addr_t first_ipv4 = ipv4; in selectIpv4Address()
159 in_addr_t prefix = ipv4 & mask; in selectIpv4Address()
164 if (isIpv4AddressFreeFunc(htonl(ipv4))) { in selectIpv4Address()
165 return htonl(ipv4); in selectIpv4Address()
167 ipv4 = prefix | ((ipv4 + 1) & ~mask); in selectIpv4Address()
168 } while (ipv4 != first_ipv4); in selectIpv4Address()
/system/sepolicy/public/
Ddhcp.te17 # For /proc/sys/net/ipv4/conf/*/promote_secondaries
/system/sepolicy/prebuilts/api/29.0/public/
Ddhcp.te17 # For /proc/sys/net/ipv4/conf/*/promote_secondaries
/system/sepolicy/prebuilts/api/30.0/public/
Ddhcp.te17 # For /proc/sys/net/ipv4/conf/*/promote_secondaries
/system/sepolicy/prebuilts/api/28.0/public/
Ddhcp.te17 # For /proc/sys/net/ipv4/conf/*/promote_secondaries
/system/sepolicy/prebuilts/api/26.0/public/
Ddhcp.te17 # For /proc/sys/net/ipv4/conf/*/promote_secondaries
/system/sepolicy/prebuilts/api/27.0/public/
Ddhcp.te17 # For /proc/sys/net/ipv4/conf/*/promote_secondaries
/system/netd/libnetdutils/include/netdutils/
DInternetAddresses.h137 explicit IPAddress(const in_addr& ipv4) in IPAddress() argument
138 : mData({AF_INET, IPV4_ADDR_BITS, 0U, 0U, {.v4 = ipv4}}) {} in IPAddress()
/system/core/rootdir/
Dinit.rc244 write /proc/sys/net/ipv4/ping_group_range "0 2147483647"
256 write /proc/sys/net/ipv4/fwmark_reflect 1
260 write /proc/sys/net/ipv4/tcp_fwmark_accept 1
263 write /proc/sys/net/ipv4/conf/all/accept_redirects 0
944 chown system system /sys/kernel/ipv4/tcp_wmem_min
945 chown system system /sys/kernel/ipv4/tcp_wmem_def
946 chown system system /sys/kernel/ipv4/tcp_wmem_max
947 chown system system /sys/kernel/ipv4/tcp_rmem_min
948 chown system system /sys/kernel/ipv4/tcp_rmem_def
949 chown system system /sys/kernel/ipv4/tcp_rmem_max
[all …]
/system/sepolicy/prebuilts/api/28.0/private/
Dgenfs_contexts118 genfscon sysfs /kernel/ipv4 u:object_r:sysfs_ipv4:s0
/system/sepolicy/prebuilts/api/29.0/private/
Dgenfs_contexts137 genfscon sysfs /kernel/ipv4 u:object_r:sysfs_ipv4:s0
/system/sepolicy/private/
Dgenfs_contexts145 genfscon sysfs /kernel/ipv4 u:object_r:sysfs_ipv4:s0
/system/sepolicy/prebuilts/api/30.0/private/
Dgenfs_contexts145 genfscon sysfs /kernel/ipv4 u:object_r:sysfs_ipv4:s0