Searched refs:optmem_file (Results 1 – 1 of 1) sorted by relevance
296 static const char *optmem_file = "/proc/sys/net/core/optmem_max"; variable305 optmem_ns = !access(optmem_file, F_OK); in is_optmem_namespaced()319 foptmem = fopen(optmem_file, "r"); in test_get_optmem()321 test_error("failed to open %s", optmem_file); in test_get_optmem()324 test_error("can't read from %s", optmem_file); in test_get_optmem()341 foptmem = fopen(optmem_file, "w"); in __test_set_optmem()343 test_error("failed to open %s", optmem_file); in __test_set_optmem()346 test_error("can't write %zu to %s", new, optmem_file); in __test_set_optmem()