Subject: Re: Tap(4) interface in NetBSD?
To: Andrew Brown <>
From: Manuel Bouyer <>
List: current-users
Date: 04/28/2003 15:46:11
On Mon, Apr 28, 2003 at 09:41:09AM -0400, Andrew Brown wrote:
> since "extending" the creat/destroy interface might be a little
> tricky, how about asserting that all programs must go through three
> phases:
> 	open /dev/tun#
> 	set required options, specify link layer, etc
> 	set interface to "up" and begin operating

This is how tun works these days. Changing a tun device from point to point
to broadcast has to be done via ioctl on the control device, before the
interface is turned up.

Manuel Bouyer, LIP6, Universite Paris VI. 
     NetBSD: 24 ans d'experience feront toujours la difference