This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: routines to dump ARP and Route table in ecos -
- From: "Alok Singh" <aloks at broadcom dot com>
- To: "Andrew Lunn" <andrew at lunn dot ch>
- Cc: <ecos-discuss at ecos dot sourceware dot org>
- Date: Sat, 2 Jun 2007 01:15:51 +0530
- Subject: RE: [ECOS] routines to dump ARP and Route table in ecos -
- References: <FE7FB54DCB7C6949A1D3F9FF22DA6C135AB131@lvl7in-mail01.lvl7.com> <20070530191758.GF32489@lunn.ch> <FE7FB54DCB7C6949A1D3F9FF22DA6C135AB138@lvl7in-mail01.lvl7.com> <20070530210643.GH32489@lunn.ch> <FE7FB54DCB7C6949A1D3F9FF22DA6C135AB139@lvl7in-mail01.lvl7.com> <20070530215755.GJ32489@lunn.ch> <FE7FB54DCB7C6949A1D3F9FF22DA6C135AB313@lvl7in-mail01.lvl7.com> <20070531152150.GN32489@lunn.ch>
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: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Andrew Lunn
Sent: Thursday, May 31, 2007 8:52 PM
To: Madan Mohan Goud
Cc: ecos-discuss@ecos.sourceware.org
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