Restructure includes.

This commit is contained in:
Christian Deacon
2025-02-24 15:35:23 -05:00
parent 42738c7670
commit d288a78775
9 changed files with 23 additions and 17 deletions

View File

@@ -3,12 +3,16 @@
#include <common/all.h>
#include <linux/bpf.h>
#include <linux/bpf_common.h>
#include <bpf_helpers.h>
#include <xdp/xdp_helpers.h>
#include <xdp/prog_dispatcher.h>
#ifdef __LIBXDP_STATIC__
#include <bpf_helpers.h>
#else
#include <bpf/bpf_helpers.h>
#endif
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)