From owner-cvs-sys Mon Oct 7 12:06:29 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA18874 for cvs-sys-outgoing; Mon, 7 Oct 1996 12:06:29 -0700 (PDT) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA18855; Mon, 7 Oct 1996 12:06:17 -0700 (PDT) Date: Mon, 7 Oct 1996 12:06:17 -0700 (PDT) From: David Greenman Message-Id: <199610071906.MAA18855@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_usrreq.c udp_usrreq.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/10/07 12:06:16 Modified: sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_usrreq.c udp_usrreq.c Log: Improved in_pcblookuphash() to support wildcarding, and changed relavent callers of it to take advantage of this. This reduces new connection request overhead in the face of a large number of PCBs in the system. Thanks to David Filo for suggesting this and providing a sample implementation (which wasn't used, but showed that it could be done). Reviewed by: wollman Revision Changes Path 1.22 +48 -27 src/sys/netinet/in_pcb.c 1.13 +3 -3 src/sys/netinet/in_pcb.h 1.53 +2 -12 src/sys/netinet/tcp_input.c 1.26 +2 -2 src/sys/netinet/tcp_usrreq.c 1.29 +3 -11 src/sys/netinet/udp_usrreq.c