Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2001 16:46:45 -0500
From:      Alfred Perlstein <bright@mu.org>
To:        Mike Silbersack <silby@silby.com>
Cc:        Bill Fumerola <billf@mu.org>, Kris Kennaway <kris@obsecurity.org>, "S.V. Ganesh" <ganesh@serve2net.com>, freebsd-net@FreeBSD.ORG
Subject:   Re: Fwd: TCP PCB size
Message-ID:  <20010827164645.K81307@elvis.mu.org>
In-Reply-To: <Pine.BSF.4.30.0108271656120.96218-100000@niwun.pair.com>; from silby@silby.com on Mon, Aug 27, 2001 at 04:57:31PM -0400
References:  <20010827153503.J81307@elvis.mu.org> <Pine.BSF.4.30.0108271656120.96218-100000@niwun.pair.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Mike Silbersack <silby@silby.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010827164645.K81307>