Subject: Re: Calling rtalloc() from user program
To: None <current-users@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: current-users
Date: 03/23/2007 13:57:32
On Fri, Mar 23, 2007 at 04:18:56PM +0530, Sourath Roy wrote:
> Hi All,
> I am using NetBSD 3.0.1 and I was trying to call function rtalloc/rtfree
> from my program to retrieve route information for a destination address.
*snip snip*
>
> Can these functions be accessed from user programs? If yes, then please let
> me know how.
No, they cannot. Maybe you need to use the routing socket. See route(4).
Dave
--
David Young OJC Technologies
dyoung@ojctech.com Urbana, IL * (217) 278-3933