This repository was archived by the owner on Jan 19, 2023. It is now read-only.
  
  
  
  
  
Description
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?