#include cleanup of Multicast.*

This commit is contained in:
Ivan Skytte Jørgensen
2016-09-12 13:45:42 +02:00
parent 6e91c3873e
commit b5ce10d48d
2 changed files with 11 additions and 13 deletions

@ -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

@ -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 {