[qca-nss-ecm] Added route table notification handler.
Route table change is a major change in the running system.
Because of that, this handler will decelerate and defunct
the ECM db and all the new flows will create new
ECM connection entries.
Change-Id: I8a01ea8deaa21f31d4ba7ce79cb30cf71e493b0f
Signed-off-by: Murat Sezgin <msezgin@codeaurora.org>
diff --git a/ecm_db.h b/ecm_db.h
index 68871dc..451a046 100644
--- a/ecm_db.h
+++ b/ecm_db.h
@@ -20,6 +20,10 @@
#ifndef ECM_DB_H_
#define ECM_DB_H_
+#include <net/netfilter/nf_conntrack.h>
+
+struct ecm_db_connection_instance *ecm_db_connection_ipv4_from_ct_get_and_ref(struct nf_conn *ct);
+struct ecm_db_connection_instance *ecm_db_connection_ipv6_from_ct_get_and_ref(struct nf_conn *ct);
uint32_t ecm_db_time_get(void);
void ecm_db_connection_defunct_all(void);
#ifdef ECM_DB_XREF_ENABLE