summaryrefslogtreecommitdiff
path: root/auto_tests/network_test.c
AgeCommit message (Collapse)Author
2016-02-27Move argument comments to the end of lineRoman Yepishev
2016-02-27Remove unused main() argumentsRoman Yepishev
2016-02-27Remove magic numbers from addr_resolveRoman Yepishev
* Add #defines for INET/INET6 returns * Remove magic number 3 - exact AF_INET/INET6 result found. * Updated network_test.c
2014-09-26Removed now useless network sturct size tests.irungentoo
2014-08-09Remove DEFTESTCASE and DEFTESTCASE_SLOW redefinitionspyruvate
2014-04-15Major protocol changes, this commit breaks all network compatibility.irungentoo
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.
2014-02-18Astyled and added tests.irungentoo
2014-02-17Fixed test issue.irungentoo
2014-01-21random_nodes_path should return slightly better paths.irungentoo
Fixed test in network_test failing on some machines because of localhost ipv6 issues.
2013-12-07Added/updated some basic docs and cleaned up some things.irungentoo
2013-09-27Permit -Wshadow as useful warning.Coren[m]
2013-09-17astyled everything.irungentoo
2013-09-15Fix in ip_equal, plus testing code which led to that fix...Coren[m]
network.c: - use the correct macro for IPv4-in-IPv6 test network_test.c: - bunch of tests for addr_resolve() and ip_equal()