gnumaniacs/netsniff-ng — pull request #23 by eroullit (2011-12-23 10:41:15+00:00)
Title: Check bpf attach support

This changeset adapted the check performed by CMake in order to see if the target supports BPF on a PF_PACKET socket.

If the test program compiles and runs successfully, it proves that `SO_ATTACH_FILTER` and `SO_DETACH_FILTER` commands are present.