Closed sbernard31 closed 4 years ago
It seems this could be possible to create python unit tests for bpf/XDP thanks to bpf: program testing framework
Here some example based on bcc/scapy.
Linux Observability with BPF: Advanced Programming for Performance Analysis and Networking book (by David Calavera, Lorenzo Fontana) contains also some hints.
Done since #34 is integrated in master.
It seems this could be possible to create python unit tests for bpf/XDP thanks to bpf: program testing framework
Here some example based on bcc/scapy.
Linux Observability with BPF: Advanced Programming for Performance Analysis and Networking book (by David Calavera, Lorenzo Fontana) contains also some hints.