> No. I know Sarada wrote system call. But from the question one could see
> that what was actually being asked was how to find out on which interface
> the default route is. Probably the questioner did not know which ip is
> assigned ti which interface. In which case also ifconfig could do the
Well, I used `ioctl' with `SIOCGIFCONF' request to get a list of all
available interfaces and their ip addrs. But I couldnt find any specific
means of finding out which of the interfaces were to take the packets
I've finally got the info by reading /proc/net/route.
Thanks for all the help.
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to firstname.lastname@example.org
This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:29 EST