In BSD kernel, sysctl can do it. It should also work for linux. >-----Original Message----- >From: linux-net-owner@xxxxxxxxxxxxxxx >[mailto:linux-net-owner@xxxxxxxxxxxxxxx] On Behalf Of ext >Bizhan Gholikhamseh (bgholikh) >Sent: 2007年3月25日 23:56 >To: linux-net@xxxxxxxxxxxxxxx >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 >majordomo@xxxxxxxxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html