From owner-freebsd-net@FreeBSD.ORG Thu Feb 15 09:17:13 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1806E16A4C5 for ; Thu, 15 Feb 2007 09:17:13 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.freebsd.org (Postfix) with ESMTP id 7780413C441 for ; Thu, 15 Feb 2007 09:17:10 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id l1F9H5Wb025971; Thu, 15 Feb 2007 12:17:05 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id l1F9H3no025966; Thu, 15 Feb 2007 12:17:03 +0300 (MSK) (envelope-from yar) Date: Thu, 15 Feb 2007 12:17:03 +0300 From: Yar Tikhiy To: Jung-uk Kim Message-ID: <20070215091702.GD20957@comp.chem.msu.su> References: <200702141805.20228.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200702141805.20228.jkim@FreeBSD.org> User-Agent: Mutt/1.5.9i Cc: freebsd-net@freebsd.org Subject: Re: [PATCH] BPF to support directions and more 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: Thu, 15 Feb 2007 09:17:13 -0000 On Wed, Feb 14, 2007 at 06:05:15PM -0500, Jung-uk Kim wrote: > I was playing with some BPF ideas for few days and I added two new > features. SEESENT flag is extended to see only outgoing packets, > which is analogous to libpcap's PCAP_D_OUT direction. Thus SEESENT > is now called DIRECTION. Any plans to teach BPF to report the direction a packet goes in? In some cases it can be unobvious whether it's incoming or outgoing. -- Yar