linux_wrapper.h 456 B

12345678910111213
  1. #include <asm-generic/socket.h>
  2. #include <linux/bpf.h>
  3. #include <linux/btf.h>
  4. #include <linux/if_link.h>
  5. #include <linux/perf_event.h>
  6. #include <linux/pkt_cls.h>
  7. #include <linux/pkt_sched.h>
  8. #include <linux/rtnetlink.h>
  9. /* workaround the fact that bindgen can't parse the IOC macros */
  10. int AYA_PERF_EVENT_IOC_ENABLE = PERF_EVENT_IOC_ENABLE;
  11. int AYA_PERF_EVENT_IOC_DISABLE = PERF_EVENT_IOC_DISABLE;
  12. int AYA_PERF_EVENT_IOC_SET_BPF = PERF_EVENT_IOC_SET_BPF;