title: How to use berkeley packet filter (BPF) on ubuntu
body: <p>I did search but I did't find any BPF code to use on my computer, also there isn't any example code to use. My goal is to find low level functions to filter packets. I am working in C program language. I am using Ubuntu 12.04 with 3.2.0 kernel.</p>