From: Andrew Lunn <andrew@lunn.ch>
To: Sebastien Couret <sebastien.couret@elios-informatique.fr>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] How to print IP routing table with eCOS ?
Date: Sat, 08 Nov 2003 14:42:00 -0000 [thread overview]
Message-ID: <20031108144235.GC25880@lunn.ch> (raw)
In-Reply-To: <E1AHR1q-0002Wa-00@ECoSyst3m3>
On Wed, Nov 05, 2003 at 06:01:10PM +0100, Sebastien Couret wrote:
> Hello,
>
> I.m trying to get the routing tables from the FreeBSD IP stack ported to eCOS.
>
> The API show_network_tables() just stall my software and display nothing.
It does work. Here is a run on the synthetic target which calls both
show_network_tables() and then uses your sysclt code (plus the bug fix
i just committed).
Routing tables
Destination Gateway Mask Flags Interface
127.0.0.0 127.0.0.1 255.0.0.0 UG lo0
192.168.10.0 192.168.10.0 255.255.255.0 U eth0
Interface statistics
eth0 IP: 192.168.10.10, Broadcast: 192.168.10.255, Netmask: 255.255.255.0
UP BROADCAST RUNNING MULTICAST ALLMULTI MTU: 1500, Metric: 0
Rx - Packets: 0, Bytes: 0, Tx - Packets: 0, Bytes: 0
lo0 IP: 127.0.0.1, Broadcast: 127.0.0.1, Netmask: 255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU: 16384, Metric: 0
Rx - Packets: 0, Bytes: 0, Tx - Packets: 0, Bytes: 0
Free space needed : 508
Routing tables
Here comes the routing table
Here.s one route
Here.s one route
Here.s one route
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
prev parent reply other threads:[~2003-11-08 14:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-05 16:00 Sebastien Couret
2003-11-08 14:42 ` Andrew Lunn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031108144235.GC25880@lunn.ch \
--to=andrew@lunn.ch \
--cc=ecos-discuss@sources.redhat.com \
--cc=sebastien.couret@elios-informatique.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).