Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2007 14:17:36 +0300
From:      Alexander Motin <mav@freebsd.org>
To:        =?UTF-8?B?RXJtYWwgTHXQk2k=?= <ermal.luci@gmail.com>
Cc:        freebsd-net@freebsd.org, freebsd-pf@freebsd.org
Subject:   Re: [PATCH] ng_pf and l7 filtering possibility with PF
Message-ID:  <465D5D50.2020009@freebsd.org>
In-Reply-To: <1180481012.00748860.1180470003@10.7.7.3>
References:  <1180481012.00748860.1180470003@10.7.7.3>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?465D5D50.2020009>