From owner-freebsd-pf@FreeBSD.ORG Tue Oct 14 00:01:48 2008 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73BAB1065686 for ; Tue, 14 Oct 2008 00:01:48 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by mx1.freebsd.org (Postfix) with ESMTP id 2E1EA8FC1C for ; Tue, 14 Oct 2008 00:01:48 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so468142wra.27 for ; Mon, 13 Oct 2008 17:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=d43oTkY2jU+Y7CpdjyBK4hWqTFYqgQYM7z6IUKpr4ag=; b=srTHrhGx5gRxZ6gOcJnRmJLpr30hNpcz8hofiTrwv4glXoUeJokhjMd9o94/wjpQmd KBGwctIZ8uaUTAUXZ/Hq4oo5Itk3FLrXvbizfJRkx9ujMW5pj4kgSeDVr/D5wxqCNgAR S+p/z2EZZU2UFoqySVH5lXUOR1/+CAAJa0s+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NIJkg7uumBemTSedG4Enw0oGECf1RBkbEnGoUTGgkHFPQfZ1jFPTU12swz+Df9m0uW 0un6TDLryg2udYmGG1cbKMbMC+/JsVnULPp/wmzT5YQeLzTEDBVeX13+jQisxG93aMf1 rXLVqO5EsM49lh59bByIYWROcRrDs0D7adT2s= Received: by 10.150.137.8 with SMTP id k8mr2785732ybd.42.1223942507184; Mon, 13 Oct 2008 17:01:47 -0700 (PDT) Received: by 10.150.191.21 with HTTP; Mon, 13 Oct 2008 17:01:47 -0700 (PDT) Message-ID: <290865fd0810131701i3a0b87cfma7fab18fead4e4a9@mail.gmail.com> Date: Mon, 13 Oct 2008 17:01:47 -0700 From: "alan yang" To: freebsd-pf@freebsd.org In-Reply-To: <290865fd0810091536s2fa38f4ao8fb2114fa7431441@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <290865fd0810091536s2fa38f4ao8fb2114fa7431441@mail.gmail.com> Subject: Re: packet flow in pf framework 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: Tue, 14 Oct 2008 00:01:48 -0000 can people shed some light on how packet flow through ether_input, ether_demux, ip_input, tcp_input the pf code got invoke. really appreciate. On Thu, Oct 9, 2008 at 3:36 PM, alan yang wrote: > sorry if this is naive. > > i wonder how packet flow in / out pf framework within kernel, is it > BSD Packet Filter (BPF) approach...? > appreciate if people can shed some light where to start tracing pf code. > > thanks in advance. >