In BSD kernel, sysctl can do it. It should also work for linux.
>-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of ext >Bizhan Gholikhamseh (bgholikh) >Sent: 2007年3月25日 23:56 >To: [email protected] >Subject: How to get IP address of all network interfaces from kernel > > > > > > Hi All, > > How could I get the IP address's) of all the network >interfaces on my system from kernel space? > > Many thanks in advance, > > B > > >- >To unsubscribe from this list: send the line "unsubscribe >linux-net" in the body of a message to >[EMAIL PROTECTED] More majordomo info at >http://vger.kernel.org/majordomo-info.html > - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
