From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?iso-8859-1?q?R=E9mi?= Denis-Courmont" Subject: Re: Use ioctl() to list all network interfaces. Date: Thu, 6 Jan 2011 18:11:06 +0200 Message-ID: <201101061811.06847.remi@remlab.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev@vger.kernel.org To: Chin Shi Hong Return-path: Received: from yop.chewa.net ([91.121.105.214]:48902 "EHLO yop.chewa.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752692Ab1AFQLJ convert rfc822-to-8bit (ORCPT ); Thu, 6 Jan 2011 11:11:09 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Le jeudi 6 janvier 2011 17:33:39 Chin Shi Hong, vous avez =E9crit : > My application's role is to display all network interfaces, including > the network interface which are down. You should use if_nameindex() then. --=20 R=E9mi Denis-Courmont http://www.remlab.net/ http://fi.linkedin.com/in/remidenis