david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/tests
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
..
comboot [comboot] Add COMBOOT and COM32 support 2008-08-28 23:52:19 +01:00
aes_test.c [test] Add NIST self-tests for AES192 in ECB and CBC modes 2015-07-27 17:25:37 +01:00
base16_test.c [base16] Add buffer size parameter to base16_encode() and base16_decode() 2015-04-24 14:41:32 +01:00
base64_test.c [base64] Add buffer size parameter to base64_encode() and base64_decode() 2015-04-24 15:32:04 +01:00
bigint_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
bofm_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
byteswap_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
cipher_test.c [test] Generalise cipher tests and use okx() 2015-07-27 16:04:38 +01:00
cipher_test.h [test] Generalise cipher tests and use okx() 2015-07-27 16:04:38 +01:00
cms_test.c [build] Fix the REQUIRE_SYMBOL mechanism 2015-03-05 00:59:38 +00:00
crc32_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
deflate_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
digest_test.c [test] Simplify digest algorithm self-tests 2015-04-12 17:01:10 +01:00
digest_test.h [test] Simplify digest algorithm self-tests 2015-04-12 17:01:10 +01:00
dns_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
entropy_sample.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
gdbstub_test.S [i386] Add explicit flags and type on all .section declarations 2009-02-15 10:59:53 +00:00
gdbstub_test.gdb [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
hash_df_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
hmac_drbg_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
ipv4_test.c [ipv4] Redefine IP address constants to avoid unnecessary byte swapping 2015-07-28 13:48:29 +01:00
ipv6_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
linebuf_test.c [linebuf] Support buffering of multiple lines 2015-07-28 16:59:11 +01:00
list_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
math_test.c [libc] Add ffs(), ffsl(), and ffsll() 2015-03-16 15:40:53 +00:00
md5_test.c [test] Simplify digest algorithm self-tests 2015-04-12 17:01:10 +01:00
memcpy_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
memset_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
ocsp_test.c [build] Fix the REQUIRE_SYMBOL mechanism 2015-03-05 00:59:38 +00:00
pccrc_test.c [peerdist] Include trimmed range within content information block 2015-07-28 15:22:26 +01:00
pixbuf_test.c [image] Detect image type when image is first registered 2015-08-21 16:25:11 +01:00
pixbuf_test.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
png_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
pnm_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
profile_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
pubkey_test.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
rsa_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
setjmp_test.c [test] Add setjmp()/longjmp() self-tests 2015-04-07 06:40:46 +01:00
settings_test.c [settings] Re-add "uristring" setting type 2015-08-25 13:31:46 +01:00
sha1_test.c [test] Simplify digest algorithm self-tests 2015-04-12 17:01:10 +01:00
sha256_test.c [crypto] Add SHA-224 algorithm 2015-04-12 17:01:10 +01:00
sha512_test.c [crypto] Add SHA-512/224 algorithm 2015-04-12 17:02:11 +01:00
string_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
tcpip_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
tests.c [linebuf] Support buffering of multiple lines 2015-07-28 16:59:11 +01:00
time_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
umalloc_test.c [ioapi] Move get_memmap() to the I/O API group 2010-08-16 16:54:03 +01:00
uri_test.c [uri] Generalise tftp_uri() to pxe_uri() 2015-09-02 13:38:53 +01:00
vsprintf_test.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
x509_test.c [build] Fix the REQUIRE_SYMBOL mechanism 2015-03-05 00:59:38 +00:00