From owner-freebsd-net@FreeBSD.ORG Tue Aug 23 03:31:40 2005 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 470C816A41F for ; Tue, 23 Aug 2005 03:31:40 +0000 (GMT) (envelope-from julian@elischer.org) Received: from delight.idiom.com (delight.idiom.com [216.240.32.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BEC243D46 for ; Tue, 23 Aug 2005 03:31:40 +0000 (GMT) (envelope-from julian@elischer.org) Received: from idiom.com (idiom.com [216.240.32.1]) by delight.idiom.com (Postfix) with ESMTP id E7A211F7B72; Mon, 22 Aug 2005 20:31:39 -0700 (PDT) Received: from [192.168.2.2] (home.elischer.org [216.240.48.38]) by idiom.com (8.12.11/8.12.11) with ESMTP id j7N3Va87009334; Mon, 22 Aug 2005 20:31:37 -0700 (PDT) (envelope-from julian@elischer.org) Message-ID: <430A9898.7080709@elischer.org> Date: Mon, 22 Aug 2005 20:31:36 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050424 X-Accept-Language: en, hu MIME-Version: 1.0 To: Paul Khavkine References: <20050822232032.L34978-100000@krusty.mtl.distributel.net> In-Reply-To: <20050822232032.L34978-100000@krusty.mtl.distributel.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Reading raw ethernet 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: Tue, 23 Aug 2005 03:31:40 -0000 Paul Khavkine wrote: > On Mon, 22 Aug 2005, Julian Elischer wrote: > > >>Paul Khavkine wrote: >> >>>Julian. >>> >>> >>> >>>>>>You should probably look at the ng_etf node too BTW. >>>>> >>>>> >>>>>How does ng_etf deal with that ? >>>> >>>>no, but as an example of something that is designed to be attached directly >>>>to the ng_ether nodes. >>> >>> >>>in ng_etf, do you check ethertype for only Ethernet II frames ? or also >>>802.3 frames ? >> >>only ethertype, but it would probably only take you about 3 hours to add in >>the other.. > > > 30 min, haven't tested it yet though, still trying to figure out the > netgraph library. I was including testing and learning :-) The library shouldn't be needed unless you want to control it from a C program. you should be able to do anything that needs to be done from ngctl. > > Will send you the code when i have a chance to test it if you want. > > > C