Date: Mon, 27 Aug 2001 15:35:03 -0500 From: Alfred Perlstein <bright@mu.org> To: Bill Fumerola <billf@mu.org> Cc: Kris Kennaway <kris@obsecurity.org>, "S.V. Ganesh" <ganesh@serve2net.com>, freebsd-net@FreeBSD.ORG Subject: Re: Fwd: TCP PCB size Message-ID: <20010827153503.J81307@elvis.mu.org> In-Reply-To: <20010827153345.Q2759@elvis.mu.org>; from billf@mu.org on Mon, Aug 27, 2001 at 03:33:45PM -0500 References: <KLEBJMKNGDIDLNKAOLCIEEMJCAAA.ganesh@serve2net.com> <20010827133218.B43851@xor.obsecurity.org> <20010827153345.Q2759@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Bill Fumerola <billf@mu.org> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010827153503.J81307>