├── .gitignore ├── CMakeLists.txt ├── COPYING ├── COPYING.GPL ├── Makefile ├── README.md ├── VERSION ├── bro-pkg.meta ├── cmake ├── FindKernelHeaders.cmake └── FindLibBPF.cmake ├── configure ├── configure.plugin ├── scripts ├── __load__.bro └── init.bro ├── src ├── AF_XDP.cc ├── AF_XDP.h ├── Plugin.cc ├── Plugin.h ├── XDP_BPF.cc ├── XDP_BPF.h ├── XDP_Ring.h ├── af_xdp.bif └── bpf │ ├── bpf.c │ └── bpf_helpers.h └── tests ├── Makefile ├── Scripts └── get-bro-env ├── af_xdp └── show-plugin.bro └── btest.cfg /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/COPYING -------------------------------------------------------------------------------- /COPYING.GPL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/COPYING.GPL -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/README.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.1 2 | -------------------------------------------------------------------------------- /bro-pkg.meta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/bro-pkg.meta -------------------------------------------------------------------------------- /cmake/FindKernelHeaders.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/cmake/FindKernelHeaders.cmake -------------------------------------------------------------------------------- /cmake/FindLibBPF.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/cmake/FindLibBPF.cmake -------------------------------------------------------------------------------- /configure: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/configure -------------------------------------------------------------------------------- /configure.plugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/configure.plugin -------------------------------------------------------------------------------- /scripts/__load__.bro: -------------------------------------------------------------------------------- 1 | @load ./init.bro 2 | -------------------------------------------------------------------------------- /scripts/init.bro: -------------------------------------------------------------------------------- 1 | module AF_XDP; 2 | 3 | export { 4 | } 5 | -------------------------------------------------------------------------------- /src/AF_XDP.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/src/AF_XDP.cc -------------------------------------------------------------------------------- /src/AF_XDP.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/src/AF_XDP.h -------------------------------------------------------------------------------- /src/Plugin.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/src/Plugin.cc -------------------------------------------------------------------------------- /src/Plugin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/src/Plugin.h -------------------------------------------------------------------------------- /src/XDP_BPF.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/src/XDP_BPF.cc -------------------------------------------------------------------------------- /src/XDP_BPF.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/src/XDP_BPF.h -------------------------------------------------------------------------------- /src/XDP_Ring.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/src/XDP_Ring.h -------------------------------------------------------------------------------- /src/af_xdp.bif: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/bpf/bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/src/bpf/bpf.c -------------------------------------------------------------------------------- /src/bpf/bpf_helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/src/bpf/bpf_helpers.h -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/tests/Makefile -------------------------------------------------------------------------------- /tests/Scripts/get-bro-env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/tests/Scripts/get-bro-env -------------------------------------------------------------------------------- /tests/af_xdp/show-plugin.bro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/tests/af_xdp/show-plugin.bro -------------------------------------------------------------------------------- /tests/btest.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irtimmer/bro-xdp_packet-plugin/HEAD/tests/btest.cfg --------------------------------------------------------------------------------