Added some packet defines.

This commit is contained in:
irungentoo 2014-04-28 20:27:23 -04:00
parent b9370d519f
commit 94545c3b50
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -128,6 +128,8 @@ typedef int sock_t;
#define NET_PACKET_DATA 18 /* Data packet ID. */
#define NET_PACKET_COOKIE_REQUEST 24 /* Cookie request packet */
#define NET_PACKET_COOKIE_RESPONSE 25 /* Cookie response packet */
#define NET_PACKET_CRYPTO_HS 26 /* Crypto handshake packet */
#define NET_PACKET_CRYPTO_DATA 27 /* Crypto data packet */
#define NET_PACKET_CRYPTO 32 /* Encrypted data packet ID. */
#define NET_PACKET_LAN_DISCOVERY 33 /* LAN discovery packet ID. */
#define NET_PACKET_GROUP_CHATS 48 /* Group chats packet ID. */