]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_rib/rte_rib6.h
test mbuf attach
[dpdk.git] / lib / librte_rib / rte_rib6.h
index 24faf4632859bdb9094e12f4aa265a5634a21c67..b5e10569b926fd4f97c3955e204e2f4812a9cf45 100644 (file)
 #include <rte_memcpy.h>
 #include <rte_compat.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define RTE_RIB6_IPV6_ADDR_SIZE        16
 
 /**
@@ -339,4 +343,8 @@ __rte_experimental
 void
 rte_rib6_free(struct rte_rib6 *rib);
 
-#endif /* _RTE_RIB_H_ */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _RTE_RIB6_H_ */