Home | History | Annotate | Download | only in tftpd

Lines Matching refs:ACK

113 static int	broadcast_client = 0; /* Some clients ack to the broadcast address */
448 blk_handler(struct tftphdr *tp, const char *val, char *ack, size_t asize,
481 if (asize > *ackl && (l = snprintf(ack + *ackl, asize - *ackl,
493 timeout_handler(struct tftphdr *tp, const char *val, char *ack, size_t asize,
521 if (asize > *ackl && (l = snprintf(ack + *ackl, asize - *ackl,
542 tsize_handler(struct tftphdr *tp, const char *val, char *ack, size_t asize,
694 * in the ack buf to acknowledge them. If we skip that, then
932 case ACK:
933 return "ACK";
952 struct tftphdr *ap; /* ack packet */
991 alarm(rexmtval); /* read the ack */
1005 case ACK:
1015 syslog(LOG_DEBUG, "Resync ACK %u != %u",
1030 syslog(LOG_DEBUG, "Received ACK for block %u", block);
1055 struct tftphdr *ap; /* ack buffer */
1067 ap->th_opcode = htons((u_short)ACK);
1072 syslog(LOG_DEBUG, "Sending ACK for block %u\n", block);
1136 ap->th_opcode = htons((u_short)ACK); /* send the "final" ack */
1139 syslog(LOG_DEBUG, "Send final ACK %u", block);
1148 block == dp->th_block) { /* then my last ack was lost */
1149 (void) sendto(peer, ackbuf, 4, 0, (struct sockaddr *)&from, fromlen); /* resend final ack */