Home
last modified time | relevance | path

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

/openbmc/u-boot/net/
H A Dtftp.c85 static int tftp_state; variable
321 switch (tftp_state) { in tftp_send()
327 *s++ = htons(tftp_state == STATE_SEND_RRQ ? TFTP_RRQ : in tftp_send()
424 if (tftp_state != STATE_SEND_RRQ && src != tftp_remote_port && in tftp_handler()
425 tftp_state != STATE_RECV_WRQ && tftp_state != STATE_SEND_WRQ) in tftp_handler()
478 tftp_state = STATE_OACK; in tftp_handler()
505 tftp_state = STATE_DATA; in tftp_handler()
519 if (tftp_state == STATE_SEND_RRQ) in tftp_handler()
522 if (tftp_state == STATE_SEND_RRQ || tftp_state == STATE_OACK || in tftp_handler()
523 tftp_state == STATE_RECV_WRQ) { in tftp_handler()
[all …]