From owner-freebsd-net Mon Aug 27 13:57:34 2001 Delivered-To: freebsd-net@freebsd.org Received: from niwun.pair.com (niwun.pair.com [209.68.2.70]) by hub.freebsd.org (Postfix) with SMTP id 4750C37B407 for ; Mon, 27 Aug 2001 13:57:32 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 98596 invoked by uid 3193); 27 Aug 2001 20:57:31 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 27 Aug 2001 20:57:31 -0000 Date: Mon, 27 Aug 2001 16:57:31 -0400 (EDT) From: Mike Silbersack X-Sender: To: Alfred Perlstein Cc: Bill Fumerola , Kris Kennaway , "S.V. Ganesh" , Subject: Re: Fwd: TCP PCB size In-Reply-To: <20010827153503.J81307@elvis.mu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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. :) Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message