[qca-nss-drv] Export bridge verify API and rename function.

Export verify bridge API for qdisc client to use. Also change
_is_virtual() to _is_redirect() since thats what it is truly
checking for.

Change-Id: I86704f044dd45f184fa6e7346a30d08796e81d09
Signed-off-by: Sakthi Vignesh Radhakrishnan <sradhakr@codeaurora.org>
diff --git a/nss_cmn.c b/nss_cmn.c
index 44dc27b..b3661c5 100644
--- a/nss_cmn.c
+++ b/nss_cmn.c
@@ -153,10 +153,10 @@
 }
 
 /*
- * nss_cmn_interface_is_virtual()
- * 	Return true if the interface number is a virtual NSS interface
+ * nss_cmn_interface_is_redirect()
+ * 	Return true if the interface is a redirect interface.
  */
-bool nss_cmn_interface_is_virtual(struct nss_ctx_instance *nss_ctx, int32_t interface_num)
+bool nss_cmn_interface_is_redirect(struct nss_ctx_instance *nss_ctx, int32_t interface_num)
 {
 	return (nss_dynamic_interface_get_type(nss_ctx, interface_num) == NSS_DYNAMIC_INTERFACE_TYPE_WIFI)
 		|| (nss_dynamic_interface_get_type(nss_ctx, interface_num) == NSS_DYNAMIC_INTERFACE_TYPE_802_3_REDIR)
@@ -244,7 +244,7 @@
 EXPORT_SYMBOL(nss_cmn_get_interface_number);
 EXPORT_SYMBOL(nss_cmn_get_interface_dev);
 EXPORT_SYMBOL(nss_cmn_get_state);
-EXPORT_SYMBOL(nss_cmn_interface_is_virtual);
+EXPORT_SYMBOL(nss_cmn_interface_is_redirect);
 EXPORT_SYMBOL(nss_cmn_msg_init);
 EXPORT_SYMBOL(nss_cmn_get_interface_number_by_dev);