Searched refs:sysctl_read_ip_property (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/test/ |
D | test-sysctl-util.c | 53 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/ |
D | sysctl-util.h | 16 int sysctl_read_ip_property(int af, const char *ifname, const char *property, char **ret);
|
D | sysctl-util.c | 120 int sysctl_read_ip_property(int af, const char *ifname, const char *property, char **ret) { in sysctl_read_ip_property() function
|
D | socket-util.c | 310 r = sysctl_read_ip_property(AF_INET6, "all", "disable_ipv6", &v); in socket_ipv6_is_enabled()
|
/systemd-251/src/network/ |
D | networkd-route-util.c | 27 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()
|