aboutsummaryrefslogtreecommitdiff
path: root/src/lib/net/socket.c
AgeCommit message (Collapse)Author
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-12-20Code Style: Delete PRIVATE defines that are never usedteor
Some ".c" files define *_PRIVATE macros, but those macros are not used in any header file. Delete them. These changes were created using the "make autostyle" from 32522, and then split into commits.
2019-09-30Re-run "make autostyle" with improved annotate_ifdef_directivesNick Mathewson
2019-06-05Run "make autostyle."Nick Mathewson
2019-01-16Bump copyright date to 2019Nick Mathewson
2019-01-08lib/net: improve the docs for tor_{ersatz_,}socketpair()teor
Add some details about IP family support, and point to tor_socketpair() from tor_ersatz_socketpair(). Closes ticket 29015.
2018-12-01Move net.inet.ip.random_id code to lib/net/Nick Mathewson
2018-09-20Add a tor_release_socket_ownership() function.Nick Mathewson
2018-08-01Refactor tor_ersatz_socketpair() not to need socket.Nick Mathewson
This change also makes tor_ersatz_socketpair() follow the same interface as socketpair() rather than tor_socketpair(), so it now needs to be wrapped in the same code as socketpair() does.
2018-08-01Extract tor_ersatz_socketpair into a new c fileNick Mathewson
I'm doing this because I want to make it a lower-level function again, so that we can use it without linking in the rest of the universe.
2018-07-10Rename torlog.[ch] to log.[ch]Nick Mathewson
Fun fact: these files used to be called log.[ch] until we ran into conflicts with systems having a log.h file. But now that we always include "lib/log/log.h", we should be fine.
2018-07-10File-level summary documentation for src/lib/*/*.[ch]Nick Mathewson
2018-06-28Move network_init to lib/netNick Mathewson
2018-06-28Move socket-errno code into lib/netNick Mathewson
2018-06-27Move read/write_all_to_socket into lib/net.Nick Mathewson
2018-06-27Move network code to libtor-net.Nick Mathewson
There are some additional changes to come: those points are marked by XXXX.