From owner-freebsd-current Fri May 15 15:42:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA18144 for freebsd-current-outgoing; Fri, 15 May 1998 15:42:22 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA18139 for ; Fri, 15 May 1998 15:42:20 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id PAA03661; Fri, 15 May 1998 15:36:21 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd003658; Fri May 15 22:36:16 1998 Message-ID: <355CC35D.2F1CF0FB@whistle.com> Date: Fri, 15 May 1998 15:36:13 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: Garrett Wollman CC: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf param.c src/sys/kern uipc_domain.c uipc_proto.c uipc_socket.c uipc_socket2.c uipc_usrreq.c src/sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_subr.c tcp_var.h udp_usrreq.c udp_var.h References: <199805152011.NAA12272@freefall.freebsd.org> <199805152020.QAA02956@khavrinen.lcs.mit.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Garrett Wollman wrote: > > < said: > > > Convert socket structures to be type-stable and add a version number. > > My preference would have been to make the socket structures simply be > a part of the PCB structures, thus allocating everything in one swell > foop. However, I was not able to convince myself that one or the > other could not exist ``bare'', so I took the easy way out. thanks I'm playing with pcb's here without sockets.. (I'm tracking all tcp sessions running THROUGH a router. none of them terminate at the router but I'm using the tcp pcb fields and hashing to keep track of stuff gleened from the session. > > > Define a parameter which indicates the maximum number of sockets in a > > system, and use this to size the zone allocators used for sockets and > > for certain PCBs. > > This is called `maxsockets', and is currently defined to be the > maximum of `maxfiles' and `nmbclusters'. Suggestions for a better > value would be appreciated. > > -GAWollman > > -- > Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same > wollman@lcs.mit.edu | O Siem / The fires of freedom > Opinions not those of| Dance in the burning flame > MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message