title: A sample to queue network packets with NF_QUEUE in NetFilter
body: <p>Do you have a sample code about how to implement a filter to send the packets to a queue by returning NF_QUEUE in NetFilter as a kernel module? I'm searching for more than an hour just or a complete example but couldn't find yet.</p>
  
  <p>I found an example but It mentions about a problem in it : <a href="http://us.generation-nt.com/queuing-pkts-using-nf-queue-handler-bridge-pf-bridge-mode-not-working-2-6-kernel-help-184087311.html" rel="nofollow">http://us.generation-nt.com/queuing-pkts-using-nf-queue-handler-bridge-pf-bridge-mode-not-working-2-6-kernel-help-184087311.html</a></p>
  
  <p>Any help is appreciated.</p>