From owner-freebsd-ipfw@FreeBSD.ORG Wed Apr 11 06:46:02 2007 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD00E16A404 for ; Wed, 11 Apr 2007 06:46:02 +0000 (UTC) (envelope-from ilya@po4ta.com) Received: from jerry.kiev.farlep.net (jerry.kiev.farlep.net [213.130.24.8]) by mx1.freebsd.org (Postfix) with ESMTP id 7852F13C45B for ; Wed, 11 Apr 2007 06:46:02 +0000 (UTC) (envelope-from ilya@po4ta.com) Received: from ilya.kiev.farlep.net ([62.221.47.37] helo=[10.0.0.3]) by jerry.kiev.farlep.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HbVpW-000ISc-RK; Wed, 11 Apr 2007 08:57:18 +0300 Message-ID: <461C78A9.5080506@po4ta.com> Date: Wed, 11 Apr 2007 08:56:57 +0300 From: Ilya Bobir User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: arjun badarinath References: <4cc04d3d0704102216n5286c43ao186fe88e15323495@mail.gmail.com> In-Reply-To: <4cc04d3d0704102216n5286c43ao186fe88e15323495@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ipfw@freebsd.org Subject: Re: pf.c entrypoint X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 06:46:02 -0000 arjun badarinath wrote: > Hey all , > I need a help in the paket filtering (pf.c) . I'm trying to > build somethign on this and i need to mention the entrypoint in the make > file > So can anyone tell me where exactly the entry point is . > > Thanks and Regards > Arjun pf is a kernel module. In /usr/src/sys/contrib/pf/net/pf_ioctl.c you can find a module definition, at the bottom of the file. pf_modevent is defined to be a module event handling function.