mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-14 02:36:06 -04:00
#include cleanup of Multicast.*
This commit is contained in:
@ -1,15 +1,9 @@
|
||||
#include "gb-include.h"
|
||||
|
||||
|
||||
// i guess both msg0 send requests failed with no route to host,
|
||||
//and they got retired... why didnt they switch to eth1????
|
||||
|
||||
|
||||
#include "Multicast.h"
|
||||
#include "Rdb.h" // RDB_TITLEDB
|
||||
#include "Msg20.h"
|
||||
#include "Profiler.h"
|
||||
#include "UdpServer.h"
|
||||
#include "Hostdb.h"
|
||||
#include "Stats.h"
|
||||
#include "Conf.h"
|
||||
#include "Loop.h" // registerSleepCallback()
|
||||
#include "Process.h"
|
||||
|
||||
// up to 10 twins in a group
|
||||
|
10
Multicast.h
10
Multicast.h
@ -17,9 +17,10 @@
|
||||
#ifndef GB_MULTICAST_H
|
||||
#define GB_MULTICAST_H
|
||||
|
||||
#include "Hostdb.h" // getGroup(), getTimes(), stampHost()
|
||||
#include "UdpServer.h" // sendRequest()
|
||||
#include "Loop.h" // registerSleepCallback()
|
||||
#include "MsgType.h"
|
||||
#include <inttypes.h>
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
#define MAX_HOSTS_PER_GROUP 10
|
||||
|
||||
@ -31,6 +32,9 @@ static const int64_t multicast_msg3a_default_timeout = 10000;
|
||||
static const int64_t multicast_msg3a_maximum_timeout = 60000;
|
||||
static const int64_t multicast_msg1c_getip_default_timeout = 60000;
|
||||
|
||||
class UdpSlot;
|
||||
class Host;
|
||||
|
||||
|
||||
class Multicast {
|
||||
|
||||
|
Reference in New Issue
Block a user