opengnsys_ipxe/src
Michael Brown 53d2d9e3c3 [uri] Generalise tftp_uri() to pxe_uri()
Merge the functionality of parse_next_server_and_filename() and
tftp_uri() into a single pxe_uri(), which takes a server address
(IPv4/IPv6/none) and a filename, and produces a URI using the rule:

 - if the filename is a hierarchical absolute URI (i.e. includes a
   scheme such as "http://" or "tftp://") then use that URI and ignore
   the server address,

 - otherwise, if the server address is recognised (according to
   sa_family) then construct a TFTP URI based on the server address,
   port, and filename

 - otherwise fail.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-09-02 13:38:53 +01:00
..
arch [uri] Generalise tftp_uri() to pxe_uri() 2015-09-02 13:38:53 +01:00
bin Rename .cvsignore files to .gitignore 2007-06-09 22:57:00 +01:00
config [peerdist] Add support for PeerDist (aka BranchCache) HTTP content encoding 2015-08-17 13:24:40 +01:00
core [uri] Generalise tftp_uri() to pxe_uri() 2015-09-02 13:38:53 +01:00
crypto [crypto] Support SHA-{224,384,512} in X.509 certificates 2015-08-02 16:54:24 +01:00
doc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
drivers [efi] Remove raw EFI_HANDLE values from debug messages 2015-08-27 15:40:44 +01:00
hci [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-05 11:40:13 +00:00
image [elf] Reject ELFBoot images requiring virtual addressing 2015-07-29 14:17:09 +01:00
include [uri] Generalise tftp_uri() to pxe_uri() 2015-09-02 13:38:53 +01:00
interface [efi] Do not return EFI_NOT_READY from our ReceiveFilters() method 2015-09-01 21:24:02 +01:00
libgcc [build] Mark __intel_new_proc_init with __libgcc rather than cdecl 2009-08-03 15:56:10 +01:00
net [pxe] Populate ciaddr in fake PXE Boot Server ACK packet 2015-09-01 21:24:02 +01:00
tests [uri] Generalise tftp_uri() to pxe_uri() 2015-09-02 13:38:53 +01:00
usr [uri] Generalise tftp_uri() to pxe_uri() 2015-09-02 13:38:53 +01:00
util [build] Search for ldlinux.c32 separately from isolinux.bin 2015-09-01 21:04:44 +01:00
.gitignore [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
Makefile [crypto] Support SHA-{224,384,512} in X.509 certificates 2015-08-02 16:54:24 +01:00
Makefile.housekeeping [build] Fix .ids.o creation for drivers not in the all-drivers build 2015-06-01 16:55:57 +01:00
doxygen.cfg [build] Remove PACKED macro 2010-05-29 23:49:47 +01:00