summaryrefslogtreecommitdiff
path: root/node/Packet.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-28 10:41:43 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-28 10:41:43 -0800
commit8b65b3e6d78fdf4be82ab79f37c477bf2b675c0e (patch)
tree86f135242f584b3dd49ccce1b636227537b4d7dd /node/Packet.hpp
parentffffc0179f57a2b2de0a4bf09a354f2fa5498be5 (diff)
downloadinfinitytier-8b65b3e6d78fdf4be82ab79f37c477bf2b675c0e.tar.gz
infinitytier-8b65b3e6d78fdf4be82ab79f37c477bf2b675c0e.zip
Yank PROBE stuff since it's not used and was a premature addition to the protocol.
Diffstat (limited to 'node/Packet.hpp')
-rw-r--r--node/Packet.hpp33
1 files changed, 1 insertions, 32 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp
index be5ffb54..1b1414aa 100644
--- a/node/Packet.hpp
+++ b/node/Packet.hpp
@@ -225,16 +225,6 @@
#define ZT_PROTO_VERB_NETWORK_CONFIG_REQUEST__OK__IDX_DICT_LEN (ZT_PROTO_VERB_NETWORK_CONFIG_REQUEST__OK__IDX_NETWORK_ID + 8)
#define ZT_PROTO_VERB_NETWORK_CONFIG_REQUEST__OK__IDX_DICT (ZT_PROTO_VERB_NETWORK_CONFIG_REQUEST__OK__IDX_DICT_LEN + 2)
-#define ZT_PROTO_VERB_PROBE_IDX_TIMESTAMP (ZT_PACKET_IDX_PAYLOAD)
-#define ZT_PROTO_VERB_PROBE_LEN_TIMESTAMP 8
-#define ZT_PROTO_VERB_PROBE_IDX_MS_SINCE_LAST_SEND (ZT_PROTO_VERB_PROBE_IDX_TIMESTAMP + ZT_PROTO_VERB_PROBE_LEN_TIMESTAMP)
-#define ZT_PROTO_VERB_PROBE_LEN_MS_SINCE_LAST_SEND 8
-
-#define ZT_PROTO_VERB_PROBE__OK__IDX_TIMESTAMP (ZT_PACKET_IDX_PAYLOAD)
-#define ZT_PROTO_VERB_PROBE__OK__LEN_TIMESTAMP 8
-#define ZT_PROTO_VERB_PROBE__OK__IDX_MS_SINCE_LAST_SEND (ZT_PROTO_VERB_PROBE_IDX_TIMESTAMP + ZT_PROTO_VERB_PROBE_LEN_TIMESTAMP)
-#define ZT_PROTO_VERB_PROBE__OK__LEN_MS_SINCE_LAST_SEND 8
-
// ---------------------------------------------------------------------------
namespace ZeroTier {
@@ -621,28 +611,7 @@ public:
* It does not generate an OK or ERROR message, and is treated only as
* a hint to refresh now.
*/
- VERB_NETWORK_CONFIG_REFRESH = 12,
-
- /* Probe peer connection status:
- * <[8] 64-bit timestamp>
- * <[8] 64-bit milliseconds since last send to this peer>
- *
- * This message is sent to probe the status of a peer and to confirm
- * new link-layer addresses. Upon receipt an OK is generated which
- * echoes the time and responds with the number of milliseconds since
- * the recipient has last sent a packet to the sender.
- *
- * Using these delay times, a peer may determine if its current route
- * to another peer is likely dead and default to another route (e.g.
- * reverting to relaying).
- *
- * OK response payload:
- * <[8] 64-bit timestamp echoed from request>
- * <[8] 64-bit milliseconds since last send to requesitng peer>
- *
- * ERROR is not generated.
- */
- VERB_PROBE = 13
+ VERB_NETWORK_CONFIG_REFRESH = 12
};
/**