From owner-freebsd-net@FreeBSD.ORG Sat Aug 19 13:35:50 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 E1CE616A4E1 for ; Sat, 19 Aug 2006 13:35:50 +0000 (UTC) (envelope-from rajkumars@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7543143D49 for ; Sat, 19 Aug 2006 13:35:50 +0000 (GMT) (envelope-from rajkumars@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1587657pye for ; Sat, 19 Aug 2006 06:35:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MYRwjphqVmoxZ7RGd30UhyFnhQoYkP8zBeWY+PZJ3fjhr9jvNXRXAi2zE3CFMNTioHXK654IQjgAqTBN+65WdpXSfZgjuYKw9Ydg1cp0NLJfMlqjXa+mAER5SjezvXrCfl/J76G2mNT8gDK+zGTqoTPpBIY8un7MOjWM7/ZY3Z0= Received: by 10.65.239.13 with SMTP id q13mr4862009qbr; Sat, 19 Aug 2006 06:35:49 -0700 (PDT) Received: by 10.65.248.1 with HTTP; Sat, 19 Aug 2006 06:35:49 -0700 (PDT) Message-ID: <64de5c8b0608190635q1fe2c0c5oe5d258748c1c5c95@mail.gmail.com> Date: Sat, 19 Aug 2006 19:05:49 +0530 From: "Rajkumar S" To: freebsd-net@freebsd.org In-Reply-To: <20060819125550.GA8879@rambler-co.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <64de5c8b0608190514l1c2241edj57b114997e01a8b2@mail.gmail.com> <20060819125550.GA8879@rambler-co.ru> 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: Sat, 19 Aug 2006 13:35:51 -0000 On 8/19/06, Ruslan Ermilov wrote: > On Sat, Aug 19, 2006 at 05:44:39PM +0530, Rajkumar S wrote: > > The man page states > > > > DESCRIPTION > > The ip_input node type takes all received packets and queues them into > > the IP in input processing subsystem. > It does this simple thing: > > > netisr_dispatch(NETISR_IP, m); > > which means putting the mbuf pointed to by "m" into the IP > input queue and scheduling a call to ip_input(). Thanks a lot for your answer. So this is used to inject packets into the ip stack? also, normally packets received from ethernet is passed into the same point, right? Any points to docs to read about a packet's traversal in FreeBSD ip stack? (especially wrt pf) raj