On Tue, Dec 19, 2000 at 09:24:24AM -0600, Todd T. Fries wrote:
> Instead of inventing something new, why not program to an existing api?
> 
> The point of all of this, is that linux has recently added bpf/tun/tap style
> devices.  I'd highly recommend using them, as passing network/ip fragments
> to/from userland to/from the kernel is exactly what these types of things
> were designed for .. don't re-invent the wheel all the time ;-)
Good point; I had forgotten about the tun/tap API.  It looks really good --
so long as we don't want to implement networking completely inside the
kernel.

After all, we're moving packets from guest to monitor to host to kernel,
which is a _lot_ of unneccesary copies, which translate to bad performance.

      -=- James Mastros
-- 
midendian: She never sleeps.
mousetrout: But I do.  I just regret it after I wake up.
AIM: theorbtwo homepage: http://www.rtweb.net/theorb/
ICBM: 40:04:15.100 N, 76:18:53.165 W

Reply via email to