These are a basic sample using BPF and XDP. For build and run, go to root directory (../) and run the following command:
make run-samples
Do not forget to insert the root password in order to load the BPF object file in the kernel.
FIXME: sock3ex compile, run, but the behavior is that the packet was not counted.