From owner-freebsd-net Mon Aug 27 14:47: 4 2001 Delivered-To: freebsd-net@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 67A6837B407 for ; Mon, 27 Aug 2001 14:46:55 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 1E0D881D01; Mon, 27 Aug 2001 16:46:45 -0500 (CDT) Date: Mon, 27 Aug 2001 16:46:45 -0500 From: Alfred Perlstein To: Mike Silbersack Cc: Bill Fumerola , Kris Kennaway , "S.V. Ganesh" , freebsd-net@FreeBSD.ORG Subject: Re: Fwd: TCP PCB size Message-ID: <20010827164645.K81307@elvis.mu.org> References: <20010827153503.J81307@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from silby@silby.com on Mon, Aug 27, 2001 at 04:57:31PM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Mike Silbersack [010827 15:57] wrote: > > On Mon, 27 Aug 2001, Alfred Perlstein wrote: > > > It's actually a bit more difficult than that because you need to > > include a bunch of kernel headers (as well as defining _KERNEL) > > to get at it from userland. > > The easy way to do this is to copy the top of one of the files from > netstat, which already has all the includes included and in the proper > order. :) Odd, you think it would only need to know of the xsocket/xinpcb stuff which is exported to userland. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message