Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
uIP hostname resolver functions

The uIP DNS resolver functions are used to lookup a hostname and map it to a numerical IP address.

It maintains a list of resolved hostnames that can be queried with the resolv_lookup() function. New hostnames can be resolved using the resolv_query() function.

The event resolv_event_found is posted when a hostname has been resolved. It is up to the receiving process to determine if the correct hostname has been found by calling the resolv_lookup() function with the hostname.

Files

file  mdns.c
 DNS host name to IP address resolver.
 
file  resolv.c
 
    DNS host name to IP address resolver.

 

Macros

#define VERBOSE_DEBUG   0
 
#define VERBOSE_DEBUG   0
 
#define WITH_EDNS_LIMIT_UDP_RES_PAYLOAD   1
 

#define VERBOSE_DEBUG   0
#define VERBOSE_DEBUG   0
#define WITH_EDNS_LIMIT_UDP_RES_PAYLOAD   1