From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 23 13:53:40 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 7316116A4CE; Tue, 23 Nov 2004 13:53:40 +0000 (GMT) Received: from britannica.bec.de (wlan032195.uni-rostock.de [139.30.32.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D58F43D2F; Tue, 23 Nov 2004 13:53:40 +0000 (GMT) (envelope-from joerg@britannica.bec.de) Received: by britannica.bec.de (Postfix, from userid 1001) id BFE1B29F5; Tue, 23 Nov 2004 14:52:36 +0100 (CET) Date: Tue, 23 Nov 2004 14:52:36 +0100 From: Joerg Sonnenberger To: Jo?o Carlos Mendes Lu?s Message-ID: <20041123135236.GC1032@britannica.bec.de> Mail-Followup-To: Jo?o Carlos Mendes Lu?s , Martin Eugen , freebsd-net@freebsd.org, freebsd-hackers@freebsd.org References: <966ba91e04112301052fed8d6b@mail.gmail.com> <41A33E4F.8060705@jonny.eng.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41A33E4F.8060705@jonny.eng.br> User-Agent: Mutt/1.5.6i cc: freebsd-net@freebsd.org cc: Martin Eugen 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: Tue, 23 Nov 2004 13:53:40 -0000 On Tue, Nov 23, 2004 at 11:42:39AM -0200, Jo?o Carlos Mendes Lu?s wrote: > >So I started to look at the ARP > >code, but it of course lacks the kernel - userland communication > >interface. I would appreciate any ideas about what would be the easier > >way to implement such a thing where the kernel could wait (up to some > >reasonable time-out) a userland daemon to install a new route. > > Why don't you simply discard the packet and wait for the next retry? Or alternatively use an internal queue of limited size to keep track of those packages. Joerg