]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_rib/rte_rib6.h
examples/packet_ordering: enhance getopt_long usage
[dpdk.git] / lib / librte_rib / rte_rib6.h
index 24faf4632859bdb9094e12f4aa265a5634a21c67..dbd52928a243eae49f2e26ec7cec8781e256f4bc 100644 (file)
 
 #include <rte_memcpy.h>
 #include <rte_compat.h>
+#include <rte_common.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 #define RTE_RIB6_IPV6_ADDR_SIZE        16
 
@@ -339,4 +344,8 @@ __rte_experimental
 void
 rte_rib6_free(struct rte_rib6 *rib);
 
-#endif /* _RTE_RIB_H_ */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _RTE_RIB6_H_ */