From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 23 10:21:05 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39A5016A47B for ; Fri, 23 Jun 2006 10:21:05 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E40743D4C for ; Fri, 23 Jun 2006 10:21:03 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k5NAKtWD028663; Fri, 23 Jun 2006 13:20:55 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Fri, 23 Jun 2006 13:20:55 +0300 (EEST) From: Dmitry Pryanishnikov To: Johnny Choque In-Reply-To: <006701c696ad$81b41850$2bba90c1@Altair> Message-ID: <20060623131822.H22782@atlantis.atlantis.dp.ua> References: <006701c696ad$81b41850$2bba90c1@Altair> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org Subject: Re: Virtual device driver programming X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 10:21:05 -0000 Hello! On Fri, 23 Jun 2006, Johnny Choque wrote: > I'm interested in programming a virtual network device driver -Linux > concept- on a FreeBSD box. The idea behind of this sort of interface is the > following: > > "From the kernel's point of view, a network interface is a software object > that can process outgoing packets, and the actual transmission mechanism > remains hidden inside the interface driver. Even though most interfaces are > associated to physical devices (or, for the loopback interface, to a > software-only data loop), it is possible to design network interface drivers > that rely on other interfaces to perform actual packet transmission. The > idea of a ``virtual'' interface can be useful to implement special-purpose > processing on data packets while avoiding to hack with the network subsystem > of the kernel." Isn't this exactly the same thing that FreeBSD's Netgraph subsystem does? man 4 netgraph Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE