Michael Brown
a5a330339b
Split DBG() statement containing two inet_ntoa() statements; they
return a static buffer.
vor 18 Jahren
Michael Brown
ce7289a766
Dump buffer and packet information in PXENV_UDP_READ as well
vor 18 Jahren
Michael Brown
6dcb182aee
Fill in BufferSize in PXENV_GET_CACHED_INFO
vor 18 Jahren
Michael Brown
3b2f6e4585
Currently unusable; do not attempt to compile
vor 18 Jahren
Michael Brown
d4894f0127
We *should* use the persistent reference API for our netdev reference,
but there's so much else missing that it's not worth doing right now.
vor 18 Jahren
Michael Brown
84a2b886e1
Split error-message table portions of errno.h out to gpxe/errortab.h
vor 18 Jahren
Michael Brown
88e38fa148
We don't actually have a stdio.h header file. Our printf() functions are
defined in vsprintf.h. (This may change, since vsprintf.h is a
non-standard name, but for now it's the one to use.)
There should be no need to include vsprintf.h just for DBG() statements,
since include/compiler.h forces it in for a debug build anyway.
vor 18 Jahren
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
vor 18 Jahren
Michael Brown
f018da8215
Implement enough of PXENV_GET_CACHED_INFO to support pxelinux.
vor 18 Jahren
Michael Brown
75d26d884a
Added pxe_netdev; a slight hack for now, but will need to be done
properly for the PXE UNDI API anyway.
vor 18 Jahren
Michael Brown
691557281f
Add a couple of small but vital parts to PXENV_UDP_WRITE.
vor 18 Jahren
Michael Brown
71754ada2a
Allow linking by converting functions to stubs
vor 18 Jahren
Michael Brown
17ecfd1d67
Allow linking by converting all functions to stubs
vor 18 Jahren
Michael Brown
ffe0e24249
Make the UDP senddata() methods return a status code.
udp_connect() now follows the standard BSD sockets semantics and simply
sets the default address for outgoing packets; it doesn't filter incoming
packets.
vor 18 Jahren
Michael Brown
a0a872f7f1
Updated PXE UDP implementation to use the new Etherboot UDP API.
Updated PXE API dispatcher to use copy_{to,from}_user, and moved to
arch/i386 since the implementation is quite architecture-dependent.
(The individual PXE API calls can be largely
architecture-independent.)
vor 18 Jahren
Michael Brown
c3e41e6fd1
Added soon-to-be-requisite missing include.
vor 18 Jahren
Michael Brown
832e86246b
gcc is rather over-aggressive about optimising out static data structures
even when __atribute__ (( unused )) is correctly set...
vor 18 Jahren
Michael Brown
b89ccac02d
Updated to remove obsolete constants
vor 18 Jahren
Michael Brown
53a4436d94
TFTP upgraded to use a core function library (in tftpcore.c) which will be
shared between TFTP, TFTM and MTFTP protocols.
vor 19 Jahren
Michael Brown
59582db29d
Documented remainder of PXE TFTP API calls.
vor 19 Jahren
Michael Brown
2ffc960e67
Added diatribe about the mismatch between the PXE spec and the TFTP
protocol, and how we will work around it.
vor 19 Jahren
Michael Brown
97675c7129
Refer to implementation note on IP routing.
vor 19 Jahren
Michael Brown
aeb984a1a9
Thoughts on how to coerce the PXE TFTP API into something resembling
the TFTP protocol.
vor 19 Jahren
Michael Brown
572483cc59
Separate out the documentation of the PXE API from the documentation of
the Etherboot implementation (i.e. don't do what Intel did).
vor 19 Jahren
Michael Brown
0e494614b5
Some versions of doxygen seem to object to "@ret None" or similar.
vor 19 Jahren
Michael Brown
809933d9f7
Split PXE code into preboot, udp, tftp, undi and loader units.
PXE code now compiles without errors (though it won't actually work).
vor 19 Jahren
Michael Brown
8fcb6448bd
Moved pxe_errors.c to pxe/interface/
vor 19 Jahren
Michael Brown
d8f187dc6a
Documented the UDP API calls.
vor 19 Jahren