Home
last modified time | relevance | path

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

/external/ltp/testcases/network/netstress/
Dnetstress.c69 static const char tcp_tw_reuse[] = "/proc/sys/net/ipv4/tcp_tw_reuse"; variable
149 SAFE_FILE_PRINTF(tcp_tw_reuse, "0"); in do_cleanup()
150 tst_res(TINFO, "unset '%s' back to '0'", tcp_tw_reuse); in do_cleanup()
641 if (access(tcp_tw_reuse, W_OK) < 0) in check_tw_reuse()
646 SAFE_FILE_SCANF(tcp_tw_reuse, "%d", &reuse_value); in check_tw_reuse()
654 SAFE_FILE_PRINTF(tcp_tw_reuse, "1"); in check_tw_reuse()
656 tst_res(TINFO, "set '%s' to '1'", tcp_tw_reuse); in check_tw_reuse()