Tox Packet ID is a uint8_t
the valid packet range is from 0 ... 254
(255 is not included, i do not know the reason for this)
the packet ranges are defined here: https://github.com/zoff99/c-toxcore/blob/zoff99/zoxcore_local_fork/toxcore/net_crypto.h#L23-L42
kind:
LS lossless
LY lossy
172 lossless https://github.com/zoff99/c-toxcore/blob/zoff99/zoxcore_local_fork/toxav/rtp.c#L1260
PACKET_TOXAV_COMM_CHANNEL_FUNCTION: used for extended ToxAV commands https://github.com/zoff99/c-toxcore/blob/zoff99/zoxcore_local_fork/toxav/video.h#L57-L63
69 lossless https://github.com/zoff99/c-toxcore/blob/zoff99/zoxcore_local_fork/toxav/msi.c#L132
192 lossy https://github.com/zoff99/c-toxcore/blob/zoff99/zoxcore_local_fork/toxav/rtp.c#L1257
193 lossy https://github.com/zoff99/c-toxcore/blob/zoff99/zoxcore_local_fork/toxav/rtp.c#L1258
196 lossy https://github.com/zoff99/c-toxcore/blob/zoff99/zoxcore_local_fork/toxav/bwcontroller.c#L294
170 lossless https://github.com/zoff99/c-toxcore/blob/zoff99/zoxcore_local_fork/toxutil/toxutil.c#L41
CAP_PACKET_ID: use to signal for toxutil extension
172 lossless https://github.com/toxext/toxext/blob/master/src/toxext.c#L10
TOXEXT_MAGIC: used as start byte of UUID to signal ToxExt extension
170 lossless https://github.com/zoff99/ToxAndroidRefImpl/blob/zoff99/dev003/jni-c-toxcore/jni-c-toxcore.c#L1029
just forwarded to toxutil
176 lossless https://github.com/zoff99/ToxAndroidRefImpl/blob/zoff99/dev003/jni-c-toxcore/jni-c-toxcore.c#L1030
181 lossless https://github.com/zoff99/ToxAndroidRefImpl/blob/zoff99/dev003/jni-c-toxcore/jni-c-toxcore.c#L1031
175 lossless https://github.com/kaefert/ToxProxy/blob/master/src/ToxProxy.c#L1404
179 lossless https://github.com/kaefert/ToxProxy/blob/master/src/ToxProxy.c#L1394
174 lossless https://github.com/isotoxin/isotoxin/blob/master/source/plugins/proto_tox/proto_tox.cpp#L88
PACKETID_EXTENSION: used for commands and folder sharing
175 lossless https://github.com/isotoxin/isotoxin/blob/master/source/plugins/proto_tox/proto_tox.cpp#L89
PACKETID_VIDEO_EX: used for custom video
176 lossless https://github.com/isotoxin/isotoxin/blob/master/source/plugins/proto_tox/proto_tox.cpp#L90
PACKETID_AUDIO_EX: used for custom audio
162 lossless https://github.com/gjedeer/tuntox/blob/54289f5c94db7d8c14d228eb8dd0ba90d20c33db/main.h#L33