From owner-freebsd-current Thu Aug 30 14:51:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from owa-sj-1.digisle.com (owa-sj-1.digisle.com [167.216.153.124]) by hub.freebsd.org (Postfix) with ESMTP id E019337B41F for ; Thu, 30 Aug 2001 14:51:20 -0700 (PDT) (envelope-from myevmenk@digisle.net) Received: from VWALL-SJ-1.digisle.com ([167.216.153.118]) by owa-sj-1.digisle.com with Microsoft SMTPSVC(5.0.2195.2966); Thu, 30 Aug 2001 14:49:07 -0700 Received: from 206.220.227.145 by VWALL-SJ-1.digisle.com (InterScan E-Mail VirusWall NT); Thu, 30 Aug 2001 22:48:15 +0100 Message-ID: <3B8EB490.6875087F@digisle.net> Date: Thu, 30 Aug 2001 14:48:00 -0700 From: Maksim Yevmenkin Organization: Digital Island X-Mailer: Mozilla 4.72 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@freebsd.org Cc: Vladimir Silyaev , Nick Sayer Subject: PATCH: if_tap device cloning Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Aug 2001 21:49:07.0439 (UTC) FILETIME=[981787F0:01C1319D] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hackers, Below some patches that implements device cloning (with devfs(5) support) for tap(4) device. The implementation is based on resource manager (just like tun(4) and gif(4)). Please review, test and if there is no objection commit. If there are any problems, please let me know. http://home.earthlink.net/~evmax/tap-current/if_tap.c.context.diff.gz http://home.earthlink.net/~evmax/tap-current/if_tapvar.h.context.diff.gz http://home.earthlink.net/~evmax/tap-current/tap.4.context.diff.gz if you do not like context diff substitute "context" with "unified" :) thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message