Have you considered packet sockets with PACKET_MMAP option? It is excellent with very low overhead for receiving. If you want to prevent your packet from entering the network stack, you will have to use something like iptables/ipchains to drop the packets.
I think this info will be helpful. Thank you. Jinesh. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/