sched: move grinder configuration
[dpdk.git] / lib / bpf / bpf_def.h
index fa91253..f08cd91 100644 (file)
@@ -7,6 +7,10 @@
 #ifndef _RTE_BPF_DEF_H_
 #define _RTE_BPF_DEF_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @file
  *
@@ -140,4 +144,8 @@ struct ebpf_insn {
  */
 #define        EBPF_FUNC_MAX_ARGS      (EBPF_REG_6 - EBPF_REG_1)
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* RTE_BPF_DEF_H_ */