From owner-cvs-src@FreeBSD.ORG Wed Jul 28 12:57:46 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CBF616A4CE for ; Wed, 28 Jul 2004 12:57:46 +0000 (GMT) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27C9543D58 for ; Wed, 28 Jul 2004 12:57:44 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i6SCr9VC044341 for cvs-src@FreeBSD.org.checked; (8.12.8/vak/2.1) Wed, 28 Jul 2004 16:53:09 +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 i6SCqldL044244; (8.12.8/vak/2.1) Wed, 28 Jul 2004 16:52:47 +0400 (MSD) (envelope-from rik@cronyx.ru) Message-ID: <4107A1BA.5090808@cronyx.ru> Date: Wed, 28 Jul 2004 16:53:14 +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: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <200407272320.i6RNKj11064328@repoman.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Robert Watson cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if.c if.h if_ethersubr.c if_var.h src/sys/net80211 ieee80211_output.c ieee80211_proto.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 12:57:46 -0000 Dag-Erling Smørgrav wrote: >Robert Watson writes: > > >>rwatson 2004-07-27 23:20:45 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/net if.c if.h if_ethersubr.c if_var.h >> sys/net80211 ieee80211_output.c ieee80211_proto.c >> >> > >this breaks the world - if_var.h is used in userland and is therefore >not allowed to include directly. > > if_slvar.h from rwatsons netperf branch also has this problem and it could be solved by adding ifdef _KERNEL around include and variables. Probably we could do the same here. But I am not sure that nobody from userspace would care about exact size of inet structure. rik >DES > >