Date: Wed, 28 Jul 2004 20:29:12 +0400 From: Roman Kurakin <rik@cronyx.ru> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/sys _task.h Message-ID: <4107D458.7050605@cronyx.ru> In-Reply-To: <200407281619.i6SGJwTh019305@khavrinen.lcs.mit.edu> References: <200407280912.i6S9CsfA088910@repoman.freebsd.org> <20040728091920.GU82302@elvis.mu.org> <20040728150316.GK95729@elvis.mu.org> <200407281619.i6SGJwTh019305@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman wrote: ><<On Wed, 28 Jul 2004 08:03:16 -0700, Alfred Perlstein <alfred@FreeBSD.ORG> said: > > > >>* Maxime Henrion <mux@freebsd.org> [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 <net/if_var.h> in the first place.) > > Does these programs need entire structure, or it is possible for them to use truncated one? rik >-GAWollman > > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4107D458.7050605>