Michael Brown
05b284399e
Moved old tcp.h to old_tcp.h, to avoid name clash with new (uIP-based)
tcp.h.
преди 18 години
Michael Brown
531371efa2
Removed to make way for the uIP-based tcp.c.
преди 18 години
Michael Brown
dde1c5ad18
Moved include/in.h to include/gpxe/in.h, so that it can be included by
prototester.
преди 18 години
Michael Brown
b2c94b32fc
Make the application state a void *.
преди 18 години
Michael Brown
bb37bd47f8
Added from uip-0.9/uip/uip_arp.[ch]
преди 18 години
Michael Brown
417e896f0a
Remove htons(); it is provided elsewhere in Etherboot
преди 18 години
Michael Brown
1c7c24f21f
Basic, functional-but-extremely-pessimal versions (taken from
uip-0.9/unix/uip_arch.c).
преди 18 години
Michael Brown
0e611719d2
Add uip on HEAD; it's safe to build, since nothing links against it at the
moment.
преди 18 години
Michael Brown
7d8adc25bc
In multicast operation, the client still has a unicast local port.
преди 19 години
Michael Brown
f242f56a73
Rewritten to use the functions in tftpcore.c.
Works with a non-multicast TFTP server (i.e. the fallback path works
fine).
преди 19 години
Michael Brown
be7897523d
IGMP protocol now uses the generic background protocol mechanism.
преди 19 години
Michael Brown
e0cf144218
IGMP functions separated out from nic.c
преди 19 години
Michael Brown
698e87277f
Don't try to fetch another packet once we've reached EOF.
преди 19 години
Michael Brown
fa17bf0917
Make rfc2090 multicast option optional
преди 19 години
Michael Brown
f2198e8a65
Don't choke on duplicate OACK packets.
Make await_tftp() static and create tftp_get() for fetching the next TFTP
packet instead.
преди 19 години
Michael Brown
c8d6c4864f
Doxygenation
преди 19 години
Michael Brown
53a4436d94
TFTP upgraded to use a core function library (in tftpcore.c) which will be
shared between TFTP, TFTM and MTFTP protocols.
преди 19 години
Michael Brown
0b048e9cfb
Now have enough functions to implement a standard TFTP client in around 50
lines of code.
преди 19 години
Michael Brown
7d63b39e3d
Add tftp_ack() and tftp_error()
преди 19 години
Michael Brown
8ae966720d
First version
преди 19 години
Michael Brown
7b423c0988
Fixes for gcc >= 3.2 from Georg Baum
преди 19 години
Michael Brown
75a5374d79
Quickly hacked to use a buffer rather than a processor.
These don't yet take advantage of the buffer functionality.
преди 19 години
Michael Brown
5fce946de4
Update to use buffer rather than processor
преди 19 години
Michael Brown
5ae60bd95d
Updated to use buffer rather than processor
преди 19 години
Michael Brown
a5f2942587
Add twiddle() so that progress is visible.
преди 19 години
Michael Brown
0fe74493f4
Protocols now load data into a buffer; they don't execute it.
преди 19 години
Michael Brown
4ed412f1c2
Updated to use new URL parser and new protocol API.
Sort of works; the HTTP stuff is fine but the TCP code seems to be
broken; it doesn't ACK the packets and just hands us the retransmitted
packets instead.
преди 19 години
Michael Brown
a918abc036
Split TCP code out into proto/tcp.c
преди 19 години
Michael Brown
f14af3d95c
Protocol structure can now specify the default port.
преди 19 години
Michael Brown
17bb10479d
Protocol names are x-slam and x-tftm
преди 19 години
Michael Brown
6afffc0771
Updated to protocol API
преди 19 години
Michael Brown
5c2e5557f0
Updated to protocol API
преди 19 години
Michael Brown
3af0af65a0
Updated to new protocol API, made to compile.
преди 19 години
Michael Brown
85d9eae44e
Moved protocols to proto/
преди 19 години
Michael Brown
0cfcd91558
Abort immediately if no nameserver is present.
преди 19 години
Michael Brown
bcedad4708
Add debugging for CNAME records.
Allow routines to be called by nmb.c
преди 19 години
Michael Brown
3ae7a3d1f0
NMB packets are so similar to DNS packets; we may as well add NMB as a
name resolution method.
преди 19 години
Michael Brown
138c987738
Straightforward A record resolution now known working.
преди 19 години
Michael Brown
78cdb1da8b
DNS resolver rewritten, moved to proto/dns.c
преди 19 години
Michael Brown
167c26c92b
tftp functions moved to proto/tftp.c
преди 19 години