Author: deri Date: 2010-10-26 17:36:03 +0200 (Tue, 26 Oct 2010) New Revision: 4381
Removed: trunk/PF_RING/userland/examples/pfreflect.c Modified: trunk/PF_RING/kernel/linux/pf_ring.h trunk/PF_RING/kernel/pf_ring.c trunk/PF_RING/userland/examples/Makefile trunk/PF_RING/userland/lib/pfring.c trunk/PF_RING/userland/lib/pfring.h Log: Up to 4.4.x slots size was static, so if you set it to 1500 and receive 64 bytes packets most of the space is wasted. With version 4.5 PF_RING slots have a dynamic size. Packets are accommodated according to their lenght. So if a packet is 128 bytes it takes exactly that amount of memory and not the snaplen. Coding courtesy of Alfredo Cardigliano <[email protected]> _______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
