xdp-project / xdp-tutorial

XDP tutorial
2.33k stars 562 forks source link

extend COMMON_OBJS #420

Closed subaroon closed 1 month ago

subaroon commented 1 month ago

Regarding to packet03-redirecting, added common_user_bpf_xdp.o to COMMON_OBJS. In packet03-redirecting/xdp_prog_user.c, common/common_user_bpf_xdp.h is included, but common_user_bpf_xdp.o is not included in COMMON_OBJS. This omission causes the build to fail during assignment3, as open_bpf_map_file() cannot be referenced.