1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 08:14:15 +00:00

Merge pull request #18 from meeh420/master

Fix. Thanks to zzz @ #i2p-dev
This commit is contained in:
orignal 2014-01-30 06:22:57 -08:00
commit aa1f58d81a

3
SSU.h
View File

@ -26,10 +26,11 @@ namespace ssu
const int SSU_MTU = 1484;
// payload types (3 bits)
// payload types (4 bits)
const uint8_t PAYLOAD_TYPE_SESSION_REQUEST = 0;
const uint8_t PAYLOAD_TYPE_SESSION_CREATED = 1;
const uint8_t PAYLOAD_TYPE_SESSION_CONFIRMED = 2;
const uint8_t PAYLOAD_TYPE_SESSION_DESTROY = 8;
const uint8_t PAYLOAD_TYPE_RELAY_REQUEST = 3;
const uint8_t PAYLOAD_TYPE_RELAY_RESPONSE = 4;
const uint8_t PAYLOAD_TYPE_RELAY_INTRO = 5;