[qca-nss-drv] Add new APIs for type specific msg init

Add new APIs for type specific msg init which inturn would
call the nss_cmn_msg_init().

Change-Id: I8cad8d3f69beef5c968b1bd09810916bbe9fc80f
Signed-off-by: Sundarajan Srinivasan <sundaraj@codeaurora.org>
diff --git a/nss_tun6rd.c b/nss_tun6rd.c
index 705f041..a147017 100644
--- a/nss_tun6rd.c
+++ b/nss_tun6rd.c
@@ -188,7 +188,17 @@
 	nss_core_unregister_handler(if_num);
 }
 
+/*
+ * nss_tun6rd_msg_init()
+ *      Initialize nss_tun6rd msg.
+ */
+void nss_tun6rd_msg_init(struct nss_tun6rd_msg *ncm, uint16_t if_num, uint32_t type,  uint32_t len, void *cb, void *app_data)
+{
+        nss_cmn_msg_init(&ncm->cm, if_num, type, len, cb, app_data);
+}
+
 EXPORT_SYMBOL(nss_tun6rd_get_context);
 EXPORT_SYMBOL(nss_tun6rd_tx);
 EXPORT_SYMBOL(nss_register_tun6rd_if);
 EXPORT_SYMBOL(nss_unregister_tun6rd_if);
+EXPORT_SYMBOL(nss_tun6rd_msg_init);