path: root/include
diff options
authorArturo Borrero Gonzalez <>2017-05-09 09:41:15 +0200
committerPablo Neira Ayuso <>2017-05-15 12:39:11 +0200
commit3d9849649ec617b45a57a50c93244c13ea8244e0 (patch)
tree97e7bd7ff155d6b89798076482be13c0277e4a76 /include
parentd31baccc493ec6484bfcb51d6bce78ff8c3ddc64 (diff)
conntrackd: request resync at startup
If a node goes to live, ask the other for resync at startup. This has to be done usually by hand, but I guess is an operation common enough to add some bits to ease people life here. Signed-off-by: Arturo Borrero Gonzalez <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include')
2 files changed, 2 insertions, 0 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h
index 27e43db..1a7ea66 100644
--- a/include/conntrackd.h
+++ b/include/conntrackd.h
@@ -111,6 +111,7 @@ struct ct_conf {
int event_iterations_limit;
int systemd;
int running_mode;
+ int startup_resync;
struct {
int error_queue_length;
} channelc;
diff --git a/include/resync.h b/include/resync.h
index 5986600..827e38a 100644
--- a/include/resync.h
+++ b/include/resync.h
@@ -3,5 +3,6 @@
void resync_req(void);
void resync_send(int (*do_cache_to_tx)(void *data1, void *data2));
+void resync_at_startup(void);
#endif /*_RESYNC_H_ */