mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
f9bf7b074a
Removed a bunch of useless space from various structs. pack_nodes() and unpack_nodes() are now used to transmit lists of nodes for the DHT and onion parts. They provide a way to transmit both ipv6 and ipv4 nodes in the same packet in a portable way that takes as little space as possible without compression. Using pack_nodes, merged the send nodes and send nodes ipv6 packets into one packet greatly reducing the risk of amplification attacks. |
||
---|---|---|
.. | ||
assoc_test.c | ||
crypto_test.c | ||
friends_test.c | ||
Makefile.inc | ||
messenger_test.c | ||
network_test.c | ||
onion_test.c | ||
skeleton_test.c | ||
TCP_test.c | ||
tox_test.c | ||
toxav_basic_test.c |