resolv.c File Reference

Go to the source code of this file.

Functions

void DumpDnsHeader (FILE *stream, DNSHEADER *doh)
void DumpDnsQuestion (FILE *stream, DNSQUESTION *doq)
void DumpDnsResource (FILE *stream, DNSRESOURCE *dor)
void NutDnsConfig (CONST uint8_t *hostname, CONST uint8_t *domain, uint32_t dnsip)
 Sets DNS configuration.
void NutDnsGetConfig2 (char **hostname, char **domain, uint32_t *pdnsip, uint32_t *sdnsip)
uint32_t NutDnsGetResource (CONST uint8_t *hostname, CONST uint16_t type)
 Retrieves IP-address corresponding to a host name.
uint32_t NutDnsGetHostByName (CONST uint8_t *hostname)
uint8_t NutDnsGetResourceAll (CONST uint8_t *hostname, CONST uint16_t type, uint32_t *ip_all)
 Retrieves all IP-address corresponding to a host name.
uint8_t NutDnsGetHostsByName (CONST uint8_t *hostname, uint32_t *ip_all)
uint32_t NutDnsGetMxByDomain (CONST uint8_t *hostname)

Variables

DNSCONFIG confdns


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/