Subject: Re: Moving ethfoo in the main tree
To: None <>
From: Christos Zoulas <>
List: tech-kern
Date: 12/14/2004 16:11:02
In article <>,
Jason Thorpe <> wrote:
>On Dec 13, 2004, at 6:58 AM, Manuel Bouyer wrote:
>> 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.
>How about using ifmedia to determine the link type to emulate in tun?

Yes, that would be best.

>I think it's silly to have tun and ethfoo in the tree... and I think 
>ethfoo is a bad name for something that's not merely an example.

I agree, and I would like to see tun enhanced to encapsulate ethfoo
(tap) functionality. Can someone summarize the options, their
advantages/disadvantages, and which OS does what so that we can
decide what to do?