| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Provide weak stubs for the case where the tftp functions aren't
available. This prevents link failures for the case of running on top
of non-network cores.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The libupload was using the pxe_call() directly for doing the tftp
uploading stuff. This was only working with pxelinux.
Since we do have lpxelinux, the libupload should use the core functions
to get rid of thoses direct PXE calls.
This patch does
- add a tftp_put() function which supports core functions.
- implement the call from libupload making the code much more simplier
As a result {l}pxelinux can upload data to a tftp server is a similar
way. HDT is getting the benefit of such code.
|
|
|
|
|
|
|
| |
We don't need tftp_pktbuf for the TCP-based protocols, so allocate it
on demand. It should be possible to get rid of it for TFTP as well.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
Use the unified URL parsing framework for TFTP and HTTP. This should
also make it easier to add new protocols (e.g. FTP) in the near
future.
Note that HTTP redirects are still handled wrong: they really should
be sent all the way back to the top of URL parsing; there are sites in
the field which redirect to FTP URLs, for example.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|