[qca-nss-ecm] Add conntrack connection limits

When a connection is associated with conntrack do not allow
more connections in the database than conntrack also allows.

Change-Id: I590f1382f462feb5e78cf116db79368511c0804b
Signed-off-by: Gareth Williams <garethw@codeaurora.org>
diff --git a/ecm_db.h b/ecm_db.h
index 1bcd0e3..025a333 100644
--- a/ecm_db.h
+++ b/ecm_db.h
@@ -20,6 +20,8 @@
 uint32_t ecm_db_time_get(void);
 void ecm_db_connection_defunct_all(void);
 
+int ecm_db_connection_count_get(void);
+
 void ecm_db_connection_data_totals_update_dropped(struct ecm_db_connection_instance *ci, bool is_from, uint64_t size, uint64_t packets);
 void ecm_db_connection_data_totals_update(struct ecm_db_connection_instance *ci, bool is_from, uint64_t size, uint64_t packets);