From owner-freebsd-hackers Sun Apr 4 22:56:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (Postfix) with ESMTP id B9E1E14FAD for ; Sun, 4 Apr 1999 22:56:43 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.3/8.9.3/Netplex) with ESMTP id NAA06717; Mon, 5 Apr 1999 13:54:17 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199904050554.NAA06717@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: "Matthew N. Dodd" Cc: Brian Feldman , hackers@FreeBSD.ORG Subject: Re: ipfw uid In-reply-to: Your message of "Sun, 04 Apr 1999 14:39:26 -0400." Date: Mon, 05 Apr 1999 13:54:17 +0800 From: Peter Wemm Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Matthew N. Dodd" wrote: > On Sun, 4 Apr 1999, Brian Feldman wrote: > > Especially coupled with dummynet, which I haven't tried yet. My order for > > working on this is now two priorites. > > 1. Get incoming packets counted correctly. This is not easy, it seems. > > 2. Get gids working. This won't be too hard, but it's less important. > > > > If you have any good ideas on the easiest way to find the destination of a > > packet (tcp and udp) BEFORE they reach ipfw (in ip_input of course), I'm > > interested (as it will save me time trying to figure this out.) > > I was looking around in some of this code trying to figure out how to > determing the output interface inside of tcp_output() or udp_output. > Similar problem. (problem in the sense that theres no easy solution). > This was related to Bill Paul's checksum offloading in his gigabit > ethernet driver. > > Anyhow, I've got no solutions for either problem. :/ At one point I was toying with the idea of trying to do something like this kind of counting at the socket level, rather than at the packet stream level. Sure, it would have lost the packet overheads, but it should be easier.. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message