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:
Michael Brown
2005-06-01 13:13:05 +00:00
parent 0b048e9cfb
commit 53a4436d94
8 changed files with 256 additions and 199 deletions

View File

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