[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #6786] task #7507: Hook to support static hosts file

From: Robert Sprowson
Subject: [lwip-devel] [patch #6786] task #7507: Hook to support static hosts file in DNS lookup
Date: Sat, 09 May 2009 09:29:21 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)

Follow-up Comment #12, patch #6786 (project lwip):

Nice! So now we support
 a) runtime maintained static DNS held in RAM
 b) compile time assigned static DNS anywhere in mapped memory
 c) runtime maintained static DNS held off chip

I've just tested (c) and it works just fine, reading through (a) and (b)
looks sane too.

One minor addition I would suggest: currently there's no means of defining
the prototype for the callout function so the compiler warns about its
implicit declaration.

I added to line 79
 #include "lwip/sys.h"
since that includes sys_arch, which as discussed earlier is the sensible
place to put the callout function.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]