Michael Brown
3e0286dee3
Move ANSI C standard prototypes to stdlib.h; leave the gPXE-specific
...
function prototypes (e.g. malloc_dma()) in malloc.h.
2006-12-02 20:10:21 +00:00
Michael Brown
4cd56820ea
Basic non-volatile storage support
2006-11-29 02:41:08 +00:00
Michael Brown
70d4b4f7cf
Make the "drive number" option apply to iSCSI as well as AoE
2006-11-29 00:27:10 +00:00
Michael Brown
3234ef1b0b
Merged changes from Solarflare
2006-11-28 13:25:23 +00:00
Michael Brown
74c41fac06
Create "username" and "password" DHCP options, ready for placing this
...
information in NVS.
2006-11-28 02:14:20 +00:00
Michael Brown
3f0b4d9ed8
Updated to use asynchronous operation model for iSCSI requests
...
Added CHAP authentication
2006-11-28 00:29:02 +00:00
Michael Brown
82342e0b8f
Marked memcmp/strcmp as "pure" functions, to allow gcc to optimise
...
away code such as
if ( strcmp ( some_string, "some_value" ) != 0 ) {
DBG ( "Bad value received!" );
}
2006-11-27 23:50:24 +00:00
Michael Brown
c4677c7e73
Implemented realloc(), and changed the semantics of malloc(0) to allow
...
for realloc(0) being a valid way to free memory.
2006-11-24 16:51:18 +00:00
Michael Brown
6a18721ce8
Fixed off-by-one error
2006-11-22 04:54:17 +00:00
Michael Brown
fdaddd969a
Added "name" field to digest algorithms
2006-11-21 16:14:50 +00:00
Michael Brown
d37f82509f
Added debug statements.
...
Don't crash when called on an uninitialised chap structure; this
allows us to avoid extra checks within iscsi.c to make sure that we
receive the CHAP_XXX keys in a sensible order.
2006-11-21 16:14:17 +00:00
Michael Brown
a9415d3da2
Reduce from 157 to 123 bytes
2006-11-21 16:01:12 +00:00
Michael Brown
c5428303e4
Added generic CHAP layer, independent of iSCSI
2006-11-21 13:26:59 +00:00
Michael Brown
57d539aab0
Made it temporarily possible to call MD5 routines directly from external
...
code, rather than going through the digest layer.
Removed a spurious line of constants.
2006-11-15 04:22:22 +00:00
Michael Brown
ea97fe42dd
Note to self: do not write code late at night
2006-11-15 04:16:26 +00:00
Michael Brown
5753f2c58b
May as well add octal support to strtoul()
2006-11-15 02:57:24 +00:00
Michael Brown
bbfb2e02fd
Fixed endp bug in strtoul()
2006-11-15 02:54:28 +00:00
Michael Brown
65ff5357f1
Extend strtoul() to cope with hex as well as decimal. Doesn't cope
...
with octal yet, but we can probably live without that.
2006-11-15 02:52:06 +00:00
Michael Brown
fedc186fd7
Split login into security negotation and operational parameter
...
negotiation phases, to allow inclusion of CHAP authentication.
2006-10-03 09:17:38 +00:00
Michael Brown
b16de6ae66
Inhibit compiler warnings on DBG() when building a non-debug object,
...
while retaining the format string checking.
2006-09-27 11:09:56 +00:00
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.
2006-09-27 10:58:14 +00:00
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
2006-09-27 05:57:06 +00:00
Marty Connor
1da4faa896
include stdio.h to suppress printf warning, general warnings fixups
2006-09-27 04:04:55 +00:00
Marty Connor
757618edea
eth_ntoa and warnings cleanup
2006-09-27 03:05:21 +00:00
Marty Connor
cd8168b071
eth_ntoa cleanup. still has warnings. needs work.
2006-09-27 03:00:21 +00:00
Marty Connor
727a88709e
eth_ntoa and warnings cleanup
2006-09-27 02:18:07 +00:00
Marty Connor
0d1087a5de
eth_ntoa and warnings cleanup
2006-09-27 02:07:59 +00:00
Marty Connor
859cc71158
compilation warnings cleanup
2006-09-26 22:18:00 +00:00
Marty Connor
a02dccdafa
eth_ntoa cleanup
2006-09-26 22:11:45 +00:00
Marty Connor
b88aa51b07
warnings cleanup (still gives lots of compilation warnings from unused functions and missing legacy support)
2006-09-26 22:09:03 +00:00
Marty Connor
9588e20828
warnings cleanup
2006-09-26 22:04:33 +00:00
Marty Connor
e753444e04
compilation warnings cleanup
2006-09-26 21:58:08 +00:00
Marty Connor
cf84605271
eth_ntoa and compilation warnings fixes
2006-09-26 21:33:12 +00:00
Marty Connor
097c1b341d
eth_ntoa fixes
2006-09-26 21:06:29 +00:00
Michael Brown
7952bb76ec
Minor fix
2006-09-25 14:41:54 +00:00
Marty Connor
cce8755fb8
eth_ntoa and warnings fixups, memcpy compilation fix
2006-09-25 09:06:50 +00:00
Marty Connor
d86c080024
eth_ntoa and warnings fixups
2006-09-25 03:52:01 +00:00
Marty Connor
eefac0e258
eth_ntoa and warnings fixups
2006-09-25 03:21:25 +00:00
Marty Connor
d4b060be3b
eth_ntoa and warnings fixups
2006-09-25 02:55:13 +00:00
Marty Connor
f4d0f2e5b5
eth_ntoa and warnings fixups
2006-09-25 02:47:50 +00:00
Marty Connor
9e71390930
eth_ntoa and warnings fixups
2006-09-25 02:41:46 +00:00
Marty Connor
447ed77525
eth_ntoa and warnings fixups
2006-09-25 02:18:11 +00:00
Marty Connor
3ffeffebb2
eth_ntoa and warnings fixups
2006-09-25 02:11:52 +00:00
Marty Connor
c0e91255d0
eth_ntoa fixups
2006-09-20 00:20:37 +00:00
Marty Connor
fe62800bad
eth_ntoa fixups
2006-09-20 00:06:52 +00:00
Marty Connor
637411c2ab
eth_ntoa fixups
2006-09-20 00:00:44 +00:00
Marty Connor
3df3ac72e1
eth_ntoa fixups
2006-09-19 16:33:46 +00:00
Marty Connor
896f871fba
eth_ntoa fixups
2006-09-19 15:58:37 +00:00
Marty Connor
077bbc220a
eth_ntoa fixup
2006-09-19 15:49:57 +00:00
Marty Connor
338a6de549
eth_ntoa fixup, some warnings fixups (isa/pnp fixups still needed)
2006-09-19 15:23:28 +00:00