1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef _NF_CONNTRACK_BPF_H
4 #define _NF_CONNTRACK_BPF_H
5 
6 #include <linux/btf.h>
7 #include <linux/kconfig.h>
8 
9 #if (IS_BUILTIN(CONFIG_NF_CONNTRACK) && IS_ENABLED(CONFIG_DEBUG_INFO_BTF)) || \
10     (IS_MODULE(CONFIG_NF_CONNTRACK) && IS_ENABLED(CONFIG_DEBUG_INFO_BTF_MODULES))
11 
12 extern int register_nf_conntrack_bpf(void);
13 
14 #else
15 
16 static inline int register_nf_conntrack_bpf(void)
17 {
18 	return 0;
19 }
20 
21 #endif
22 
23 #endif /* _NF_CONNTRACK_BPF_H */
24