Hi Mukesh On Wed, Dec 21, 2011 at 12:25, Mukesh Yadav <mukesh.fkd@xxxxxxxxx> wrote: > Thanks Mulyadi, > Yeah that a final alternative. Actually I was looking for some optimized > way of getting packet filtered at kernel level using BPF filter. You're welcome. Logically, your code should have no problem, but well it seems that the implementation in BPF is not so good somewhere. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies