git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ice/base: clean code in flow director module
[dpdk.git]
/
lib
/
librte_rib
/
rte_rib6.h
diff --git
a/lib/librte_rib/rte_rib6.h
b/lib/librte_rib/rte_rib6.h
index
24faf46
..
b5e1056
100644
(file)
--- a/
lib/librte_rib/rte_rib6.h
+++ b/
lib/librte_rib/rte_rib6.h
@@
-21,6
+21,10
@@
#include <rte_memcpy.h>
#include <rte_compat.h>
#include <rte_memcpy.h>
#include <rte_compat.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define RTE_RIB6_IPV6_ADDR_SIZE 16
/**
#define RTE_RIB6_IPV6_ADDR_SIZE 16
/**
@@
-339,4
+343,8
@@
__rte_experimental
void
rte_rib6_free(struct rte_rib6 *rib);
void
rte_rib6_free(struct rte_rib6 *rib);
-#endif /* _RTE_RIB_H_ */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _RTE_RIB6_H_ */