(c272119847220dcf239ca8a9908867376d6dca30)
#include "qdnslookup_p.h"
#include <qendian.h>
#include <qrandom.h>
#include <qspan.h>
#include <qurl.h>
#include <qvarlengtharray.h>
#include <private/qnativesocketengine_p.h>
#include <private/qtnetwork-config_p.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <errno.h>
#include <resolv.h>
#include <array>
Go to the source code of this file.
|
| | Q_DECLARE_TYPEINFO (QDnsCachedName, Q_RELOCATABLE_TYPE) |
| static int | prepareQueryBuffer (QueryBuffer &buffer, const char *label, ns_type type) |
| static int | local_res_nsend (net_handle_t network, const uint8_t *msg, size_t msglen, uint32_t flags) __attribute__((weakref("android_res_nsend"))) |
| static int | local_res_nresult (int fd, int *rcode, uint8_t *answer, size_t anslen) __attribute__((weakref("android_res_nresult"))) |
| bool | qt_androidDnsResolverAvailable () |
| static int | sendStandardDns (QDnsLookupReply *reply, QSpan< unsigned char > qbuffer, ReplyBuffer &buffer, const QHostAddress &nameserver) |
◆ T_OPT
◆ Cache
| typedef QList< QDnsCachedName > Cache = QList<QDnsCachedName> |
◆ QueryBuffer
◆ ReplyBuffer
◆ local_res_nresult()
| int local_res_nresult |
( |
int | fd, |
|
|
int * | rcode, |
|
|
uint8_t * | answer, |
|
|
size_t | anslen ) |
|
static |
◆ local_res_nsend()
| int local_res_nsend |
( |
net_handle_t | network, |
|
|
const uint8_t * | msg, |
|
|
size_t | msglen, |
|
|
uint32_t | flags ) |
|
static |
◆ prepareQueryBuffer()
| int prepareQueryBuffer |
( |
QueryBuffer & | buffer, |
|
|
const char * | label, |
|
|
ns_type | type ) |
|
static |
◆ Q_DECLARE_TYPEINFO()
◆ qt_androidDnsResolverAvailable()
| bool qt_androidDnsResolverAvailable |
( |
| ) |
|
◆ sendStandardDns()
◆ Edns0Record
| constexpr unsigned char Edns0Record |
|
staticconstexpr |
◆ QueryBufferSize
Initial value: =
HFIXEDSZ + QFIXEDSZ + MAXCDNAME + 1 +
sizeof(
Edns0Record)
static constexpr unsigned char Edns0Record[]
Definition at line 59 of file qdnslookup_unix.cpp.