From 94545c3b50c6f87af702692ba171cacc577c669a Mon Sep 17 00:00:00 2001 From: irungentoo Date: Mon, 28 Apr 2014 20:27:23 -0400 Subject: Added some packet defines. --- toxcore/network.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toxcore') diff --git a/toxcore/network.h b/toxcore/network.h index 0e79954f..17b18a65 100644 --- a/toxcore/network.h +++ b/toxcore/network.h @@ -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. */ -- cgit v1.2.3