mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 21:11:03 +03:00
TFTP upgraded to use a core function library (in tftpcore.c) which will be
shared between TFTP, TFTM and MTFTP protocols.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "pxe_types.h"
|
||||
#include "pxe_api.h"
|
||||
#include "etherboot.h"
|
||||
#include "tftp.h"
|
||||
|
||||
/* Union used for PXE API calls; we don't know the type of the
|
||||
* structure until we interpret the opcode. Also, Status is available
|
||||
@@ -88,7 +89,7 @@ typedef struct pxe_stack {
|
||||
uint32_t magic_cookie;
|
||||
unsigned int len;
|
||||
int eof;
|
||||
char data[TFTP_MAX_PACKET];
|
||||
char data[TFTP_MAX_BLKSIZE];
|
||||
} tftpdata;
|
||||
struct {
|
||||
char *buffer;
|
||||
|
||||
Reference in New Issue
Block a user