diff options
author | irungentoo <irungentoo@gmail.com> | 2014-04-28 20:27:23 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-04-28 20:27:23 -0400 |
commit | 94545c3b50c6f87af702692ba171cacc577c669a (patch) | |
tree | c4037825f1ce37c4460440ea8fbb7b5f8d508ea6 /toxcore/network.h | |
parent | b9370d519ff87020cf32f3d04b6a2c4eebcc9563 (diff) |
Added some packet defines.
Diffstat (limited to 'toxcore/network.h')
-rw-r--r-- | toxcore/network.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; | |||
128 | #define NET_PACKET_DATA 18 /* Data packet ID. */ | 128 | #define NET_PACKET_DATA 18 /* Data packet ID. */ |
129 | #define NET_PACKET_COOKIE_REQUEST 24 /* Cookie request packet */ | 129 | #define NET_PACKET_COOKIE_REQUEST 24 /* Cookie request packet */ |
130 | #define NET_PACKET_COOKIE_RESPONSE 25 /* Cookie response packet */ | 130 | #define NET_PACKET_COOKIE_RESPONSE 25 /* Cookie response packet */ |
131 | #define NET_PACKET_CRYPTO_HS 26 /* Crypto handshake packet */ | ||
132 | #define NET_PACKET_CRYPTO_DATA 27 /* Crypto data packet */ | ||
131 | #define NET_PACKET_CRYPTO 32 /* Encrypted data packet ID. */ | 133 | #define NET_PACKET_CRYPTO 32 /* Encrypted data packet ID. */ |
132 | #define NET_PACKET_LAN_DISCOVERY 33 /* LAN discovery packet ID. */ | 134 | #define NET_PACKET_LAN_DISCOVERY 33 /* LAN discovery packet ID. */ |
133 | #define NET_PACKET_GROUP_CHATS 48 /* Group chats packet ID. */ | 135 | #define NET_PACKET_GROUP_CHATS 48 /* Group chats packet ID. */ |