mirror of https://github.com/aya-rs/aya
14 lines
456 B
C
14 lines
456 B
C
4 years ago
|
#include <linux/bpf.h>
|
||
|
#include <linux/btf.h>
|
||
|
#include <linux/perf_event.h>
|
||
|
#include <linux/if_link.h>
|
||
4 years ago
|
#include <linux/rtnetlink.h>
|
||
|
#include <asm-generic/socket.h>
|
||
4 years ago
|
#include <linux/pkt_sched.h>
|
||
|
#include <linux/pkt_cls.h>
|
||
4 years ago
|
|
||
|
/* workaround the fact that bindgen can't parse the IOC macros */
|
||
|
int AYA_PERF_EVENT_IOC_ENABLE = PERF_EVENT_IOC_ENABLE;
|
||
|
int AYA_PERF_EVENT_IOC_DISABLE = PERF_EVENT_IOC_DISABLE;
|
||
4 years ago
|
int AYA_PERF_EVENT_IOC_SET_BPF = PERF_EVENT_IOC_SET_BPF;
|