Lines Matching refs:retry_max
131 int retry_max; member
226 state->retry_max = (int)timeout/5; in tftp_set_timeouts()
228 if(state->retry_max < 1) in tftp_set_timeouts()
230 state->retry_max = 1; in tftp_set_timeouts()
233 state->retry_time = (int)timeout/state->retry_max; in tftp_set_timeouts()
250 state->retry_max = (int)timeout/5; in tftp_set_timeouts()
253 if(state->retry_max<3) in tftp_set_timeouts()
254 state->retry_max = 3; in tftp_set_timeouts()
256 if(state->retry_max>50) in tftp_set_timeouts()
257 state->retry_max = 50; in tftp_set_timeouts()
260 state->retry_time = (int)(timeout/state->retry_max); in tftp_set_timeouts()
267 state->retry_time, state->retry_max); in tftp_set_timeouts()
469 if(state->retries>state->retry_max) { in tftp_send_first()
682 if(state->retries > state->retry_max) { in tftp_rx()
755 if(state->retries>state->retry_max) { in tftp_tx()
827 if(state->retries > state->retry_max) { in tftp_tx()