summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-01-14 10:03:03 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-01-14 10:03:03 +0100
commit133cee578e04e561bb17e37393bbf7e427522560 (patch)
tree4f08d1f1405e997e1d40674c1e78d4c9403f7457 /src/peer.h
parent51a1da3272c58e631fc5cecb181327bcceb5f311 (diff)
downloadfastd-133cee578e04e561bb17e37393bbf7e427522560.tar
fastd-133cee578e04e561bb17e37393bbf7e427522560.zip
Reset all connections on SIGUSR2
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peer.h b/src/peer.h
index 3181544..6fdaaa1 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -290,6 +290,7 @@ bool fastd_peer_find_by_eth_addr(const fastd_eth_addr_t addr, fastd_peer_t **pee
void fastd_peer_handle_handshake_queue(void);
void fastd_peer_maintenance(void);
+void fastd_peer_reset_all(void);
/** Adds statistics for a single packet of a given size */
static inline void fastd_stats_add(UNUSED fastd_peer_t *peer, UNUSED fastd_stat_type_t stat, UNUSED size_t bytes) {