Skip to content

Commit 7b1c7ed

Browse files
committed
Fix AF_XDP tutorial include statement
libbpf now includes bpf_helpers.h so change the include statement to <bpf/bpf_helpers.h> Signed-off-by: Punith Patil <punithp007@gmail.com>
1 parent 4a5abdc commit 7b1c7ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

advanced03-AF_XDP/af_xdp_kern.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include <linux/bpf.h>
44

5-
#include "bpf_helpers.h"
5+
#include <bpf/bpf_helpers.h>
66

77
struct bpf_map_def SEC("maps") xsks_map = {
88
.type = BPF_MAP_TYPE_XSKMAP,

0 commit comments

Comments
 (0)