netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chin Shi Hong <cshong87@gmail.com>
To: netdev@vger.kernel.org
Subject: Get wireless network card or check whether an interface is a wireless card
Date: Thu, 12 May 2011 21:51:51 +0800	[thread overview]
Message-ID: <BANLkTi=0ewCXnc0bRgCDJ7Gz=DbUeTdcyw@mail.gmail.com> (raw)

Dear all,

My application must display only wireless (802.11) network interface
card. Currently, by using some ioctl calls and ifreq structure, my
application currently can detect any network interface. But, I only
want my application to detect wireless network interface card.

What are the ioctl calls or c/c++ codes to do this?

Regards,

                 reply	other threads:[~2011-05-12 13:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='BANLkTi=0ewCXnc0bRgCDJ7Gz=DbUeTdcyw@mail.gmail.com' \
    --to=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;
as well as URLs for NNTP newsgroup(s).