]> git.droids-corp.org - dpdk.git/blobdiff - lib/eal/include/rte_bitops.h
ip_frag: add IPv4 options fragment
[dpdk.git] / lib / eal / include / rte_bitops.h
index 141e8ea7305cfcb69c687bf50b9244f9b1ed0036..f50dbe43880ccd5fb45e5545aa06183afc396b0e 100644 (file)
 #include <rte_debug.h>
 #include <rte_compat.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * Get the uint64_t value for a specified bit set.
  *
@@ -271,4 +275,8 @@ rte_bit_relaxed_test_and_clear64(unsigned int nr, volatile uint64_t *addr)
        return val & mask;
 }
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _RTE_BITOPS_H_ */