Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

equivalent to netstat -rn in c as a func() call

Status
Not open for further replies.

shail

Programmer
Aug 23, 2000
58
0
0
AU
Hi,

Is there a way to get the kernel routing table on _any_ unix os with a c func() call rather than using the shell utility of netstat?
i have found sysctl() on bsd, but not supported on something like aix.. is there any better function.

please inform.
shail
ps: cross posting to general unix discussion also.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top