From: Maksim Krasnyanskiy <maxk@qualcomm.com>
To: Andrew Morton <andrewm@uow.edu.au>,
Andreas Schuldei <andreas@schuldei.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: artificial latency for a network interface
Date: Fri, 29 Jun 2001 10:14:52 -0700 [thread overview]
Message-ID: <4.3.1.0.20010629101231.00e56780@mail1> (raw)
In-Reply-To: <3B3C0060.FBDB5F87@uow.edu.au>
In-Reply-To: <20010629003900.A6065@sigrid.schuldei.com>
> > I wanted to do that using two tun devices.
> > I had hoped to have a routing like this:
> >
> > <-> eth0 <-> tun0 <-> userspace, waiting queue <-> tun1 <-> eth1
>
>yes, that works very well. A userspace app sits on top of the
>tun/tap device and pulls out packets, delays them and reinjects
>them.
Right. And you don't even need tun1. Just write them back to tun0.
>The problem is routing: when you send the packet back to the
>kernel, it sends it straight back to you. You need to rewrite
>the headers, which is a pain.
True.
Max
Maksim Krasnyanskiy
Senior Kernel Engineer
Qualcomm Incorporated
maxk@qualcomm.com
http://bluez.sf.net
http://vtun.sf.net
prev parent reply other threads:[~2001-06-29 17:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-28 22:39 artificial latency for a network interface Andreas Schuldei
2001-06-29 1:18 ` David McWherter
2001-06-29 4:13 ` Andrew Morton
2001-06-29 4:29 ` Burkhard Daniel
2001-06-29 10:00 ` Pekka Pietikainen
2001-06-29 17:14 ` Maksim Krasnyanskiy [this message]
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=4.3.1.0.20010629101231.00e56780@mail1 \
--to=maxk@qualcomm.com \
--cc=andreas@schuldei.org \
--cc=andrewm@uow.edu.au \
--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