Include dependency graph for getaddrinfo.c:

Defines | |
| #define | NO_ADDRESS NO_DATA |
| #define | INADDR_NONE 0xFFFFFFFF |
| #define | AF_UNSPEC 0 |
| #define | _NI_MASK |
| #define | _AI_MASK (AI_PASSIVE|AI_CANONNAME|AI_NUMERICHOST) |
Functions | |
| const char * | vlc_gai_strerror (int errnum) |
| static 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 void | freeaddrinfo (struct addrinfo *res) |
| 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) |
| static int | getaddrinfo (const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res) |
| int | vlc_getnameinfo (const struct sockaddr *sa, int salen, char *host, int hostlen, int *portnum, int flags) |
| int | vlc_getaddrinfo (vlc_object_t *p_this, const char *node, int i_port, const struct addrinfo *p_hints, struct addrinfo **res) |
| void | vlc_freeaddrinfo (struct addrinfo *infos) |
| int | vlc_inet_pton (int af, const char *src, void *dst) |
| inet_pton() replacement | |
| const char * | vlc_inet_ntop (int af, const void *src, char *dst, socklen_t cnt) |
| inet_ntop() replacement | |
Variables | |
| struct { | |
| int code | |
| const char msg [41] | |
| } | gai_errlist [] |
| static const char | gai_unknownerr [] = "Unrecognized error number" |
| #define _AI_MASK (AI_PASSIVE|AI_CANONNAME|AI_NUMERICHOST) |
| #define _NI_MASK |
Value:
| #define AF_UNSPEC 0 |
| #define INADDR_NONE 0xFFFFFFFF |
| #define NO_ADDRESS NO_DATA |
| static void freeaddrinfo | ( | struct addrinfo * | res | ) | [static] |
| static int gai_error_from_herrno | ( | void | ) | [static] |
| static int getaddrinfo | ( | const char * | node, | |
| const char * | service, | |||
| const struct addrinfo * | hints, | |||
| struct addrinfo ** | res | |||
| ) | [static] |
| static int getnameinfo | ( | const struct sockaddr * | sa, | |
| socklen_t | salen, | |||
| char * | host, | |||
| int | hostlen, | |||
| char * | serv, | |||
| int | servlen, | |||
| int | flags | |||
| ) | [static] |
| static struct addrinfo* makeaddrinfo | ( | int | af, | |
| int | type, | |||
| int | proto, | |||
| const struct sockaddr * | addr, | |||
| size_t | addrlen, | |||
| const char * | canonname | |||
| ) | [static] |
| static struct addrinfo* makeipv4info | ( | int | type, | |
| int | proto, | |||
| u_long | ip, | |||
| u_short | port, | |||
| const char * | name | |||
| ) | [static] |
| void vlc_freeaddrinfo | ( | struct addrinfo * | infos | ) |
| const char* vlc_gai_strerror | ( | int | errnum | ) |
| int vlc_getaddrinfo | ( | vlc_object_t * | p_this, | |
| const char * | node, | |||
| int | i_port, | |||
| const struct addrinfo * | p_hints, | |||
| struct addrinfo ** | res | |||
| ) |
| int vlc_getnameinfo | ( | const struct sockaddr * | sa, | |
| int | salen, | |||
| char * | host, | |||
| int | hostlen, | |||
| int * | portnum, | |||
| int | flags | |||
| ) |
| const char* vlc_inet_ntop | ( | int | af, | |
| const void * | src, | |||
| char * | dst, | |||
| socklen_t | cnt | |||
| ) |
inet_ntop() replacement
| int vlc_inet_pton | ( | int | af, | |
| const char * | src, | |||
| void * | dst | |||
| ) |
inet_pton() replacement
| int code |
struct { ... } gai_errlist[] [static] |
const char gai_unknownerr[] = "Unrecognized error number" [static] |
| const char msg[41] |
1.5.1