Robin Getz 1a32bf4188 Add DNS support
On 04 Oct 2008 Pieter posted a dns implementation for U-Boot.

http://www.mail-archive.com/u-boot-users@lists.sourceforge.net/msg10216.html
>
> DNS can be enabled by setting CFG_CMD_DNS. After performing a query,
> the serverip environment var is updated.
>
> Probably there are some cosmetic issues with the patch. Unfortunatly I
> do not have the time to correct these. So if anybody else likes DNS
> support in U-Boot and has the time, feel free to patch it in the main tree.

Here it is again - slightly modified & smaller:
  - update to 2009-06 (Pieter's patch was for U-Boot 1.2.0)
  - README.dns is added
  - syntax is changed (now takes a third option, the env var to store
    the result in)
  - add a random port() function in net.c
  - sort Makefile in ./net/Makefile
  - dns just returns unless a env var is given
  - run through checkpatch, and clean up style issues
  - remove packet from stack
  - cleaned up some comments
  - failure returns much faster (if server responds, don't wait for
    timeout)
  - use built in functions (memcpy) rather than byte copy.

Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Pieter Voorthuijsen <pieter.voorthuijsen@prodrive.nl>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2009-07-22 22:53:44 -07:00
..
2009-03-20 22:39:13 +01:00
2008-10-18 21:54:03 +02:00
2008-12-09 23:39:59 +01:00
2009-07-22 09:43:27 +02:00
2008-10-18 21:54:03 +02:00
2008-12-15 22:05:36 +01:00
2009-03-20 22:39:13 +01:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-06-12 20:45:48 +02:00
2009-07-22 09:30:31 +02:00
2008-10-18 21:54:03 +02:00
2009-01-24 00:23:09 +01:00
2008-10-18 21:54:03 +02:00
2009-06-12 17:16:59 -05:00
2008-10-18 21:54:03 +02:00
2009-07-16 22:24:06 +02:00
2009-06-21 16:18:12 +02:00
2009-07-16 22:23:53 +02:00
2009-07-21 00:06:11 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-02-24 10:19:00 +01:00
2008-10-18 21:54:03 +02:00
2009-04-03 23:47:06 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-06-14 23:01:38 +02:00
2008-10-18 21:54:03 +02:00
2009-07-02 11:15:57 -05:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-07-22 22:53:44 -07:00
2009-02-22 13:39:27 +01:00
2008-10-18 21:54:03 +02:00
2009-04-03 23:47:06 +02:00
2009-07-11 01:02:20 +02:00
2009-02-23 15:51:10 -06:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2008-09-22 22:07:20 +02:00
2009-06-15 00:13:54 -07:00
2009-01-28 19:57:27 +01:00
2009-04-06 20:40:46 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00