Michael Brown
934b70d62c
Apply global DHCP options when register_dhcp_options() is called. Do
not apply DHCP options in dhcp_configure_netdev().
17 years ago
Michael Brown
1567b69895
Add concept of DHCP option applicators.
17 years ago
Michael Brown
539ff45fd0
Allow recording of TX and RX errors to aid in end-user debugging.
17 years ago
Michael Brown
8156f6bd19
Switch compiler warning on tcp_open() to a #warning
17 years ago
Michael Brown
a5f33ea283
Added missing line to set return status code.
17 years ago
Michael Brown
fd86c819ba
Use a linker-table based system to automatically mark and start up
permanent processes, rather than requiring each one to have its own
initialisation function.
17 years ago
Marty Connor
c77704cb60
Warnings purge: src/{crypto,hci,net}
17 years ago
Michael Brown
0924cf678e
Implemented (untested) PXENV_START_UNDI.
17 years ago
Michael Brown
5b52630a9c
Never attempt to route the broadcast address.
17 years ago
Michael Brown
4968caab82
Add trivial net device statistics (TX and RX packet count), reported
via UNDI API and also by ifstat command; may be useful for debugging.
17 years ago
Marty Connor
f04899bf6c
Warnings purge
17 years ago
Michael Brown
332614a382
Add untested support for UNDI transmit and receive.
17 years ago
Michael Brown
d7e471f654
Improve debugging
17 years ago
Michael Brown
3bf5eb49d0
Can't use strncpy() to copy strings that aren't NUL-terminated to
begin with.
17 years ago
Michael Brown
acd598b4f9
Don't build option-overloaded packets; they just confuse people (ISC
DHCPD and Windows RIS in particular).
17 years ago
Michael Brown
c73bff7ae5
Set current working URI based on TFTP server specified by DHCP.
17 years ago
Michael Brown
d465ae9785
Bugfix: iobuf->data always points to the start of the allocated
portion, not to the bit we want to currently write to...
17 years ago
Michael Brown
5de837cc67
Mildly ugly hack to force correct linkage.
17 years ago
Michael Brown
1ec7bb789d
Add dhcp_configure_netdev()
17 years ago
Michael Brown
cf33b568dc
Forgot to set initial session state. Now works!
17 years ago
Michael Brown
73fe1ba9dd
Kill off job::start() (it was only ever added as part of an aborted
attempt at triggering TCP-related protocols to start).
17 years ago
Michael Brown
07dc294de8
Update DHCP to use data-xfer interface (not yet tested).
17 years ago
Michael Brown
f77815f2b1
Kill off hotplug.h and just make net devices normal reference-counted
structures.
DHCP still broken and #if 0'd out.
17 years ago
Michael Brown
e381714c07
Partial migration of UDP to data-xfer interface. (Will not link at
present; DHCP is broken).
17 years ago
Michael Brown
2d4c72b762
Remove unused headers.
17 years ago
Michael Brown
f87bc837f4
Updated DNS to use not-yet-implemented UDP data-xfer API.
17 years ago
Michael Brown
01b4bde8a0
Updated TFTP and PXE UDP API code to use not-yet-implemented data-xfer
UDP API.
17 years ago
Michael Brown
95adce0ce1
Add concept of transfer metadata, to be used by UDP in order to
implement sendto()/recvfrom() equivalents.
17 years ago
Michael Brown
335b99a39d
Move [v]ssnprintf() from iscsi.c into vsprintf.c; we need them
elsewhere as well.
17 years ago
Michael Brown
4ccd1e8198
Should call ftp_done() if constructor fails.
17 years ago
Michael Brown
735e07268e
Update HTTP to use data-xfer interface.
17 years ago
Michael Brown
0dfd5b84fd
Updated FTP to use data-xfer API.
17 years ago
Michael Brown
3acd51597a
Add sanity check and extra debug message
17 years ago
Michael Brown
63719deea9
Introduce name resolution interface and named socket opener.
17 years ago
Michael Brown
1311b4194c
Eliminate PF_INET; just use the AF_INET from the struct sockaddr instead.
17 years ago
Michael Brown
b8618d76db
Modify data-xfer semantics: it is no longer necessary to call one of
request(), seek() or deliver_xxx() in order to start the data flow.
Autonomous generators must be genuinely autonomous (having their own
process), or otherwise arrange to be called. TCP does this by
starting the retry timer immediately.
Add some debugging statements.
17 years ago
Michael Brown
3601103381
Modify process semantics; rescheduling is now automatic.
Add reference-counting to processes.
Add timer_running() test.
17 years ago
Michael Brown
1136c19fa4
Updated tcp.c to provide a standardised data transfer interface.
17 years ago
Michael Brown
776357214e
Rename pkbpad.c to iobpad.c
17 years ago
Michael Brown
3e2c6b6736
pkbuff->iobuf changeover
Achieved via Perl using:
perl -pi -e 's/pk_buff/io_buffer/g; s/Packet buffer/I\/O buffer/ig; ' \
-e 's/pkbuff\.h/iobuf.h/g; s/pkb_/iob_/g; s/_pkb/_iob/g; ' \
-e 's/pkb/iobuf/g; s/PKB/IOB/g;'
17 years ago
Anselm Martin Hoffmeister
ed7dc02a95
hoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewise
output buffering defintions and the like)
17 years ago
Anselm Martin Hoffmeister
ff5aac826a
hoffmeis: Fixing situation where absence of a newdata() handler for UDP
connections might break things. Only-sending applications like syslog()
do not need a newdata() handler, so added a check if that handler exists.
17 years ago
Michael Brown
520d9c36af
Updated ISAPnP, EISA, MCA and ISA buses to current device model.
ISA 3c509 is currently non-functional, although the EISA (3c509-eisa) and
MCA (3c529) variants should build OK.
None of this code is yet tested.
17 years ago
Michael Brown
af3149d18e
Allow queries in GET requests
18 years ago
Michael Brown
3fd10074d8
SSL needs quite a lot of spare memory
18 years ago
Michael Brown
2c67167929
Don't pass through zero-length requests
18 years ago
Michael Brown
a3695b1ff6
Placeholder for TLS insertion
18 years ago
Michael Brown
2d726144f7
Filter insertion now actually works
18 years ago
Michael Brown
138967dd6b
Tidy up debug messages
18 years ago
Michael Brown
e38e516463
Add insert_filter() function
18 years ago