OSX BPF implementation
Improved example