Date: Fri, 02 Mar 2001 04:16:21 -0800 From: Julian Elischer <julian@elischer.org> To: Harti Brandt <brandt@fokus.gmd.de> Cc: Marco Molteni <molter@tin.it>, freebsd-net@FreeBSD.ORG Subject: Re: How to implement a transport protocol with netgraph? (2) Message-ID: <3A9F8F15.8DE2B815@elischer.org> References: <Pine.BSF.4.33.0103021217520.6310-100000@beagle.fokus.gmd.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Harti Brandt wrote: > > 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? that is correct for -stable (4.x) for 5.x it will have to be different as there are no spl levels any more. I will have a function specifically for timeouts and timers but I haven't finished writing it yet. > > harti > -- > harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private > brandt@fokus.gmd.de, harti@begemot.org -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v 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?3A9F8F15.8DE2B815>