Skip to content

Commit

Permalink
basic04: Update header name to xdp/libxdp.h
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Ji <1146876+kevinji@users.noreply.github.com>
  • Loading branch information
kevinji authored and tohojo committed Apr 12, 2024
1 parent 4c6a67f commit f418236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basic04-pinning-maps/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ lesson. Thus, this functions as the reference solution for basic03.

When splitting up the [[file:../basic03-map-counter/xdp_load_and_stats.c][xdp_load_and_stats.c]] program into [[file:xdp_loader.c]]
and [[file:xdp_stats.c]], notice that xdp_stats.c no longer includes
=#<bpf/libbpf.h>=. This is because xdp_stats doesn't use any of the advanced
=#<xdp/libxdp.h>=. This is because xdp_stats doesn't use any of the advanced
libbpf "object" related functions, it only uses the basis bpf syscall
wrappers, which libbpf also provides.

Expand Down

0 comments on commit f418236

Please sign in to comment.