From owner-freebsd-net@FreeBSD.ORG Sun Aug 20 04:57:05 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB04B16A4DA; Sun, 20 Aug 2006 04:57:05 +0000 (UTC) (envelope-from prvs=julian=38058dedd@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7752E43D49; Sun, 20 Aug 2006 04:57:05 +0000 (GMT) (envelope-from prvs=julian=38058dedd@elischer.org) Received: from unknown (HELO [192.168.2.3]) ([10.251.60.51]) by a50.ironport.com with ESMTP; 19 Aug 2006 21:57:04 -0700 Message-ID: <44E7EB9F.5060503@elischer.org> Date: Sat, 19 Aug 2006 21:57:03 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <64de5c8b0608190514l1c2241edj57b114997e01a8b2@mail.gmail.com> <20060819125550.GA8879@rambler-co.ru> <64de5c8b0608190635q1fe2c0c5oe5d258748c1c5c95@mail.gmail.com> <20060819135133.GC9271@rambler-co.ru> <64de5c8b0608190728k47c9dd50kfaf8b94096aa128e@mail.gmail.com> <20060819154215.GB9883@rambler-co.ru> In-Reply-To: <20060819154215.GB9883@rambler-co.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Rajkumar S Subject: Re: ng_ip_input ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2006 04:57:05 -0000 Ruslan Ermilov wrote: >On Sat, Aug 19, 2006 at 07:58:03PM +0530, Rajkumar S wrote: > > >>On 8/19/06, Ruslan Ermilov wrote: >> >> >>>On Sat, Aug 19, 2006 at 07:05:49PM +0530, Rajkumar S wrote: >>> >>> >>>>Any points to docs to read about a packet's traversal in FreeBSD ip >>>>stack? (especially wrt pf) >>>> >>>> >>>> >>>What level of detalization do you need? Filters, such as pf(4), are >>>embedded into the normal processing using the pfil(9) API. >>> >>> >>I am a relative newbie learning freebsd. A broad overview with >>pointers to manpages are ideal. like the the simple pointer to >>pfil(9) you gave along with a small description of where it appears. >> >> >> >Then you can always start from reading the source code. >It's been written by human beings. :-) > > while the above seems harsh it turns out that /sys/netinet/ip_input.c is in fact a very easy file to read due to the serial nature of ip processing.. give it a try > >Cheers, > >