From owner-freebsd-net Fri Mar 2 3:19:38 2001 Delivered-To: freebsd-net@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 4F09437B71D for ; Fri, 2 Mar 2001 03:19:35 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id MAA18466; Fri, 2 Mar 2001 12:19:28 +0100 (MET) Date: Fri, 2 Mar 2001 12:19:27 +0100 (CET) From: Harti Brandt To: Julian Elischer Cc: Marco Molteni , Subject: Re: How to implement a transport protocol with netgraph? (2) In-Reply-To: <3A9E597A.D3387FC2@elischer.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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