From: "Shiva Raman Pandey" <shiva@sasken.com>
To: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org
Subject: Query about Tun/Tap Modules
Date: Sun, 9 Sep 2001 20:58:56 +0530 [thread overview]
Message-ID: <9ng1q4$or1$1@ncc-z.sasken.com> (raw)
Hello All,
I want to trap the ethernet packets from ethernet driver and then send it
through a Bluetooth stack whose output will be in turn send through IP then
TCP layers and vice-versa.(As a result inserting bluetooth stack between
ethernet and IP layers) It is clear from the picture below.
|--------------------------------------------|
| TCP |
|--------------------------------------------|
|
bi directional Interface
|
|--------------------------------------------|
| IP |
|--------------------------------------------|
|
bi directional Interface
|---------------------------------------------------------
| |
| Bluetooth |
| Stack |
| |
| |
| |
| |
|---------------------------------------------------------
bi directional Interface
|
|--------------------------------------------|
| Ethernet |
|--------------------------------------------|
For these message tapping I got this module called Tun/Tap at
http://vtun.sourceforge.net/tun
Some info about this is available at
http://www.linuxhq.com/kernel/v2.4/doc/networking/tuntap.txt.html also.
I compiled this module, made install, and insmod also.
Till here no problem.
My queries are -
Q1 : Now I am not able to understand how to use this module for my above
stated purpose.
If anybody has used this utility(Tun/tap) before , please let me know
how to get these ethernet packet going towards IP layer and IP packets going
towards ethernet driver.
Q2. What can be other ways, not very complicated to solve my purpose
instead of using Tun/Tap.
Q3. All the debug message are going to /var/log/messages, even if I send
with the loglevel 1. How to get them on screen? How can I see the default
console loglevel?
Hope to get an early reply.
Thanks a lot.
Shiva Raman Pandey
Research Associate-Computer Science R&D
Sasken Communication Technologies Limited.
Bangalore-India
next reply other threads:[~2001-09-09 15:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-09 15:28 Shiva Raman Pandey [this message]
2001-09-09 15:59 ` Query about Tun/Tap Modules Erik Andersen
2001-09-09 16:13 ` Peter T. Breuer
2001-09-09 17:46 ` Jeff Dike
-- strict thread matches above, loose matches on Subject: below --
2001-09-09 16:15 Peter T. Breuer
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='9ng1q4$or1$1@ncc-z.sasken.com' \
--to=shiva@sasken.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@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