aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/treeserver.h
Commit message (Collapse)AuthorAgeFilesLines
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
|
* Show server versions in /MAP for opersGravatar B00mX0r2017-12-191-0/+9
| | | | This resolves #1203
* Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-121-1/+1
| | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* m_spanningtree Use uint64_t for the burst start time to avoid overflowsGravatar Attila Molnar2015-05-131-2/+2
|
* m_spanningtree Rewrite PING logic to use TimersGravatar Attila Molnar2015-01-251-24/+9
|
* m_spanningtree Remove public TreeServer methods that are only called from ↵Gravatar Attila Molnar2015-01-201-8/+0
| | | | TreeServer
* m_spanningtree Get rid of some boilerplateGravatar Attila Molnar2015-01-201-6/+6
| | | | Make methods const while at it
* m_spanningtree Change type of num_lost_* to be unsignedGravatar Attila Molnar2014-07-281-2/+2
|
* m_spanningtree Quit all split users in one goGravatar Attila Molnar2014-07-281-2/+2
|
* m_spanningtree Mark servers awaiting destruction after being lost in a ↵Gravatar Attila Molnar2014-07-281-0/+9
| | | | netsplit, add TreeServer::IsDead()
* m_spanningtree Remove now unused TreeServer::Tidy()Gravatar Attila Molnar2014-07-281-6/+0
|
* m_spanningtree Remove split servers from the hash maps in ↵Gravatar Attila Molnar2014-07-281-3/+5
| | | | TreeServer::SQuitInternal()
* m_spanningtree Move squit logic into TreeServer from TreeSocketGravatar Attila Molnar2014-07-281-0/+18
|
* m_spanningtree Keep track of whether servers are behind a bursting server, ↵Gravatar Attila Molnar2014-07-271-0/+13
| | | | use it to implement quietbursts
* m_spanningtree Add TreeServer::BeginBurst() that marks a server as burstingGravatar Attila Molnar2014-07-271-0/+5
| | | | Don't mark servers as bursting in the constructor
* m_spanningtree Use the value of StartBurst to determine whether a server is ↵Gravatar Attila Molnar2014-07-271-2/+1
| | | | bursting, remove TreeServer::bursting
* m_spanningtree Replace direct access of TreeServer::bursting with IsBursting()Gravatar Attila Molnar2014-07-271-0/+5
|
* m_spanningtree Share server description updates via SINFO descGravatar Attila Molnar2014-06-171-0/+6
|
* m_spanningtree Add a field to TreeServer for storing full version stringsGravatar Attila Molnar2014-06-171-0/+15
|
* Move server description field from TreeServer into Server; remove ↵Gravatar Attila Molnar2014-01-051-5/+0
| | | | OnGetServerDescription hook
* Introduce Server classGravatar Attila Molnar2014-01-051-6/+14
| | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* m_spanningtree Add TreeServer::GetChildren() that replaces ChildCount() and ↵Gravatar attilamolnar2013-08-221-6/+3
| | | | GetChild()
* m_spanningtree Change TreeServer::GetSocket() to always return the socket ↵Gravatar attilamolnar2013-08-221-1/+9
| | | | | | | | that can be used to talk to the server The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers
* m_spanningtree Minor cleanup of functionsGravatar attilamolnar2013-08-191-1/+1
|
* m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-3/+2
|
* m_spanningtree Change the type of TreeServer::ServerName to std::stringGravatar attilamolnar2013-07-241-2/+2
|
* m_spanningtree Cleanup TreeServer and TreeSocket construction/destructionGravatar attilamolnar2013-07-241-19/+9
|
* m_spanningtree Remove encapsulation on UserCount/OperCountGravatar attilamolnar2013-04-121-18/+3
|
* Tidy up source files:Gravatar Peter Powell2013-04-121-4/+1
| | | | | | - Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
* m_spanningtree Return const references from several TreeServer getter functionsGravatar attilamolnar2012-09-301-3/+3
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+16
|
* Fix some of the include guard names (requested by SaberUK)Gravatar Justin Crawford2012-04-141-2/+2
|
* Fixes for bug #12Gravatar Justin Crawford2012-04-141-2/+2
|
* Move lots of spanningtree items to commandsGravatar danieldg2010-01-181-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove excessive gettimeofday system callsGravatar danieldg2010-01-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12293 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User::uuid and User::server constGravatar danieldg2009-10-231-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unneeded Extensible inheritance and remove "age" field from classbaseGravatar danieldg2009-09-021-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11611 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix PingFlag not being set correctly for servers whose burst takes longer ↵Gravatar danieldg2009-04-221-5/+0
| | | | | | than PingFreq git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Mark children of remote servers as bursting while their parent is burstingGravatar danieldg2009-03-141-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11217 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash when services (or a misbehaving remote server) introduces a server ↵Gravatar danieldg2009-03-051-5/+0
| | | | | | with duplicate SID git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11171 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke trailing spacesGravatar peavey2009-02-141-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Propegate BURST and ENDBURST network-wide for timing of bursts, and to keep ↵Gravatar w00t2008-02-031-1/+6
| | | | | | XLine application pending until the most opportune moment. Also do some general cleaning up. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8806 e03df62e-2008-0410-955e-edbf42e46eb7
* Broken, but.. show how many milliseconds a burst takes. Someone care to tell ↵Gravatar w00t2008-02-031-0/+4
| | | | | | me why this is fucked/fix it? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8801 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove an obsolete valueGravatar w00t2008-02-031-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8800 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix up some usercounts stuff.. to be tested.Gravatar w00t2008-01-071-10/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8655 e03df62e-2008-0410-955e-edbf42e46eb7