Subject: Re: Moving ethfoo in the main tree
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Dries Schellekens <gwyllion@ulyssis.org>
List: tech-kern
Date: 12/13/2004 16:08:25
Manuel Bouyer wrote:
> On Mon, Dec 13, 2004 at 10:33:28AM +0100, cube@cubidou.net wrote:
>
>>That leads to another question: should I add a tun-like part to it
>>so it could replace tun(4), or should I merge it with tun? I don't
>>think it really makes sense to have both around.
>
> I was also thinking about adding a link2 flag to tun(4) to turn on ethernet
> emulation. I don't know how this would play with the ethernet layer.
> I think an ethernet device needs to be registered here at creation time,
> and can't be attached/detached from the ethernet layer at a later time.
> But I didn't look deeply at this.
OpenBSD has extended tun(4) to add tap functionality.
CVSROOT: /cvs
Module name: src
Changes by: claudio@cvs.openbsd.org 2004/06/24 22:09:03
Modified files:
share/man/man4 : tun.4
sys/net : if_tun.c if_tun.h
Log message:
Add tap aka layer 2 tunneling support to tun(4). It can be enabled by
setting the link0 flag via ifconfig(8). OK markus@, canacar@ also tested
by ish@
Cheers,
Dries