When compiling a .p4 file as described in the readme, clang cannot find the ebpf_xdp.h header:
/tmp/xdp1.h:6:10: fatal error: 'ebpf_xdp.h' file not found
The header file is included in this repository and says
This file contains all functions and definitions necessary for the xdp target C code to compile. It must be included with any file generated by the p4c-xdp compiler.
But how am I supposed to include it? Of course, I could hack this together somehow, but I'm wondering what is the correct way you intended for this. π Maybe the Readme needs an update?
When compiling a .p4 file as described in the readme, clang cannot find the
ebpf_xdp.hheader:The header file is included in this repository and says
But how am I supposed to include it? Of course, I could hack this together somehow, but I'm wondering what is the correct way you intended for this. π Maybe the Readme needs an update?