Hello everyone, I have implemented my little protocol over pf_ring and set the ethernet type to 0xAAAA(index 12 and 13, because 0-5 is the dst_mac and 6-11 is src_mac). Therefore, I am only interested in these type of packets! I was wondering how can I filter incoming packets, to only rcv my own packets. I looked into the kernel module code of pf_ring and find out skb_ring_handler() function is where the NAPI delivers the packet to PF_RING should I modify that function to drop the packet and don't add it the buffer or is there a better way to do it? I saw that bpf filtering mechanism but I'm not sure how should I use it.
Thanks, -- Behrooz
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
