[PATCH] ng_pf and l7 filtering possibility with PF

Alexander Motin mav at freebsd.org
Wed May 30 11:48:52 UTC 2007


Hi.

Ermal Luçi wrote:
> 4- The node has these messages:
> #ifdef NG_PF_DEBUG
>       NGM_PF_GET_STATS,       (number of packets in/out)
>       NGM_PF_CLR_STATS,
>       NGM_PF_GETCLR_STATS,
> #endif

What for comment them out? To save CPU on several addition operations? 
This stats could be used not only by developers but also by users and 
they may not be to rebuild kernel module to get that stats.

-- 
Alexander Motin


More information about the freebsd-pf mailing list