Date: Fri, 15 May 1998 13:11:41 -0700 (PDT) From: Garrett Wollman <wollman@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: 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 src/sys/sys socketvar.h un.h ... Message-ID: <199805152011.NAA12272@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wollman 1998/05/15 13:11:41 PDT Modified files: sys/conf param.c sys/kern uipc_domain.c uipc_proto.c uipc_socket.c uipc_socket2.c uipc_usrreq.c 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 sys/sys socketvar.h un.h unpcb.h Log: Convert socket structures to be type-stable and add a version number. 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. Convert PF_LOCAL PCB structures to be type-stable and add a version number. Define an external format for infomation about socket structures and use it in several places. Define a mechanism to get all PF_LOCAL and PF_INET PCB lists through sysctl(3) without blocking network interrupts for an unreasonable length of time. This probably still has some bugs and/or race conditions, but it seems to work well enough on my machines. It is now possible for `netstat' to get almost all of its information via the sysctl(3) interface rather than reading kmem (changes to follow). Revision Changes Path 1.27 +8 -1 src/sys/conf/param.c 1.19 +19 -14 src/sys/kern/uipc_domain.c 1.15 +3 -2 src/sys/kern/uipc_proto.c 1.40 +46 -8 src/sys/kern/uipc_socket.c 1.34 +55 -4 src/sys/kern/uipc_socket2.c 1.35 +138 -23 src/sys/kern/uipc_usrreq.c 1.44 +2 -1 src/sys/netinet/in_pcb.c 1.26 +23 -2 src/sys/netinet/in_pcb.h 1.23 +3 -3 src/sys/netinet/ip_divert.c 1.54 +88 -2 src/sys/netinet/raw_ip.c 1.45 +92 -25 src/sys/netinet/tcp_subr.c 1.44 +19 -2 src/sys/netinet/tcp_var.h 1.47 +88 -2 src/sys/netinet/udp_usrreq.c 1.15 +4 -2 src/sys/netinet/udp_var.h 1.26 +43 -3 src/sys/sys/socketvar.h 1.14 +2 -5 src/sys/sys/un.h 1.7 +39 -4 src/sys/sys/unpcb.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805152011.NAA12272>