From owner-freebsd-pf@FreeBSD.ORG Wed May 30 11:48:52 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85ACF16A421 for ; Wed, 30 May 2007 11:48:52 +0000 (UTC) (envelope-from mav@freebsd.org) Received: from mail.alkar.net (mail.alkar.net [195.248.191.95]) by mx1.freebsd.org (Postfix) with ESMTP id F1A7613C46A for ; Wed, 30 May 2007 11:48:51 +0000 (UTC) (envelope-from mav@freebsd.org) Received: from [195.248.178.122] (HELO [192.168.3.2]) by mail.alkar.net (CommuniGate Pro SMTP 5.1.7) with ESMTPS id 760564864; Wed, 30 May 2007 14:18:50 +0300 Message-ID: <465D5D50.2020009@freebsd.org> Date: Wed, 30 May 2007 14:17:36 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?UTF-8?B?RXJtYWwgTHXQk2k=?= References: <1180481012.00748860.1180470003@10.7.7.3> In-Reply-To: <1180481012.00748860.1180470003@10.7.7.3> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org, freebsd-pf@freebsd.org Subject: Re: [PATCH] ng_pf and l7 filtering possibility with PF X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2007 11:48:52 -0000 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