From: "Rémi Denis-Courmont" <remi@remlab.net>
To: Chin Shi Hong <cshong87@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: Use ioctl() to list all network interfaces.
Date: Thu, 6 Jan 2011 18:11:06 +0200 [thread overview]
Message-ID: <201101061811.06847.remi@remlab.net> (raw)
In-Reply-To: <AANLkTi=Xb4TuKcCd-DgN5ZnYzRHV1RjDScyjRkqyb4P+@mail.gmail.com>
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
next prev parent reply other threads:[~2011-01-06 16:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-06 15:33 Use ioctl() to list all network interfaces Chin Shi Hong
2011-01-06 16:11 ` Rémi Denis-Courmont [this message]
2011-01-07 5:40 ` Chin Shi Hong
2011-01-06 17:07 ` Alexander Clouter
2011-01-07 5:41 ` Chin Shi Hong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201101061811.06847.remi@remlab.net \
--to=remi@remlab.net \
--cc=cshong87@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox