Просмотр исходного кода

Documented the purpose of the two timeout fields in

s_PXENV_TFTP_READ_FILE.
tags/v0.9.3
Michael Brown 19 лет назад
Родитель
Сommit
92f1a5c677
1 измененных файлов: 11 добавлений и 2 удалений
  1. 11
    2
      src/include/pxe_api.h

+ 11
- 2
src/include/pxe_api.h Просмотреть файл

@@ -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
 

Загрузка…
Отмена
Сохранить