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)  

calidns.cc File Reference
#include <atomic>
#include <iostream>
#include <fstream>
#include <memory>
#include <poll.h>
#include <thread>
#include <boost/program_options.hpp>
#include "dns_random.hh"
#include "dnsparser.hh"
#include "dnswriter.hh"
#include "dnsrecords.hh"
#include "ednsoptions.hh"
#include "ednssubnet.hh"
#include "misc.hh"
#include "sstuff.hh"
#include "statbag.hh"
Include dependency graph for calidns.cc:

Go to the source code of this file.

Functions

static void * recvThread (const vector< std::unique_ptr< Socket >> *sockets)
  More...
 
static void setSocketBuffer (int fd, int optname, uint32_t size)
  More...
 
static void setSocketReceiveBuffer (int fd, uint32_t size)
  More...
 
static void setSocketSendBuffer (int fd, uint32_t size)
  More...
 
static ComboAddress getRandomAddressFromRange (const Netmask &ecsRange)
  More...
 
static void replaceEDNSClientSubnet (vector< uint8_t > *packet, const Netmask &ecsRange)
  More...
 
static void sendPackets (const vector< std::unique_ptr< Socket >> &sockets, const vector< vector< uint8_t > * > &packets, int qps, ComboAddress dest, const Netmask &ecsRange)
  More...
 
static void usage (po::options_description &desc)
  More...
 
int main (int argc, char **argv)
  More...
 

Variables

StatBag S
 Statistics are gathered across PDNS via the StatBag class S.
 
static std::atomic< unsigned int > g_recvcounter
  More...
 
static std::atomic< unsigned int > g_recvbytes
  More...
 
static volatile bool g_done
  More...
 
static po::variables_map g_vm
  More...
 
static bool g_quiet
  More...