This appears to work well. Luca, what are the chances of getting this added to cvs?
Wally On 2/12/07, Michael Stiller <[EMAIL PROTECTED]> wrote:
On Fri, 2007-02-09 at 10:02 -0500, Gentoo-Wally wrote: > The capture information in /proc/net/pf_ring/ for a particular capture > application is very useful, but when using multiple capture > applications it is sometimes difficult to identify what statistics > belong to which application. I was wondering if it would be possible > to instead of using 0, 1, 2...etc to use the PID instead? Attached patch implements this functionality. Forget about the first patch, it missed the remove_proc function. This works ok for me but you are out of luck if Luca doesn't like this patch. Notice: the modified module_param() calls should make it into mainstream cause they fix the ring_packet.c compile issues with kernel 2.6.20. The last parameter of module_param should not be a default value but a permission. See Changelog-2.6.20 Cheers, Michael _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
