Qt 4.8
|
#include "qhostaddress.h"
#include "qhostaddress_p.h"
#include "qdebug.h"
#include "qplatformdefs.h"
#include "qstringlist.h"
#include "qendian.h"
#include <qdatastream.h>
#include <winsock.h>
Go to the source code of this file.
Classes | |
class | QHostAddressPrivate |
struct | qt_in6_addr |
struct | qt_sockaddr_in6 |
Macros | |
#define | AF_INET6 23 /* Internetwork Version 6 */ |
#define | QT_ENSURE_PARSED(a) |
#define | u_char unsigned char |
#define | u_long unsigned long |
#define | u_short unsigned short |
Functions | |
static void | clearBits (quint8 *where, int start, int end) |
QDebug | operator<< (QDebug d, const QHostAddress &address) |
static bool | parseIp4 (const QString &address, quint32 *addr) |
static bool | parseIp6 (const QString &address, quint8 *addr, QString *scopeId) |
uint | qHash (const QHostAddress &key) |
#define AF_INET6 23 /* Internetwork Version 6 */ |
Definition at line 97 of file qhostaddress.cpp.
Referenced by addressFromSockaddr(), QNativeSocketEnginePrivate::createNewSocket(), QNativeSocketEnginePrivate::fetchConnectionParameters(), QHostInfoAgent::fromName(), QNativeSocketEnginePrivate::nativeBind(), QNativeSocketEnginePrivate::nativeConnect(), QNativeSocketEnginePrivate::nativeSendDatagram(), QHostAddress::QHostAddress(), qt_socket_getPortAndAddress(), QHostAddress::setAddress(), and translateWSAError().
#define QT_ENSURE_PARSED | ( | a | ) |
Definition at line 61 of file qhostaddress.cpp.
Referenced by QHostAddress::isInSubnet(), QHostAddress::isNull(), QHostAddress::operator==(), QHostAddress::protocol(), QHostAddress::scopeId(), QHostAddress::setScopeId(), QHostAddress::toIPv4Address(), QHostAddress::toIPv6Address(), and QHostAddress::toString().
#define u_char unsigned char |
Definition at line 74 of file qhostaddress.cpp.
#define u_long unsigned long |
Definition at line 80 of file qhostaddress.cpp.
#define u_short unsigned short |
Definition at line 77 of file qhostaddress.cpp.
|
static |
Definition at line 374 of file qhostaddress.cpp.
Referenced by QHostAddress::parseSubnet(), and QNetmaskAddress::setPrefixLength().
QDebug operator<< | ( | QDebug | d, |
const QHostAddress & | address | ||
) |
Definition at line 1152 of file qhostaddress.cpp.
Referenced by operator==().
Definition at line 157 of file qhostaddress.cpp.
Referenced by QHostAddressPrivate::parse(), and parseIp6().
Definition at line 178 of file qhostaddress.cpp.
Referenced by QHostAddressPrivate::parse().
uint qHash | ( | const QHostAddress & | key | ) |
Definition at line 1159 of file qhostaddress.cpp.
Referenced by operator==(), and qHash().