Date: Fri, 2 Mar 2001 12:19:27 +0100 (CET) From: Harti Brandt <brandt@fokus.gmd.de> To: Julian Elischer <julian@elischer.org> Cc: Marco Molteni <molter@tin.it>, <freebsd-net@FreeBSD.ORG> Subject: Re: How to implement a transport protocol with netgraph? (2) Message-ID: <Pine.BSF.4.33.0103021217520.6310-100000@beagle.fokus.gmd.de> In-Reply-To: <3A9E597A.D3387FC2@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Mar 2001, Julian Elischer wrote: JE>> MM>timers, buffers, retransmissions and friends. JE> JE>you can certainly do that in netgraph. JE>there are issues with locking in that a timer must not jump into a node while JE>the node is locked, but there is a method for doing that. I will be adding more JE>support for it so that it is easier to do. Add a small 'stub' function that does JE>nothing but call the 'real' timer function through the locking mechanism. From reading the man page or the articel I was under the impression, that the entire netgraph runs at splnet. So I thought I just do a splnet in the timer function and that's it. No problems on my UP machine so far :-) I'm wrong? harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, harti@begemot.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0103021217520.6310-100000>