summaryrefslogtreecommitdiff
path: root/node/Packet.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-23 14:38:20 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-23 14:38:20 -0700
commit0ee4d3554a072863caa59ca2b45122996258617e (patch)
tree41475cbbbd765cc1d9a01e7c3daa74e77a09ebea /node/Packet.hpp
parent0a7a33ef8fb8cd3cdf25c48bd221298279e690c2 (diff)
downloadinfinitytier-0ee4d3554a072863caa59ca2b45122996258617e.tar.gz
infinitytier-0ee4d3554a072863caa59ca2b45122996258617e.zip
Stub out USER_MESSAGE.
Diffstat (limited to 'node/Packet.hpp')
-rw-r--r--node/Packet.hpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp
index fed6aacf..0a5d3fec 100644
--- a/node/Packet.hpp
+++ b/node/Packet.hpp
@@ -1030,7 +1030,18 @@ public:
*
* ERROR has no payload.
*/
- VERB_REQUEST_PROOF_OF_WORK = 0x13
+ VERB_REQUEST_PROOF_OF_WORK = 0x13,
+
+ /**
+ * A message with arbitrary user-definable content:
+ * <[8] 64-bit arbitrary message type ID>
+ * [<[...] message payload>]
+ *
+ * This can be used to send arbitrary messages over VL1. It generates no
+ * OK or ERROR and has no special semantics outside of whatever the user
+ * (via the ZeroTier core API) chooses to give it.
+ */
+ VERB_USER_MESSAGE = 0x14
};
/**