TizenRT Libs&Environment
v2.0 M2
|
DNS client API. More...
#include <tinyara/config.h>
#include <tinyara/compiler.h>
#include <inttypes.h>
#include <net/lwip/netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
Go to the source code of this file.
Data Structures | |
struct | netent |
struct | protoent |
struct | servent |
struct | servent_data |
Macros | |
#define | h_addr h_addr_list[0] /* For backward compatibility */ |
#define | EXTERN extern |
Functions | |
struct hostent * | gethostbyname (const char *name) |
gethostbyname is a function to get 32bit ip address from domain name or ip address string. More... | |
void | freeaddrinfo (struct addrinfo *ai) |
freeaddrinfo() frees the memory allocated by the getaddrinfo() function. More... | |
int | getaddrinfo (const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) |
getaddrinfo() is a function that returns information on a particular host name (such as its IP address) and loads up a struct sockaddr. More... | |
int | getnameinfo (const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) |
getnameinfo() is a function that returns translated string from 32bit(ipv4)/128bit(ipv6) IP address. As lwip doesn't support rarp and relative functions it has restricted usage. More... | |
Variables | |
EXTERN int | h_errno |
DNS client API.
Definition in file netdb.h.