| 2051 | } |
| 2052 | |
| 2053 | int |
| 2054 | iperf_set_send_state(struct iperf_test *test, signed char state) |
| 2055 | { |
| 2056 | if (test->ctrl_sck >= 0) { |
| 2057 | iperf_set_test_state(test, state); |
| 2058 | if (Nwrite(test->ctrl_sck, (char*) &state, sizeof(state), Ptcp) < 0) { |
| 2059 | i_errno = IESENDMESSAGE; |
| 2060 | return -1; |
| 2061 | } |
| 2062 | } |
| 2063 | return 0; |
| 2064 | } |
| 2065 | |
| 2066 | void |
| 2067 | iperf_check_throttle(struct iperf_stream *sp, struct iperf_time *nowP) |
no test coverage detected
searching dependent graphs…