From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 24 23:32:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B6D816A4CE; Wed, 24 Nov 2004 23:32:01 +0000 (GMT) Received: from britannica.bec.de (wlan034068.uni-rostock.de [139.30.34.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id D055A43D48; Wed, 24 Nov 2004 23:32:00 +0000 (GMT) (envelope-from joerg@britannica.bec.de) Received: by britannica.bec.de (Postfix, from userid 1001) id 437B82A2F; Tue, 23 Nov 2004 17:57:02 +0100 (CET) Date: Tue, 23 Nov 2004 17:57:02 +0100 From: Joerg Sonnenberger To: Martin Eugen Message-ID: <20041123165702.GD850@britannica.bec.de> Mail-Followup-To: Martin Eugen , Jo?o Carlos Mendes Lu?s , freebsd-net@freebsd.org, freebsd-hackers@freebsd.org References: <966ba91e04112301052fed8d6b@mail.gmail.com> <41A33E4F.8060705@jonny.eng.br> <20041123135236.GC1032@britannica.bec.de> <966ba91e04112308246616d1b8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <966ba91e04112308246616d1b8@mail.gmail.com> User-Agent: Mutt/1.5.6i cc: freebsd-net@freebsd.org cc: Jo?o Carlos Mendes Lu?s cc: freebsd-hackers@freebsd.org Subject: Re: resolving routes externally X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 23:32:01 -0000 On Tue, Nov 23, 2004 at 06:24:48PM +0200, Martin Eugen wrote: > > Or alternatively use an internal queue of limited size to keep track of > > those packages. > > This is probably the only solution I can think of right now, but I > think poking a queue at regular, short intervals seems to me quite > expensive, isn't it? Or perhaps there could be a netgraph node that > handles the queue and connects to the userland daemon... but this > could make things much more complicated... ? Do you want to keep the whole name lookup in userland or query a cache like ARP is doing and fallback to the userland daemon if no entry exists in the cache? In the later case, you could just reinsert the package into the global queue after adding the cache entry. The cache handling itself could be done via normal routing messages or other communication means like polling a special device. Joerg