Subject: Re: Moving ethfoo in the main tree
To: Manuel Bouyer <email@example.com>
From: Dries Schellekens <firstname.lastname@example.org>
Date: 12/13/2004 16:08:25
Manuel Bouyer wrote:
> On Mon, Dec 13, 2004 at 10:33:28AM +0100, email@example.com 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.
Module name: src
Changes by: firstname.lastname@example.org 2004/06/24 22:09:03
share/man/man4 : tun.4
sys/net : if_tun.c if_tun.h
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