examples/packet_ordering: enhance getopt_long usage
[dpdk.git] / lib / librte_rib / rte_rib6.h
index 24faf46..dbd5292 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_ */