resolving routes externally

Joerg Sonnenberger joerg at britannica.bec.de
Wed Nov 24 15:32:01 PST 2004


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


More information about the freebsd-hackers mailing list