Hi Pablo, another patch series, some smaller fixes, and the big part is conntrackd with libevent. While looking for a nice solutions for the "huge sorted list of alarms" scaling problem, I thought about storing alarms in some sort of tree. After a quick look at libevent, I saw they did it exactly this way. Let's benchmark libevent against the existing alarm library. I don't think it's worth it to continue work on alarm.c, when well-tested code is already available in libevent. I did not update configure.ac yet to check for libevent, I am waiting for your benchmark results. Max --- Max Kellermann (11): remove the alarm library use libevent added handler callback to mcast_sock check if the received packet is large enough use size_t remove obsolete prototypes added missing ntohs() added alarm_pending() moved process function pointer to struct local_server added struct local_server -1 means error, not 0 include/Makefile.am | 2 - include/alarm.h | 33 --------- include/conntrackd.h | 6 +- include/local.h | 20 ++++- include/mcast.h | 16 +++- include/network.h | 8 +- src/Makefile.am | 4 + src/alarm.c | 191 -------------------------------------------------- src/build.c | 2 - src/cache_timer.c | 39 +++++++--- src/local.c | 42 +++++++---- src/main.c | 12 +++ src/mcast.c | 75 ++++++++++++++++++-- src/network.c | 22 +++--- src/run.c | 177 ++++++++++++++++++---------------------------- src/stats-mode.c | 1 src/sync-alarm.c | 58 ++++++++++----- src/sync-ftfw.c | 27 +++++-- src/sync-mode.c | 60 ++++------------ 19 files changed, 329 insertions(+), 466 deletions(-) delete mode 100644 include/alarm.h delete mode 100644 src/alarm.c - To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html