Pārlūkot izejas kodu

Documented the purpose of the two timeout fields in

s_PXENV_TFTP_READ_FILE.
tags/v0.9.3
Michael Brown 19 gadus atpakaļ
vecāks
revīzija
92f1a5c677
1 mainītis faili ar 11 papildinājumiem un 2 dzēšanām
  1. 11
    2
      src/include/pxe_api.h

+ 11
- 2
src/include/pxe_api.h Parādīt failu

@@ -646,9 +646,18 @@ struct s_PXENV_TFTP_READ_FILE {
646 646
 	UDP_PORT_t TFTPClntPort;
647 647
 	/** Server multicast listening port */
648 648
 	UDP_PORT_t TFTPSrvPort;
649
-	/** Timeout for receiving data or ACK packets */
649
+	/** TFTP open timeout.
650
+	 *
651
+	 * This is the timeout for receiving the first DATA or ACK
652
+	 * packets during the MTFTP Listen phase.
653
+	 */
650 654
 	UINT16_t TFTPOpenTimeOut;
651
-	/** Timeout before issuing MTFTP open */
655
+	/** TFTP reopen timeout.
656
+	 *
657
+	 * This is the timeout for receiving an ACK packet while in
658
+	 * the MTFTP Listen phase (when at least one ACK packet has
659
+	 * already been seen).
660
+	 */
652 661
 	UINT16_t TFTPReopenDelay;
653 662
 } PACKED;
654 663
 

Notiek ielāde…
Atcelt
Saglabāt