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
..
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-04-24 14:41:32 +01:00
2015-04-24 15:32:04 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:29 +00:00
2015-03-02 14:17:31 +00:00
2015-08-16 00:48:34 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:37 +00:00
2015-03-02 16:35:29 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-07-22 21:17:47 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:50:42 +00:00
2015-07-22 21:17:47 +01:00
2015-03-02 14:17:31 +00:00
2015-03-05 11:40:13 +00:00
2015-06-29 16:44:16 +01:00
2015-03-05 11:40:13 +00:00
2015-03-05 11:40:13 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:50:42 +00:00
2011-06-28 14:45:11 +01:00
2005-03-08 18:53:11 +00:00
2015-08-21 16:25:11 +01:00
2015-03-02 14:17:31 +00:00
2015-07-22 21:17:47 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-07-28 16:59:11 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-08-21 15:46:28 +01:00
2015-03-03 15:24:15 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2010-04-19 23:43:39 +01:00
2015-03-02 14:50:42 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2011-03-09 20:09:26 +00:00
2012-03-26 14:43:52 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-07-28 16:37:00 +01:00
2015-03-02 16:35:29 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:29 +00:00
2015-03-02 16:35:29 +00:00
2015-06-29 11:04:10 +01:00
2015-08-25 13:31:46 +01:00
2015-03-02 14:17:31 +00:00
2015-02-16 16:25:20 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:29 +00:00
2015-07-31 11:19:19 +01:00
2015-09-02 13:38:53 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 16:35:29 +00:00
2015-03-02 14:17:31 +00:00
2015-07-22 21:17:47 +01:00
2015-07-27 15:21:17 +01:00