diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-06 15:28:48 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-06 15:28:48 -0700 |
commit | 79e9a8bcc26491a43577082ec7edb86020f7ec00 (patch) | |
tree | b6a834f0f826185c562921260b75bdd6e6659c32 /node/Packet.hpp | |
parent | fad9dff2db26662e1496329057884b3b928cb1c9 (diff) | |
download | infinitytier-79e9a8bcc26491a43577082ec7edb86020f7ec00.tar.gz infinitytier-79e9a8bcc26491a43577082ec7edb86020f7ec00.zip |
Almost everything for GitHub issue #180 except direct path map setup.
Diffstat (limited to 'node/Packet.hpp')
-rw-r--r-- | node/Packet.hpp | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp index 9b86709a..50471b06 100644 --- a/node/Packet.hpp +++ b/node/Packet.hpp @@ -233,16 +233,6 @@ */ #define ZT_PROTO_MIN_FRAGMENT_LENGTH ZT_PACKET_FRAGMENT_IDX_PAYLOAD -/** - * DEPRECATED: length of LAN beacon packets - */ -#define ZT_PROTO_BEACON_LENGTH 13 - -/** - * DEPRECATED: index of address in a LAN beacon - */ -#define ZT_PROTO_BEACON_IDX_ADDRESS 8 - // Destination address types from HELLO, OK(HELLO), and other message types #define ZT_PROTO_DEST_ADDRESS_TYPE_NONE 0 #define ZT_PROTO_DEST_ADDRESS_TYPE_ZEROTIER 1 // reserved but unused @@ -388,16 +378,6 @@ namespace ZeroTier { * * For unencrypted packets, MAC is computed on plaintext. Only HELLO is ever * sent in the clear, as it's the "here is my public key" message. - * - * Beacon format and beacon packets: - * <[8] 8 random bytes> - * <[5] sender ZT address> - * - * A beacon is a 13-byte packet containing only the address of the sender. - * Receiving peers may or may not respond to beacons with a HELLO or other - * message to initiate direct communication. - * - * Beacons may be used for direct LAN announcement or NAT traversal. */ class Packet : public Buffer<ZT_PROTO_MAX_PACKET_LENGTH> { @@ -901,6 +881,7 @@ public: * <[2] length of extended path characteristics or 0 for none> * <[...] extended path characteristics> * <[1] address type> + * <[1] address length in bytes> * <[...] address> * * Path record flags: |