linux_wrapper.h 485 B

1234567891011121314
  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/netfilter.h>
  6. #include <linux/perf_event.h>
  7. #include <linux/pkt_cls.h>
  8. #include <linux/pkt_sched.h>
  9. #include <linux/rtnetlink.h>
  10. /* workaround the fact that bindgen can't parse the IOC macros */
  11. int AYA_PERF_EVENT_IOC_ENABLE = PERF_EVENT_IOC_ENABLE;
  12. int AYA_PERF_EVENT_IOC_DISABLE = PERF_EVENT_IOC_DISABLE;
  13. int AYA_PERF_EVENT_IOC_SET_BPF = PERF_EVENT_IOC_SET_BPF;