Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-sysctl-util.c53 assert_se(sysctl_read_ip_property(AF_INET, "lo", "forwarding", &s)); in TEST()
60 assert_se(sysctl_read_ip_property(AF_INET, NULL, "ip_forward", &s)); in TEST()
/systemd-251/src/basic/
Dsysctl-util.h16 int sysctl_read_ip_property(int af, const char *ifname, const char *property, char **ret);
Dsysctl-util.c120 int sysctl_read_ip_property(int af, const char *ifname, const char *property, char **ret) { in sysctl_read_ip_property() function
Dsocket-util.c310 r = sysctl_read_ip_property(AF_INET6, "all", "disable_ipv6", &v); in socket_ipv6_is_enabled()
/systemd-251/src/network/
Dnetworkd-route-util.c27 if (sysctl_read_ip_property(AF_INET, NULL, "route/max_size", &s4) >= 0) in routes_max()
32 if (sysctl_read_ip_property(AF_INET6, NULL, "route/max_size", &s6) >= 0) in routes_max()