summaryrefslogtreecommitdiff
path: root/node/NetworkController.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-03-06 15:12:28 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-03-06 15:12:28 -0800
commit5e6a4e5f5e0022dccbc2f6cf8a8b38c038720866 (patch)
treed4db86aba95df3108b78f59f807e5f9e59456324 /node/NetworkController.hpp
parent66dfc33de91577012bb0e9ec22d2ef6bf18805ef (diff)
downloadinfinitytier-5e6a4e5f5e0022dccbc2f6cf8a8b38c038720866.tar.gz
infinitytier-5e6a4e5f5e0022dccbc2f6cf8a8b38c038720866.zip
Send revocations automatically on deauth for instant kill, also fix some issues with the RP.
Diffstat (limited to 'node/NetworkController.hpp')
-rw-r--r--node/NetworkController.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/node/NetworkController.hpp b/node/NetworkController.hpp
index fc5db4af..0634f435 100644
--- a/node/NetworkController.hpp
+++ b/node/NetworkController.hpp
@@ -24,11 +24,12 @@
#include "Constants.hpp"
#include "Dictionary.hpp"
#include "NetworkConfig.hpp"
+#include "Revocation.hpp"
+#include "Address.hpp"
namespace ZeroTier {
class Identity;
-class Address;
struct InetAddress;
/**
@@ -63,6 +64,14 @@ public:
virtual void ncSendConfig(uint64_t nwid,uint64_t requestPacketId,const Address &destination,const NetworkConfig &nc,bool sendLegacyFormatConfig) = 0;
/**
+ * Send revocation to a node
+ *
+ * @param destination Destination node address
+ * @param rev Revocation to send
+ */
+ virtual void ncSendRevocation(const Address &destination,const Revocation &rev) = 0;
+
+ /**
* Send a network configuration request error
*
* @param nwid Network ID