AF_XDP: add xsk.{c,h} to Makefile and fix build

This patch makes sure we build AF_XDP-related code as part of libbpf. This
also required copying few uapi/linux headers and adding few used definitions
in include headers.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
Andrii Nakryiko
2019-03-04 20:56:19 -08:00
committed by Andrii Nakryiko
parent 7a431904c8
commit cb658e9724
8 changed files with 208 additions and 35 deletions

2
src/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*.o
*.a