VLC 4.0.0-dev
|
Macros | |
#define | _NI_MASK |
#define | _AI_MASK (AI_PASSIVE|AI_CANONNAME|AI_NUMERICHOST) |
Functions | |
int | getnameinfo (const struct sockaddr *sa, socklen_t salen, char *host, int hostlen, char *serv, int servlen, int flags) |
static int | gai_error_from_herrno (void) |
static struct addrinfo * | makeaddrinfo (int af, int type, int proto, const struct sockaddr *addr, size_t addrlen, const char *canonname) |
static struct addrinfo * | makeipv4info (int type, int proto, u_long ip, u_short port, const char *name) |
int | getaddrinfo (const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res) |
#define _AI_MASK (AI_PASSIVE|AI_CANONNAME|AI_NUMERICHOST) |
#define _NI_MASK |
|
static |
Referenced by getaddrinfo().
int getaddrinfo | ( | const char * | node, |
const char * | service, | ||
const struct addrinfo * | hints, | ||
struct addrinfo ** | res | ||
) |
References _AI_MASK, gai_error_from_herrno(), makeipv4info(), and name.
Referenced by vlc_gai_thread(), and vlc_getaddrinfo().
int getnameinfo | ( | const struct sockaddr * | sa, |
socklen_t | salen, | ||
char * | host, | ||
int | hostlen, | ||
char * | serv, | ||
int | servlen, | ||
int | flags | ||
) |
References _NI_MASK.
Referenced by vlc_getnameinfo().
|
static |
References strdup().
Referenced by makeipv4info().
|
static |
References makeaddrinfo(), and name.
Referenced by getaddrinfo().