[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTiknDefNjACnu9jBpa4JX4h3V2GUgQtWChnv3FGa@mail.gmail.com>
Date: Fri, 7 Jan 2011 13:40:47 +0800
From: Chin Shi Hong <cshong87@...il.com>
To: Rémi Denis-Courmont <remi@...lab.net>
Cc: netdev@...r.kernel.org
Subject: Re: Use ioctl() to list all network interfaces.
2011/1/7 Rémi Denis-Courmont <remi@...lab.net>:
> Le jeudi 6 janvier 2011 17:33:39 Chin Shi Hong, vous avez écrit :
>> My application's role is to display all network interfaces, including
>> the network interface which are down.
>
> You should use if_nameindex() then.
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> http://fi.linkedin.com/in/remidenis
>
Thank you. if_nameindex() really help me.
Regards,
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists