net: make GetReceiveFloodSize public
This will be needed so that the message processor can cork incoming messages
This commit is contained in:
parent
e5bcd9c84f
commit
5b4a8ac6d6
1 changed files with 1 additions and 2 deletions
|
@ -324,6 +324,7 @@ public:
|
||||||
/** Get a unique deterministic randomizer. */
|
/** Get a unique deterministic randomizer. */
|
||||||
CSipHasher GetDeterministicRandomizer(uint64_t id);
|
CSipHasher GetDeterministicRandomizer(uint64_t id);
|
||||||
|
|
||||||
|
unsigned int GetReceiveFloodSize() const;
|
||||||
private:
|
private:
|
||||||
struct ListenSocket {
|
struct ListenSocket {
|
||||||
SOCKET socket;
|
SOCKET socket;
|
||||||
|
@ -365,8 +366,6 @@ private:
|
||||||
void DumpData();
|
void DumpData();
|
||||||
void DumpBanlist();
|
void DumpBanlist();
|
||||||
|
|
||||||
unsigned int GetReceiveFloodSize() const;
|
|
||||||
|
|
||||||
// Network stats
|
// Network stats
|
||||||
void RecordBytesRecv(uint64_t bytes);
|
void RecordBytesRecv(uint64_t bytes);
|
||||||
void RecordBytesSent(uint64_t bytes);
|
void RecordBytesSent(uint64_t bytes);
|
||||||
|
|
Loading…
Add table
Reference in a new issue