lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #6786] Hook to support static hosts file in DNS look


From: Robert Sprowson
Subject: [lwip-devel] [patch #6786] Hook to support static hosts file in DNS lookup
Date: Thu, 19 Mar 2009 22:09:10 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)

URL:
  <http://savannah.nongnu.org/patch/?6786>

                 Summary: Hook to support static hosts file in DNS lookup
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: sprow
            Submitted on: Thu 19 Mar 2009 22:09:08 GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Most systems allow a hosts file so that a few static IP addresses can be
defined, say for things on a local subnet which can't be resolved.

This patch adds a callout to 'dns.c', provisionally called
sys_hosts_file_dns_lookup() for want of a better name. This allows (under the
control of define DNS_HAS_HOSTS_FILE) a system specific hosts file to
optionally return a result.

Some systems may opt to cache the hosts file in RAM, others may parse its
contents and store in a compact form, other mays need to scan a disc drive
(hence sys_ territory).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 19 Mar 2009 22:09:08 GMT  Name: diffs.txt  Size: 456B   By: sprow
Unified diff
<http://savannah.nongnu.org/patch/download.php?file_id=17736>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6786>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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