diff options
Diffstat (limited to 'toxcore/network.h')
-rw-r--r-- | toxcore/network.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/toxcore/network.h b/toxcore/network.h index 0eb7bbd0..633f8010 100644 --- a/toxcore/network.h +++ b/toxcore/network.h | |||
@@ -122,12 +122,6 @@ typedef int sock_t; | |||
122 | #define NET_PACKET_LAN_DISCOVERY 33 /* LAN discovery packet ID. */ | 122 | #define NET_PACKET_LAN_DISCOVERY 33 /* LAN discovery packet ID. */ |
123 | #define NET_PACKET_GROUP_CHATS 48 /* Group chats packet ID. */ | 123 | #define NET_PACKET_GROUP_CHATS 48 /* Group chats packet ID. */ |
124 | 124 | ||
125 | /* Range of ids that custom user packets can use. */ | ||
126 | #define NET_PACKET_CUSTOM_RANGE_START 64 | ||
127 | #define NET_PACKET_CUSTOM_RANGE_END 96 | ||
128 | |||
129 | #define TOTAL_USERPACKETS (NET_PACKET_CUSTOM_RANGE_END - NET_PACKET_CUSTOM_RANGE_START) | ||
130 | |||
131 | /* See: docs/Prevent_Tracking.txt and onion.{c, h} */ | 125 | /* See: docs/Prevent_Tracking.txt and onion.{c, h} */ |
132 | #define NET_PACKET_ONION_SEND_INITIAL 128 | 126 | #define NET_PACKET_ONION_SEND_INITIAL 128 |
133 | #define NET_PACKET_ONION_SEND_1 129 | 127 | #define NET_PACKET_ONION_SEND_1 129 |