This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Retrieving default gateway?
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] Retrieving default gateway?
- From: Grant Edwards <grante at visi dot com>
- Date: Tue, 23 Oct 2001 13:58:15 -0500
How does an application get info out of the routing table?
I'm using ioctl(s,SIOCGIFxxxx,...) to find out the IP address
and network mask, but I can't figure how to find out the
default gateway.
--
Grant Edwards
grante@visi.com