All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Renzmann <mrenzmann@web.de>
To: Derek Smalls <dsmalls321@yahoo.com>
Cc: bridge@lists.osdl.org
Subject: Re: [Bridge] Bridging between user processes
Date: Thu, 17 Jun 2004 06:34:31 +0200	[thread overview]
Message-ID: <40D11F57.9070504@web.de> (raw)
In-Reply-To: <20040616221738.29758.qmail@web90108.mail.scd.yahoo.com>

Hi.

Derek Smalls wrote:
 >>I have not played with tun/tap myself, but the
 >>kernel documentation in
 >>Documentation/networking/tuntap.txt seems to
 >>indicate that you need a program to listen on two
 >>opened /dev/net/tun devices and copy the frames
 >>from one to the other.
> Thanks! I was afraid this was the reason ... :(
> 
> I actually tried writing an application that would
> open /dev/tap4 as a file and do a select() on it. 

The standalone tun-package [1] contains two example applications that 
act as simple bridges, one using SIGIO, one using select(). I guess it 
could be helpful for you to take a look at these examples.

[1] http://vtun.sourceforge.net/tun/tun-1.1.tar.gz

Bye, Mike

  reply	other threads:[~2004-06-17  4:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <C060DFCD9697A842B3189B458524FDC205D2D3@AIMAIL1.ai.aiinet.com>
2004-06-16 22:17 ` [Bridge] Bridging between user processes Derek Smalls
2004-06-17  4:34   ` Michael Renzmann [this message]
2004-06-17 22:29     ` [Bridge] Bridging between user processes - TAP question Derek Smalls
2004-06-17 22:52       ` Stephen Hemminger
     [not found] <40D08A26.1040907@tuxdriver.com>
2004-06-16 22:12 ` [Bridge] Bridging between user processes Derek Smalls
2004-06-16  4:04 Derek Smalls

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=40D11F57.9070504@web.de \
    --to=mrenzmann@web.de \
    --cc=bridge@lists.osdl.org \
    --cc=dsmalls321@yahoo.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.