From owner-freebsd-net Mon Aug 27 13:35: 7 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 AA2E337B403 for ; Mon, 27 Aug 2001 13:35:03 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 9C9EA81D01; Mon, 27 Aug 2001 15:35:03 -0500 (CDT) Date: Mon, 27 Aug 2001 15:35:03 -0500 From: Alfred Perlstein To: Bill Fumerola Cc: Kris Kennaway , "S.V. Ganesh" , freebsd-net@FreeBSD.ORG Subject: Re: Fwd: TCP PCB size Message-ID: <20010827153503.J81307@elvis.mu.org> References: <20010827133218.B43851@xor.obsecurity.org> <20010827153345.Q2759@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: <20010827153345.Q2759@elvis.mu.org>; from billf@mu.org on Mon, Aug 27, 2001 at 03:33:45PM -0500 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 * Bill Fumerola [010827 15:33] wrote: > On Mon, Aug 27, 2001 at 01:32:18PM -0700, Kris Kennaway wrote: > > I've forwarded this message to the freebsd-net mailing list where it's > > more on-topic for discussion. > > > > Kris > > > > On Mon, Aug 27, 2001 at 11:51:30AM -0700, S.V. Ganesh wrote: > > > What is the size of the IPCB(struct inpcb) and TPCB(struct tcpcb) structure? > > > (ignoring platform specific alignment issues) > > > > > > Stevens v2 has 84(inpcb) and 140(tcpcb) bytes. > > its more on topic for a C beginners mailing list. whats so hard about > including the header file and using sizeof()? 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. -- -Alfred Perlstein [alfred@freebsd.org] Ok, who wrote this damn function called '??'? And why do my programs keep crashing in it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message