From: "Rémi Denis-Courmont" <remi@remlab.net>
To: Chin Shi Hong <cshong87@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: Creating virtual interface using C++
Date: Sun, 16 Jan 2011 16:43:15 +0200 [thread overview]
Message-ID: <201101161643.15508.remi@remlab.net> (raw)
In-Reply-To: <AANLkTikcHuHGD4eEmuZr4+p9MSLbySmQwsr_Dj==AZ-y@mail.gmail.com>
Hello,
Le dimanche 16 janvier 2011 16:37:05 Chin Shi Hong, vous avez écrit :
> Can someone give me suggestion for C++ codes that will create a
> virtual network interface
It depends what you mean by virtual. Normally, you should use /dev/net/tun
which is documented at linux-2.6/Documentation/networking/tuntap.txt
> for the existing network interface
> (including wired and wireless network interface)?
But that part of your question does not make any sense.
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
next prev parent reply other threads:[~2011-01-16 14:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-16 14:37 Creating virtual interface using C++ Chin Shi Hong
2011-01-16 14:43 ` Rémi Denis-Courmont [this message]
2011-01-16 15:26 ` 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=201101161643.15508.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