summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/tftp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gpxe/tftp.h b/src/include/gpxe/tftp.h
index e5c599bc0..68589b524 100644
--- a/src/include/gpxe/tftp.h
+++ b/src/include/gpxe/tftp.h
@@ -119,6 +119,12 @@ struct tftp_session {
* (i.e. that no blocks have yet been received).
*/
int state;
+ /** Requested data block size
+ *
+ * This is the "blksize" option requested from the TFTP
+ * server. It may or may not be honoured.
+ */
+ unsigned int request_blksize;
/** Data block size
*
* This is the "blksize" option negotiated with the TFTP
@@ -140,4 +146,8 @@ struct tftp_session {
struct retry_timer timer;
};
+/* Function prototypes */
+
+extern struct async_operation * tftp_get ( struct tftp_session *tftp );
+
#endif /* _GPXE_TFTP_H */