u-boot/net
Alessandro Rubini 5cfaa4e54d net: defragment IP packets
The defragmenting code is enabled by CONFIG_IP_DEFRAG; the code is
useful for TFTP and NFS transfers.  The user can specify the maximum
defragmented payload as CONFIG_NET_MAXDEFRAG (default 16k).
Since NFS has a bigger per-packet overhead than TFTP, the static
reassembly buffer can hold CONFIG_NET_MAXDEFRAG + the NFS overhead.

The packet buffer is used as an array of "hole" structures, acting as
a double-linked list. Each new fragment can split a hole in two,
reduce a hole or fill a hole. No support is there for a fragment
overlapping two diffrent holes (i.e., thre new fragment is across an
already-received fragment).

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2009-08-25 13:35:54 -07:00
..
bootp.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
bootp.h net: express the first argument to NetSetTimeout() in milliseconds 2008-10-18 21:54:00 +02:00
dns.c Coding Style cleanup; update CHANGELOG. 2009-07-23 22:23:23 +02:00
dns.h Add DNS support 2009-07-22 22:53:44 -07:00
eth.c net: sync env ethaddr to device enetaddr in eth_init() 2009-08-07 17:39:23 -07:00
Makefile minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
net.c net: defragment IP packets 2009-08-25 13:35:54 -07:00
nfs.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
nfs.h * Patch by Steven Scholz, 25 Feb 2004: 2004-02-27 00:07:27 +00:00
rarp.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
rarp.h Initial revision 2002-07-20 20:14:13 +00:00
sntp.c minor debug cleanups in ./net 2009-08-07 17:32:16 -07:00
sntp.h * Patch by Masami Komiya, 30 Mar 2005: 2005-04-01 00:25:43 +00:00
tftp.c net/tftp.c: fix warning: pointer targets differ in signedness 2009-08-10 09:59:10 +02:00
tftp.h Initial revision 2000-12-28 11:02:30 +00:00