|
Classes |
struct | addrinfo |
struct | kde_addrinfo |
struct | kde_in6_addr |
struct | kde_sockaddr_in6 |
Namespaces |
namespace | KDE |
Defines |
#define | AF_LOCAL AF_UNIX |
#define | AI_CANONNAME 2 |
#define | AI_NUMERICHOST 4 |
#define | AI_PASSIVE 1 |
#define | EAI_ADDRFAMILY 1 |
#define | EAI_AGAIN 2 |
#define | EAI_BADFLAGS 3 |
#define | EAI_FAIL 4 |
#define | EAI_FAMILY 5 |
#define | EAI_MEMORY 6 |
#define | EAI_NODATA 7 |
#define | EAI_NONAME 8 |
#define | EAI_SERVICE 9 |
#define | EAI_SOCKTYPE 10 |
#define | EAI_SYSTEM 11 |
#define | freeaddrinfo KDE::freeaddrinfo |
#define | gai_strerror KDE::gai_strerror |
#define | getaddrinfo KDE::getaddrinfo |
#define | getnameinfo KDE::getnameinfo |
#define | inet_ntop KDE::inet_ntop |
#define | inet_pton KDE::inet_pton |
#define | KAI_LOCALUNIX 1 |
#define | KAI_QDNS 2 |
#define | KAI_SYSTEM 0 |
#define | KDE_IN6_ARE_ADDR_EQUAL(a, b) |
#define | KDE_IN6_IS_ADDR_LINKLOCAL(a) ((((Q_UINT32 *) (a))[0] & htonl (0xffc00000)) == htonl (0xfe800000)) |
#define | KDE_IN6_IS_ADDR_LOOPBACK(a) |
#define | KDE_IN6_IS_ADDR_MC_GLOBAL(a) (KDE_IN6_IS_ADDR_MULTICAST(a) && ((((Q_UINT8 *) (a))[1] & 0xf) == 0xe)) |
#define | KDE_IN6_IS_ADDR_MC_LINKLOCAL(a) (KDE_IN6_IS_ADDR_MULTICAST(a) && ((((Q_UINT8 *) (a))[1] & 0xf) == 0x2)) |
#define | KDE_IN6_IS_ADDR_MC_NODELOCAL(a) (KDE_IN6_IS_ADDR_MULTICAST(a) && ((((Q_UINT8 *) (a))[1] & 0xf) == 0x1)) |
#define | KDE_IN6_IS_ADDR_MC_ORGLOCAL(a) (KDE_IN6_IS_ADDR_MULTICAST(a) && ((((Q_UINT8 *) (a))[1] & 0xf) == 0x8)) |
#define | KDE_IN6_IS_ADDR_MC_SITELOCAL(a) (KDE_IN6_IS_ADDR_MULTICAST(a) && ((((Q_UINT8 *) (a))[1] & 0xf) == 0x5)) |
#define | KDE_IN6_IS_ADDR_MULTICAST(a) (((u_int8_t *) (a))[0] == 0xff) |
#define | KDE_IN6_IS_ADDR_SITELOCAL(a) ((((Q_UINT32 *) (a))[0] & htonl (0xffc00000)) == htonl (0xfec00000)) |
#define | KDE_IN6_IS_ADDR_UNSPECIFIED(a) |
#define | KDE_IN6_IS_ADDR_V4COMPAT(a) |
#define | KDE_IN6_IS_ADDR_V4MAPPED(a) |
#define | NI_DGRAM 16 |
#define | NI_MAXHOST 1025 |
#define | NI_MAXSERV 32 |
#define | NI_NAMEREQD 8 |
#define | NI_NOFQDN 4 |
#define | NI_NUMERICHOST 1 |
#define | NI_NUMERICSERV 2 |
#define | PF_LOCAL PF_UNIX |
Functions |
void | KDE::freeaddrinfo (struct addrinfo *ai) |
char * | KDE::gai_strerror (int errorcode) |
int | KDE::getaddrinfo (const char *name, const char *service, const struct addrinfo *hint, struct addrinfo **result) |
int | KDE::getnameinfo (const struct sockaddr *sa, unsigned int salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) |
const char * | KDE::inet_ntop (int af, const void *cp, char *buf, size_t len) |
int | KDE::inet_pton (int af, const char *cp, void *buf) |
void | kde_freeaddrinfo (struct kde_addrinfo *p) |
int | kde_getaddrinfo (const char *name, const char *service, const struct addrinfo *hint, struct kde_addrinfo **result) |