For dumping ARP table(llinfo) - db_show_arptab() is present in open BSD
code in if_ether.c file.  This works fine on net BSD too. 

regards,
Alok

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew Lunn
Sent: Thursday, May 31, 2007 8:52 PM
To: Madan Mohan Goud
Cc: [email protected]
Subject: Re: [ECOS] routines to dump ARP and Route table in ecos

On Thu, May 31, 2007 at 07:59:19PM +0530, Madan Mohan Goud wrote:
> Hi all,
>          Could any of you let me know if there are any routines to
> print/dump ARP Table and Route Table maintained by FreeBSD stack of
> ECOS?

show_network_tables() will give you the routing table. I don't think
there is an equivelent for the ARP table, but you could add one.

      Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss




--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to