summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.c
AgeCommit message (Expand)Author
2020-05-17Format comments according to tokstyle's requirements.iphydf
2020-05-05refactor: Remove multi-declarators entirely.iphydf
2020-05-05refactor: Disallow multiple initialised declarators per decl.iphydf
2020-05-04Add logging to TCP and onion client.iphydf
2020-04-19Invert `not_valid` functions and name them `is_valid`.iphydf
2020-03-22fix typo: now we periodically try to send direct packets when connected by tcpzugz (tox)
2020-03-14Fix up comments a bit to start being more uniform.iphydf
2020-03-14Use spdx license identifier instead of GPL blurb.iphydf
2020-03-14use -1 rather than ~0 in unsigned integer typeszugz (tox)
2019-12-25don't wait for connection when killing Toxsudden6
2019-12-23fix invalid use of mutexsudden6
2019-01-03Fix indices calculation for congestion control.Evgeny Kurnevsky
2018-09-03Avoid use of global mutable state in mono_time on win32.iphydf
2018-08-27try ipv6 connections even after udp timeoutzugz (tox)
2018-08-27Make `ip_is_lan` return bool instead of 0/-1.iphydf
2018-08-26Update copyright to 2018.iphydf
2018-08-19make Mono_Time an argument to current_time_monotoniczugz (tox)
2018-08-16Use per-instance `Mono_Time` for Messenger and onion.iphydf
2018-08-16Reduce the number of times `unix_time_update` is called.iphydf
2018-07-19Collect `PACKET_ID*` constants in `net_crypto.h`, cleanup their usesJan Malakhovski
2018-07-18replace LOGGER_ERROR with LOGGER_DEBUG on send_data_packet() failure in send_...zugz
2018-07-09Factor out time keeping code into its own module: mono_time.c.iphydf
2018-07-08Use named function types for callbacks in net_crypto.iphydf
2018-07-08Rename `BS_LIST` to `BS_List` to follow the naming conventions.iphydf
2018-07-05Make tox.c unambiguously parseable.iphydf
2018-06-29Correct check for net_crypto packet index.Evgeny Kurnevsky
2018-06-28Various minor cleanups in `net_crypto`.iphydf
2018-06-24Add Logger to various net_crypto functions.iphydf
2018-06-22Make the net_crypto connection state an enum.iphydf
2018-06-17Minor cleanup: return early on error condition.iphydf
2018-05-29Fix enumeration of Crypto_Connection instancesPavel Karelin
2018-05-23Fix the often call of event tox_friend_connection_statusPavel Karelin
2018-05-20Finish @Diadlo's network Family abstraction.iphydf
2018-05-20Move system header includes from network.h to network.ciphydf
2018-04-03add comment to func cryptpacket_receivedhqwrong
2018-02-24Fix a bunch of compiler warnings and remove suppressions.iphydf
2018-02-24Some minor cleanups suggested by cppcheck.iphydf
2018-02-14Get rid of the only GNU extension we used.iphydf
2018-01-30Use nullptr as NULL pointer constant instead of NULL or 0.iphydf
2018-01-16Make DHT a module-private type.iphydf
2018-01-16Make Net_Crypto a module-private type.iphydf
2018-01-16Use apidsl to generate LAN_discovery.h.iphydf
2018-01-14Add random_u16 function and rename the others to match.iphydf
2018-01-10Fix formatting in some C files.iphydf
2017-08-24AF_INET -> TOX_AF_INETDiadlo
2017-06-06Fix non-portable zeroing out of doublesMaxim Biro
2017-06-05Document inverted mutex lock/unlock.iphydf
2017-02-26Add part of platform-independent network API implementationDiadlo
2017-01-28Add VLA compatibility macro for C89-ish compilers.iphydf
2017-01-19Update license headers and remove redundant file name comment.iphydf