Searched refs:ackhdr (Results 1 – 1 of 1) sorted by relevance
175 static inline int send_ack(int sock, struct tftphdr_ack *ackhdr) in send_ack() argument177 LOG_DBG("Client acking block number: %d", ntohs(ackhdr->block)); in send_ack()179 return zsock_send(sock, ackhdr, sizeof(struct tftphdr_ack), 0); in send_ack()250 struct tftphdr_ack ackhdr = { in tftp_get() local301 ackhdr.block = htons(block_no); in tftp_get()330 (void)send_ack(sock, &ackhdr); in tftp_get()354 (void)send_ack(sock, &ackhdr); in tftp_get()