summaryrefslogtreecommitdiffstats
path: root/src/receive.c
AgeCommit message (Collapse)Author
2014-08-24Coding style: always add a space between a pointer's type and the *Matthias Schiffer
2014-08-24Use simple int64_t timestamps in ms instead of timespecsMatthias Schiffer
2014-08-24Merge peer config into peer structureMatthias Schiffer
With this refactoring, the structure fastd_peer_config_t is merged into fastd_peer_t, and fastd_remote_config_t into fastd_remote_t. This also means we now create peers directly when reading their configurations, which significantly simplifies the whole reload process, and prepares for some future optimizations like a key hash table. Note: This commit is too big, but I couldn't come up with a nice way to split it into smaller pieces...
2014-06-14Add missing sys/uio.h includesMatthias Schiffer
2014-05-31Remove EINTR handling where signals are blocked anywaysMatthias Schiffer
2014-05-31Make log levels verbose and info more usefulMatthias Schiffer
2014-05-28Still more documentationMatthias Schiffer
2014-05-27A bit more fastd.h cleanupMatthias Schiffer
2014-05-27Merge handle_forward into fastd_send_dataMatthias Schiffer
2014-05-25Completely document fastd.hMatthias Schiffer
2014-05-25Make a few struct fields that are not supposed to be changed defines insteadMatthias Schiffer
2014-05-22Move fastd_handle_receive() to receive.cMatthias Schiffer
2014-04-26Make on-verify support optionalMatthias Schiffer
2014-04-20Make ctx globalMatthias Schiffer
2014-04-20Make conf globalMatthias Schiffer
2014-04-19Keep peers in a hash table to allow fast address lookupsMatthias Schiffer
2014-04-19Store peers as vectors of pointers instead of linked listsMatthias Schiffer
2014-04-11Improve shell command config handlingMatthias Schiffer
2014-03-14Adjust copyright yearsMatthias Schiffer
2014-03-10Remove aligned data_t type againMatthias Schiffer
2014-01-27Add an aligned uint8_t type data_t and use it to ensure the alignment of ↵Matthias Schiffer
various buffers on the stack
2014-01-26Apply the unknown peer handshake timeout to all peersMatthias Schiffer
2014-01-26Add timeout helpersMatthias Schiffer
2014-01-26Add minimum handshake interval for unknown addresses (handles up to 8 ↵Matthias Schiffer
addresses for now)
2013-11-29Compile with -std=c99 and restructure some code to ensure there is no ↵Matthias Schiffer
invalid aliasing (hopefully)
2013-11-20Replace max_packet_size functions by a max_overhead fieldMatthias Schiffer
2013-10-19Get rid of packet.hMatthias Schiffer
2013-08-20Fix lots of -Wextra warningsMatthias Schiffer
Everything clang and GCC warn about, except GCC's missing-field-initializers which are just stupid as they don't allow {} syntax to zero a field.
2013-08-07Guard socket options not available on FreeBSDMatthias Schiffer
2013-07-25Move more code out of fastd.cMatthias Schiffer