netconn: Add LWIP_HOOK_NETCONN_EXTERNAL_RESOLVE (patch #9427)

This adds a new hook allowing an external DNS resolver to be hooked into
netconn_gethostbyname(). The hook can handle some or all of the queries

One use case for this hook is to run mDNSResponder in the same system as LwIP
(mDNSResponder also uses LwIP's socekt APIs) and have it handle .local queries
while LwIP stack handles unicast DNS queries
This commit is contained in:
Joel Cunningham
2017-11-20 09:59:35 -06:00
parent 2aed2fc215
commit 6af3b4accc
3 changed files with 38 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ HISTORY
* [Enter new changes just after this line - do not remove this line]
++ New features:
2017-11-20: Joel Cunningham
* netconn: add LWIP_HOOK_NETCONN_EXTERNAL_RESOLVE to use external DNS resolver (patch #9427)
2017-11-14: Joel Cunningham
* netifapi: Add thread safe ARP cache APIs (task #14724)