[qca-nss-ecm] Multicast fix for:
a) Ignoring multicast accel if ttl is less than two
b) Replaced nss_cmn_msg_init with ipv4/v6 msg_init
Change-Id: I993bd73655a2b66e4ae0b5ceb11b38a7acbf3de4
Signed-off-by: Shyam Sunder <ssunde@codeaurora.org>
diff --git a/ecm_tracker.h b/ecm_tracker.h
index 27a57c0..49cec58 100644
--- a/ecm_tracker.h
+++ b/ecm_tracker.h
@@ -143,6 +143,7 @@
int protocol; /* The upper layer transport protocol */
bool fragmented; /* True when fragmented */
uint8_t ds; /* DS field from packet */
+ uint8_t ttl; /* v4 TTL or v6 hop limit */
uint32_t ip_header_length; /* Length of the IP header plus any variable sized intrinsically attached options */
uint32_t total_length; /* total length of IP header including all extensions and payload. For v4 this is total_len, for v6 this is payload_len + size of the IP 6 header */
uint32_t payload_length; /* total_length - ip_header_length */