mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Added some packet defines.
This commit is contained in:
parent
b9370d519f
commit
94545c3b50
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue
Block a user