@@ -2,6 +2,9 @@
* Copyright 2017 Mellanox Technologies, Ltd
*/
+#ifndef _TAP_BPF_INSNS_H_
+#define _TAP_BPF_INSNS_H_
+
#include <tap_bpf.h>
/* bpf_insn array matching cls_q section. See tap_bpf_program.c file */
@@ -1694,3 +1697,5 @@ static struct bpf_insn l3_l4_hash_insns[] = {
{0xbf, 0, 7, 0, 0x00000000},
{0x95, 0, 0, 0, 0x00000000},
};
+
+#endif /* _TAP_BPF_INSNS_H_ */
@@ -3,8 +3,13 @@
* Copyright 2017 Mellanox Technologies, Ltd
*/
+#ifndef _TAP_LOG_H_
+#define _TAP_LOG_H_
+
extern int tap_logtype;
#define TAP_LOG(level, fmt, args...) \
rte_log(RTE_LOG_ ## level, tap_logtype, "%s(): " fmt "\n", \
__func__, ## args)
+
+#endif /* _TAP_LOG_H_ */