

Go to the source code of this file.
Data Structures | |
| struct | DNSCONFIG |
Defines | |
| #define | _NETDB_H_ |
| #define | NETDB_INTERNAL -1 |
| #define | NETDB_SUCCESS 0 |
| #define | HOST_NOT_FOUND 1 |
| #define | TRY_AGAIN 2 |
| #define | NO_RECOVERY 3 |
| #define | NO_DATA 4 |
| #define | NO_ADDRESS NO_DATA |
Functions | |
| void | NutDnsConfig2 (CONST uint8_t *hostname, CONST uint8_t *domain, uint32_t pdnsip, uint32_t sdnsip) |
| Set DNS configuration. | |
| void | NutDnsGetConfig2 (char **hostname, char **domain, uint32_t *pdnsip, uint32_t *sdnsip) |
| void | NutDnsConfig (CONST uint8_t *hostname, CONST uint8_t *domain, uint32_t dnsip) NUT_DEPRECATED |
| Sets DNS configuration. | |
| uint32_t | NutDnsGetHostByName (CONST uint8_t *hostname) |
| uint8_t | NutDnsGetHostsByName (CONST uint8_t *hostname, uint32_t *ip_all) |
| uint32_t | NutDnsGetMxByDomain (CONST uint8_t *hostname) |