summaryrefslogtreecommitdiffstats
path: root/src/task.c
AgeCommit message (Collapse)Author
2015-11-18Clean up peer task handlingMatthias Schiffer
2015-11-17Use task queue for peer resets and keepalivesMatthias Schiffer
This makes it unnecessary to iterate over all peers for maintenance, and desynchronizes different peers' keepalives.
2015-11-16Call ethernet address cleanup from generic maintenance taskMatthias Schiffer
2015-11-10Add lots of missing doxygen commentsMatthias Schiffer
2015-11-10Implement generic task queue to handle handshakes and maintenanceMatthias Schiffer
2013-08-29Replace old task queueMatthias Schiffer
The handshakes are now schedules in a doubly-linked list that is maintained as a part of the peer structure.
2013-08-29Simplify keepalive sendingMatthias Schiffer
By using a global keepalive timer, the O(n) keepalive queue purge operation on every send operation is avoided.
2013-08-28Remote unused fastd_task_replace_peer()Matthias Schiffer
2013-01-05Adjust copyright yearsMatthias Schiffer
2012-12-18Convert type names to _t conventionMatthias Schiffer
2012-11-05Get rid of some annoyances with peer limitsMatthias Schiffer
Remove some debug messages, and don't resolve peers again and again we don't want to connect to anyways.
2012-04-14Reduce task queue usageMatthias Schiffer
2012-04-02Fix handshake and keepalive schedulingMatthias Schiffer
2012-04-02Add sending of keep-alive packetsMatthias Schiffer
2012-04-01Fix handshakes occuring twice after unexpected data receiveMatthias Schiffer
2012-03-31Trigger handshake when unexpected data is received from a floating peerMatthias Schiffer
2012-03-31Change how handshakes are triggeredMatthias Schiffer
2012-03-30Rework handshake... again. ecfxp protocol broken, will be fixed with next ↵Matthias Schiffer
commit.
2012-03-28Add license headers to Flex and Bison files; also remove Quicktun note as we ↵Matthias Schiffer
don't actually use any of is code
2012-03-27New handshake format; don't respond to data packets from unknown peers with ↵Matthias Schiffer
handshakes, but request a re-handshake
2012-03-06Simplify queue functionsMatthias Schiffer
2012-03-06Reorganized type definitionsMatthias Schiffer
2012-03-02Delete pending tasks for deleted peersMatthias Schiffer
2012-03-02Allow floating peersMatthias Schiffer
2012-02-29Only send packets to the right host in ethernet modeMatthias Schiffer
2012-02-28Make simple handshake workMatthias Schiffer
2012-02-27Add timeout to task queueMatthias Schiffer
2012-02-27Use custom buffers instead of struct iovecMatthias Schiffer
2012-02-26Implement I/O for a fixed peerMatthias Schiffer