From owner-freebsd-hackers Wed Dec 20 6:39:58 2000 From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 20 06:39:51 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 5BB9237B402; Wed, 20 Dec 2000 06:39:50 -0800 (PST) Received: from nairobi-27.budapest.interware.hu ([195.70.50.219] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 148kP9-0000U6-00; Wed, 20 Dec 2000 15:39:43 +0100 Sender: julian@FreeBSD.ORG Message-ID: <3A40BA95.F64C95C3@elischer.org> Date: Wed, 20 Dec 2000 05:56:37 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: John Smith Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: New netgraph features? References: <20001220112416.27366.qmail@nwcst330.netaddress.usa.net> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Smith wrote: > > Hello, > > Recently while I was playing with netgraph code > I noted some interesting comments about 'tracing' > netgraph packets and the ability to connect nodes > located on different machines. I would like to ask > if somebody is working on such a code and if it > would be worth writing it. Any additional comments > and ideas are also welcome. If you are playing with it, you may want to let me know your thoughts.. I know many people are using it for this-and-that but we get very little feedback. I'm presently rewriting a large part of netgraph to make is suitable for running under SMP without the BGL.. (e.g fine grain locking) so I'm interested in wha people think in general, and specifically what the liked and didn't like. Lastly, if you have used netraph, make sure that you have a look at the man page for the -current version to see what ha s been changing. looking at the extra argumants on the prototypes in /sys/netgraph/netgraph.h will show you where to look for changes inthe source too. (in particular tha ability to route messages for flow control has been a large change). As to your specific questions, these were vague ideas of things that we though were proctical but didn't have time to do. nodes on differnt machines could be connected by using a udp ksocket node as a tunnel. Tracing is simply the ability to add a flag to a metadata object, and adding code to the data delivery function (ng_send_data()) to somehow emit trace information whnever the metadata it is moving has that flag set. The latter would be very easy to do. (but what logging mechanism would you use, and how would you set the bits?) > > BR: John > > ____________________________________________________________________ > Get free email and a permanent address at http://www.netaddress.com/?N=1 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message