Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 1999 13:54:17 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        Brian Feldman <green@unixhelp.org>, hackers@FreeBSD.ORG
Subject:   Re: ipfw uid 
Message-ID:  <199904050554.NAA06717@spinner.netplex.com.au>
In-Reply-To: Your message of "Sun, 04 Apr 1999 14:39:26 -0400." <Pine.BSF.4.02.9904041436520.2158-100000@sasami.jurai.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904050554.NAA06717>