├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE.md ├── README.md └── example ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── build.rs ├── include ├── bpf_helpers.h ├── bpf_map.h ├── libbpf.h ├── nlattr.h └── uapi │ └── linux │ ├── bpf.h │ ├── if_link.h │ ├── netlink.h │ └── perf_event.h └── src ├── example.c └── main.rs /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | *.log -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [workspace] 2 | members = ["builder", "example"] -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/README.md -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | *.log 3 | src/example.rs -------------------------------------------------------------------------------- /example/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/Cargo.lock -------------------------------------------------------------------------------- /example/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/Cargo.toml -------------------------------------------------------------------------------- /example/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/build.rs -------------------------------------------------------------------------------- /example/include/bpf_helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/include/bpf_helpers.h -------------------------------------------------------------------------------- /example/include/bpf_map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/include/bpf_map.h -------------------------------------------------------------------------------- /example/include/libbpf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/include/libbpf.h -------------------------------------------------------------------------------- /example/include/nlattr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/include/nlattr.h -------------------------------------------------------------------------------- /example/include/uapi/linux/bpf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/include/uapi/linux/bpf.h -------------------------------------------------------------------------------- /example/include/uapi/linux/if_link.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/include/uapi/linux/if_link.h -------------------------------------------------------------------------------- /example/include/uapi/linux/netlink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/include/uapi/linux/netlink.h -------------------------------------------------------------------------------- /example/include/uapi/linux/perf_event.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/include/uapi/linux/perf_event.h -------------------------------------------------------------------------------- /example/src/example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/src/example.c -------------------------------------------------------------------------------- /example/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/evilsocket/clang-ebpf-builder/HEAD/example/src/main.rs --------------------------------------------------------------------------------