pdns  4.5.1
About: PowerDNS daemon - a high performance authoritative nameserver.
  Fossies Dox: pdns-4.5.1.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

common_startup.cc File Reference
#include "common_startup.hh"
#include "ws-auth.hh"
#include "secpoll-auth.hh"
#include <sys/time.h>
#include <sys/resource.h>
#include "dynhandler.hh"
#include "dnsseckeeper.hh"
#include "threadname.hh"
#include "misc.hh"
#include "query-local-address.hh"
#include "trusted-notification-proxy.hh"
#include "packethandler.hh"
#include <thread>
Include dependency graph for common_startup.cc:

Go to the source code of this file.

Typedefs

typedef Distributor< DNSPacket, DNSPacket, PacketHandlerDNSDistributor
 

Functions

ArgvMaparg ()
  More...
 
void declareArguments ()
  More...
 
static uint64_t uptimeOfProcess (const std::string &str)
  More...
 
static uint64_t getSysUserTimeMsec (const std::string &str)
  More...
 
static uint64_t getTCPConnectionCount (const std::string &str)
  More...
 
static uint64_t getQCount (const std::string &str)
  More...
 
static uint64_t getLatency (const std::string &str)
  More...
 
void declareStats ()
  More...
 
int isGuarded (char **argv)
  More...
 
static void sendout (std::unique_ptr< DNSPacket > &a)
  More...
 
static void qthread (unsigned int num)
 The qthread receives questions over the internet via the Nameserver class, and hands them to the Distributor for further processing. More...
 
static void dummyThread ()
  More...
 
static void triggerLoadOfLibraries ()
  More...
 
void mainthread ()
  More...
 

Variables

bool g_anyToTcp
  More...
 
bool g_8bitDNS
  More...
 
ArgvMap theArg
  More...
 
StatBag S
 Statistics are gathered across PDNS via the StatBag class S. More...
 
AuthPacketCache PC
 This is the main PacketCache, shared across all threads. More...
 
AuthQueryCache QC
  More...
 
AuthZoneCache g_zoneCache
  More...
 
std::unique_ptr< DNSProxyDP {nullptr}
  More...
 
std::unique_ptr< DynListenerdl {nullptr}
  More...
 
CommunicatorClass Communicator
  More...
 
shared_ptr< UDPNameserverN
  More...
 
double avg_latency {0.0}
  More...
 
unique_ptr< TCPNameserverTN
  More...
 
static vector< DNSDistributor * > g_distributors
  More...
 
vector< std::shared_ptr< UDPNameserver > > g_udpReceivers
  More...
 
static time_t s_start =time(nullptr)
  More...