Changeset 1427
- Timestamp:
- 10/11/09 14:50:52 (4 years ago)
- Location:
- trunk/pdns/pdns
- Files:
-
- 42 modified
-
Makefile-recursor (modified) (1 diff)
-
aes/brg_types.h (modified) (1 diff)
-
anadns.hh (modified) (1 diff)
-
argtng.hh (modified) (1 diff)
-
arguments.cc (modified) (1 diff)
-
base64.cc (modified) (1 diff)
-
devpollmplexer.cc (modified) (1 diff)
-
dnsdemog.cc (modified) (1 diff)
-
dnsgram.cc (modified) (1 diff)
-
dnspacket.cc (modified) (1 diff)
-
dnsparser.cc (modified) (1 diff)
-
dnsparser.hh (modified) (1 diff)
-
dnspcap.cc (modified) (1 diff)
-
dnsrecords.hh (modified) (1 diff)
-
dnsreplay.cc (modified) (1 diff)
-
dnsscan.cc (modified) (1 diff)
-
dnsscope.cc (modified) (1 diff)
-
dnswasher.cc (modified) (1 diff)
-
dnswriter.hh (modified) (1 diff)
-
dynloader.cc (modified) (1 diff)
-
epollmplexer.cc (modified) (1 diff)
-
htimer.cc (modified) (1 diff)
-
kqueuemplexer.cc (modified) (1 diff)
-
md5.cc (modified) (1 diff)
-
md5.hh (modified) (1 diff)
-
misc.hh (modified) (1 diff)
-
mtasker.cc (modified) (1 diff)
-
mtasker.hh (modified) (1 diff)
-
nameserver.cc (modified) (1 diff)
-
notify.cc (modified) (1 diff)
-
nproxy.cc (modified) (1 diff)
-
packetcache.hh (modified) (1 diff)
-
portsmplexer.cc (modified) (1 diff)
-
rcpgenerator.hh (modified) (1 diff)
-
rec_channel.hh (modified) (1 diff)
-
recursor_cache.cc (modified) (1 diff)
-
recursor_cache.hh (modified) (1 diff)
-
recursor_memcached.hh (modified) (1 diff)
-
selectmplexer.cc (modified) (1 diff)
-
sstuff.hh (modified) (1 diff)
-
syncres.hh (modified) (2 diffs)
-
tcpreceiver.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/Makefile-recursor
r1410 r1427 26 26 rec_channel.o rec_channel_rec.o selectmplexer.o sillyrecords.o \ 27 27 dns_random.o aescrypt.o aeskey.o aes_modes.o aestab.o lua-pdns-recursor.o \ 28 randomhelper.o 28 randomhelper.o md5.o 29 29 30 30 REC_CONTROL_OBJECTS=rec_channel.o rec_control.o arguments.o -
trunk/pdns/pdns/aes/brg_types.h
r1159 r1427 48 48 # define ptrint_t intptr_t 49 49 #elif defined( __GNUC__ ) && ( __GNUC__ >= 3 ) 50 # include < stdint.h>50 # include <inttypes.h> 51 51 # define ptrint_t intptr_t 52 52 #else -
trunk/pdns/pdns/anadns.hh
r477 r1427 8 8 #include "dnsparser.hh" 9 9 10 using namespace boost; 10 #include "namespaces.hh" 11 11 using namespace std; 12 12 -
trunk/pdns/pdns/argtng.hh
r333 r1427 8 8 #include <boost/regex.hpp> 9 9 using namespace std; 10 using namespace boost; 10 #include "namespaces.hh" 11 11 12 12 #define decl(x,y) typeof((y)) (x) = (y) -
trunk/pdns/pdns/arguments.cc
r1348 r1427 18 18 #include "arguments.hh" 19 19 #include <boost/algorithm/string.hpp> 20 using namespace boost; 20 #include "namespaces.hh" 21 21 22 22 const ArgvMap::param_t::const_iterator ArgvMap::begin() -
trunk/pdns/pdns/base64.cc
r1394 r1427 1 1 #include "base64.hh" 2 #include <stdint.h> 2 3 3 4 4 namespace anonpdns { -
trunk/pdns/pdns/devpollmplexer.cc
r1421 r1427 8 8 #include "syncres.hh" 9 9 10 using namespace boost; 10 #include "namespaces.hh" 11 11 using namespace std; 12 12 -
trunk/pdns/pdns/dnsdemog.cc
r1275 r1427 11 11 #include "anadns.hh" 12 12 13 using namespace boost; 13 #include "namespaces.hh" 14 14 using namespace std; 15 15 -
trunk/pdns/pdns/dnsgram.cc
r1275 r1427 12 12 #include "anadns.hh" 13 13 14 using namespace boost; 14 #include "namespaces.hh" 15 15 using namespace std; 16 16 -
trunk/pdns/pdns/dnspacket.cc
r1346 r1427 482 482 qdomain=mdp.d_qname; 483 483 if(!qdomain.empty()) // strip dot 484 erase_tail(qdomain, 1);484 boost::erase_tail(qdomain, 1); 485 485 486 486 if(!ntohs(d.qdcount)) { -
trunk/pdns/pdns/dnsparser.cc
r1359 r1427 22 22 #include <boost/algorithm/string.hpp> 23 23 24 using namespace boost; 24 #include "namespaces.hh" 25 25 26 26 class UnknownRecordContent : public DNSRecordContent -
trunk/pdns/pdns/dnsparser.hh
r1369 r1427 49 49 50 50 using namespace std; 51 using namespace boost; 51 #include "namespaces.hh" 52 52 53 53 class MOADNSException : public runtime_error -
trunk/pdns/pdns/dnspcap.cc
r862 r1427 4 4 #include <fcntl.h> 5 5 6 using namespace boost; 6 #include "namespaces.hh" 7 7 PcapPacketReader::PcapPacketReader(const string& fname) : d_fname(fname) 8 8 { -
trunk/pdns/pdns/dnsrecords.hh
r1363 r1427 27 27 28 28 using namespace std; 29 using namespace boost; 29 #include "namespaces.hh" 30 30 31 31 #define includeboilerplate(RNAME) RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr); \ -
trunk/pdns/pdns/dnsreplay.cc
r1402 r1427 60 60 #include <boost/multi_index/key_extractors.hpp> 61 61 62 using namespace boost; 62 #include "namespaces.hh" 63 63 using namespace ::boost::multi_index; 64 64 using namespace std; -
trunk/pdns/pdns/dnsscan.cc
r1275 r1427 18 18 #include <cctype> 19 19 20 using namespace boost; 20 #include "namespaces.hh" 21 21 using namespace ::boost::multi_index; 22 22 using namespace std; -
trunk/pdns/pdns/dnsscope.cc
r1276 r1427 11 11 #include "anadns.hh" 12 12 13 using namespace boost; 13 #include "namespaces.hh" 14 14 using namespace std; 15 15 -
trunk/pdns/pdns/dnswasher.cc
r1275 r1427 16 16 #include "dnspcap.hh" 17 17 18 using namespace boost; 18 #include "namespaces.hh" 19 19 using namespace std; 20 20 -
trunk/pdns/pdns/dnswriter.hh
r1370 r1427 6 6 #include <map> 7 7 #if !defined SOLARIS8 && !defined WIN32 8 #include <stdint.h> 8 9 9 #elif defined WIN32 10 10 #include "utility.hh" -
trunk/pdns/pdns/dynloader.cc
r1267 r1427 39 39 #include "misc.hh" 40 40 using namespace std; 41 using namespace boost; 41 #include "namespaces.hh" 42 42 43 43 ArgvMap &arg() -
trunk/pdns/pdns/epollmplexer.cc
r1115 r1427 10 10 #endif 11 11 12 using namespace boost; 12 #include "namespaces.hh" 13 13 using namespace std; 14 14 -
trunk/pdns/pdns/htimer.cc
r1070 r1427 6 6 7 7 using namespace std; 8 using namespace boost; 8 #include "namespaces.hh" 9 9 10 10 -
trunk/pdns/pdns/kqueuemplexer.cc
r1115 r1427 12 12 #include <sys/time.h> 13 13 14 using namespace boost; 14 #include "namespaces.hh" 15 15 using namespace std; 16 16 -
trunk/pdns/pdns/md5.cc
r1417 r1427 6 6 #include <sys/types.h> 7 7 #include <stdexcept> 8 #include <stdint.h> 8 9 9 #include "md5.hh" 10 10 -
trunk/pdns/pdns/md5.hh
r1417 r1427 3 3 4 4 #include <string> 5 #include <stdint.h> 5 6 6 7 7 -
trunk/pdns/pdns/misc.hh
r1402 r1427 19 19 #ifndef MISC_HH 20 20 #define MISC_HH 21 #include < stdint.h>21 #include <inttypes.h> 22 22 #include <cstring> 23 23 #include <cstdio> -
trunk/pdns/pdns/mtasker.cc
r1402 r1427 1 1 /* 2 2 PowerDNS Versatile Database Driven Nameserver 3 Copyright (C) 2002 - 200 6PowerDNS.COM BV3 Copyright (C) 2002 - 2009 PowerDNS.COM BV 4 4 5 5 This program is free software; you can redistribute it and/or modify -
trunk/pdns/pdns/mtasker.hh
r1402 r1427 33 33 #include <boost/multi_index/ordered_index.hpp> 34 34 #include <boost/multi_index/key_extractors.hpp> 35 using namespace boost; 35 #include "namespaces.hh" 36 36 using namespace ::boost::multi_index; 37 37 -
trunk/pdns/pdns/nameserver.cc
r1271 r1427 34 34 #include "statbag.hh" 35 35 36 using namespace boost; 36 #include "namespaces.hh" 37 37 38 38 extern StatBag S; -
trunk/pdns/pdns/notify.cc
r1321 r1427 13 13 #include "mplexer.hh" 14 14 15 using namespace boost; 15 #include "namespaces.hh" 16 16 using namespace ::boost::multi_index; 17 17 using namespace std; -
trunk/pdns/pdns/nproxy.cc
r1275 r1427 17 17 #include "mplexer.hh" 18 18 19 using namespace boost; 19 #include "namespaces.hh" 20 20 using namespace ::boost::multi_index; 21 21 using namespace std; -
trunk/pdns/pdns/packetcache.hh
r1399 r1427 29 29 using namespace ::boost::multi_index; 30 30 31 using namespace boost; 31 #include "namespaces.hh" 32 32 #include "dnspacket.hh" 33 33 #include "lock.hh" -
trunk/pdns/pdns/portsmplexer.cc
r1372 r1427 12 12 #endif 13 13 14 using namespace boost; 14 #include "namespaces.hh" 15 15 using namespace std; 16 16 -
trunk/pdns/pdns/rcpgenerator.hh
r1100 r1427 24 24 #include <stdexcept> 25 25 #if !defined SOLARIS8 && !defined WIN32 26 # include <stdint.h> 26 27 27 #elif defined WIN32 28 28 # include "utility.hh" -
trunk/pdns/pdns/rec_channel.hh
r1366 r1427 4 4 #include <map> 5 5 #if !defined SOLARIS8 && !defined WIN32 6 #include <stdint.h> 6 7 7 #elif defined WIN32 8 8 #include "utility.hh" -
trunk/pdns/pdns/recursor_cache.cc
r1413 r1427 10 10 11 11 using namespace std; 12 using namespace boost; 12 #include "namespaces.hh" 13 13 14 14 #include "config.h" -
trunk/pdns/pdns/recursor_cache.hh
r1403 r1427 23 23 24 24 #define L theL() 25 using namespace boost; 25 #include "namespaces.hh" 26 26 using namespace ::boost::multi_index; 27 27 -
trunk/pdns/pdns/recursor_memcached.hh
r1362 r1427 2 2 #define PDNS_RECURSOR_MEMCACHED_HH 3 3 #include <string> 4 #include <stdint.h> 4 5 5 6 6 class MemcachedCommunicator -
trunk/pdns/pdns/selectmplexer.cc
r1115 r1427 8 8 9 9 10 using namespace boost; 10 #include "namespaces.hh" 11 11 using namespace std; 12 12 -
trunk/pdns/pdns/sstuff.hh
r1412 r1427 21 21 #include <csignal> 22 22 using namespace std; 23 using namespace boost; 23 #include "namespaces.hh" 24 24 25 25 -
trunk/pdns/pdns/syncres.hh
r1410 r1427 526 526 uint64_t ednsPingMismatches; 527 527 uint64_t noPingOutQueries, noEdnsOutQueries; 528 uint64_t packetCacheHits; 528 529 time_t startupTime; 529 530 … … 557 558 std::string reloadAuthAndForwards(); 558 559 ComboAddress parseIPAndPort(const std::string& input, uint16_t port); 560 ComboAddress getQueryLocalAddress(int family); 559 561 #endif -
trunk/pdns/pdns/tcpreceiver.cc
r1360 r1427 42 42 #include "resolver.hh" 43 43 #include "communicator.hh" 44 using namespace boost; 44 #include "namespaces.hh" 45 45 46 46 extern PacketCache PC;