Re: Default interface

From: Gigi Sullivan (
Date: Wed Nov 29 2000 - 18:10:18 EST

Aiee :)


On Wed, Nov 29, 2000 at 11:35:29PM +0100, Gigi Sullivan wrote:
> Though I never had time to use this, starting by kernel 2.2.X (don't
> know exactly which X) you can get this using netlink socket (AF_NETLINK)

      I forgot to say that I did a really stupid kernel patch for 2.0.X
      kernel series that allow you to get this info.
      (It works like SIOGIFCONF, ifconf{} ioctl calls and so on, obviously
      I define a new ioctl call, a new struct etc etc).

      Never really tested that patch well (since Andi Kleen told me that
      this patch is useless since 2.0.X kernels series are too old and 2.2
      has netlink socket IIRC :)), however if you are interested in, just
      let me know :)

bye bye

                          -- gg sullivan

Lorenzo Cavallaro	`Gigi Sullivan' <>

LibRNet Project Home Page: LibRNet Mailing List:

Until I loved, life had no beauty; I did not know I lived until I had loved. (Theodor Korner) - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to

This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:29 EST