From owner-cvs-all@FreeBSD.ORG Wed Jul 28 16:32:11 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 531B016A4CE for ; Wed, 28 Jul 2004 16:32:11 +0000 (GMT) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82DDF43D5A for ; Wed, 28 Jul 2004 16:32:10 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i6SGUQ06055287 for cvs-all@FreeBSD.ORG.checked; (8.12.8/vak/2.1) Wed, 28 Jul 2004 20:30:26 +0400 (MSD) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (hi.cronyx.ru [144.206.181.94]) by hanoi.cronyx.ru with ESMTP id i6SGSheA055180; (8.12.8/vak/2.1) Wed, 28 Jul 2004 20:28:43 +0400 (MSD) (envelope-from rik@cronyx.ru) Message-ID: <4107D458.7050605@cronyx.ru> Date: Wed, 28 Jul 2004 20:29:12 +0400 From: Roman Kurakin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garrett Wollman References: <200407280912.i6S9CsfA088910@repoman.freebsd.org> <20040728091920.GU82302@elvis.mu.org> <20040728150316.GK95729@elvis.mu.org> <200407281619.i6SGJwTh019305@khavrinen.lcs.mit.edu> In-Reply-To: <200407281619.i6SGJwTh019305@khavrinen.lcs.mit.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.ORG cc: Alfred Perlstein cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/sys _task.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 16:32:11 -0000 Garrett Wollman wrote: >< said: > > > >>* Maxime Henrion [040728 02:19] wrote: >> >> >>>Or have a struct ifnet for kernel and a struct xifnet for userland, as we >>>do in other places. >>> >>> > > > >>That sounds more correct (xifnet). >> >> > >No. Everything that would legitimately be available in an xifnet >structure is already made available through other interfaces. The >only reason programs might need to look at a struct ifnet is because >they're mucking about in kernel memory, in which case they need the >real one and not a "sanitized" version. (This is why I moved struct >ifnet to in the first place.) > > Does these programs need entire structure, or it is possible for them to use truncated one? rik >-GAWollman > > > > >