Merge "[qca-nss-drv] Add broadcast byte field in legacy tx stats"
diff --git a/exports/nss_capwap.h b/exports/nss_capwap.h
index 73c655d..b16b3e1 100644
--- a/exports/nss_capwap.h
+++ b/exports/nss_capwap.h
@@ -354,6 +354,8 @@
/**< Set to 1 when tunnel is operating in fast memory. */
};
+#ifdef __KERNEL__ /* only kernel will use. */
+
/**
* Callback function for receiving CAPWAP tunnel data.
*
@@ -562,4 +564,5 @@
* @}
*/
+#endif /* __KERNEL__ */
#endif /* __NSS_CAPWAP_H */
diff --git a/exports/nss_dtls_cmn.h b/exports/nss_dtls_cmn.h
index f11aba9..af13ce6 100644
--- a/exports/nss_dtls_cmn.h
+++ b/exports/nss_dtls_cmn.h
@@ -1,6 +1,6 @@
/*
**************************************************************************
- * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all copies.
@@ -199,6 +199,7 @@
} msg; /**< Message payload for DTLS session messages exchanged with NSS core. */
};
+#ifdef __KERNEL__ /* only for kernel use. */
/**
* Callback function for receiving DTLS messages.
*
@@ -388,4 +389,5 @@
* @}
*/
+#endif /* __KERNEL__ */
#endif /* _NSS_DTLS_CMN_H_. */