Lines Matching refs:NAK
190 #define NAK 21 /* target block negative ack */
944 if (c == NAK)
967 * sends a NAK reply to host. If BootROM does not receive any byte for
969 * away the partially received xmodem data and sends NAK reply to host.
997 /* flush remaining NAK replies from input queue */
1189 return c == ACK || c == NAK;
1201 case NAK:
1256 *c = NAK;
1261 if (*c == NAK && ignore_nak_reply) {
1340 if (c == NAK && allow_retries && retries + 1 < 16)
1345 } while (c == NAK && allow_retries && retries++ < 16);
1383 } while (c == NAK && retries++ < 16);
1418 * itself sent NAK response to previous attempt (it does it on
1421 * sent NAK to previous attempt - there is absolutely no way to
1423 * data part upload. Also, if kwboot receives non-ACK/NAK