mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 12:00:19 +03:00
Added TFTP test code (currently just dumps file to console).
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user