#include "inspircd_config.h"
#include "servers.h"
#include "inspircd.h"
#include <unistd.h>
#include <fcntl.h>
#include <poll.h>
#include <sys/errno.h>
#include <sys/ioctl.h>
#include <sys/utsname.h>
#include <vector>
#include <string>
#include <deque>
#include <sstream>
#include <map>
#include "inspstring.h"
#include "helperfuncs.h"
#include "connection.h"
Include dependency graph for servers.cpp:
Go to the source code of this file.
Functions | |
bool | IsRoutable (std::string servername) |
bool | already_have_sum (std::string sum) |
Variables | |
time_t | TIME |
int | MaxConn |
serverrec * | me [32] |
bool | has_been_netsplit |
std::deque< std::string > | xsums |
|
Definition at line 425 of file servers.cpp. References xsums. Referenced by serverrec::RecvPacket().
|
|
Definition at line 256 of file servers.cpp. References serverrec::connectors, me, and STATE_DISCONNECTED. Referenced by serverrec::FlushWriteBuffers(), and serverrec::RecvPacket().
00257 { 00258 int c = 0; 00259 for (int x = 0; x < 32; x++) 00260 if (me[x]) 00261 { 00262 for (int i = 0; i < me[x]->connectors.size(); i++) 00263 { 00264 if ((me[x]->connectors[i].GetServerName() == servername) && (me[x]->connectors[i].GetState() != STATE_DISCONNECTED)) 00265 { 00266 c++; 00267 } 00268 } 00269 } 00270 return (c != 0); 00271 } |
|
Definition at line 42 of file servers.cpp. Referenced by serverrec::FlushWriteBuffers(), and serverrec::RecvPacket(). |
|
Definition at line 38 of file servers.cpp. Referenced by serverrec::CreateListener(). |
|
Definition at line 40 of file servers.cpp. |
|
Definition at line 37 of file servers.cpp. |
|
Definition at line 44 of file servers.cpp. Referenced by already_have_sum(). |