On Tue, 11 Jun 2002 10:06, Paul Menage wrote:
> >But I can't even follow enough of iproute (or zebra, which also uses
> > netlink, AFAICT) to figure out how to do basic stuff like a list of
> > configured networking devices, or set the default route.
>
> E.g. to get the list of devices (untested, lacking error checking, etc),
> use something like:
Bingo! I think I see what is happening, just by inspection. Beverage of choice
when we meet up!
Now, how did you get this? Just familarity with the API built up over time,
pure zen, or copied from some other app?
A couple of days of playing with this, I might even be able to write the
tutorial myself :)
Brad
-- http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:19 EST