From owner-freebsd-current Thu Aug 22 15:58:55 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA26860 for current-outgoing; Thu, 22 Aug 1996 15:58:55 -0700 (PDT) Received: from red.jnx.com (ppp-206-170-2-68.sntc01.pacbell.net [206.170.2.68]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA26839; Thu, 22 Aug 1996 15:58:46 -0700 (PDT) Received: from base.jnx.com (base.jnx.com [208.197.169.238]) by red.jnx.com (8.7.5/8.7.3) with ESMTP id PAA06619; Thu, 22 Aug 1996 15:58:40 -0700 (PDT) Received: from base.jnx.com (localhost.jnx.com [127.0.0.1]) by base.jnx.com (8.7.5/8.7.3) with ESMTP id PAA03084; Thu, 22 Aug 1996 15:58:28 -0700 (PDT) Message-Id: <199608222258.PAA03084@base.jnx.com> To: Archie Cobbs cc: julian@whistle.com (Julian Elischer), sos@freebsd.org, rgrimes@gndrsh.aac.dev.com, current@freebsd.org Subject: Re: cvs commit: src/sys/netinet in.h ip_fw.h ip_input.c ip_output.c In-reply-to: Your message of "Thu, 22 Aug 1996 15:38:52 PDT." <199608222238.PAA10234@bubba.whistle.com> Date: Thu, 22 Aug 1996 15:58:28 -0700 From: Paul Traina Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk divert sockets could always be turned into a pointer-chaining module (as should the IPFW hook itslef. From: Archie Cobbs Subject: Re: cvs commit: src/sys/netinet in.h ip_fw.h ip_input.c ip_output.c > > In reply to Rodney W. Grimes who wrote: > > > > context switches are just not going to cut it... > though sometimes you need to do things with packets that > require interaction with a database of reading from files etc.. > I put it to you that having a general way of getting the packets > out of the kernel is better than adding bloat IN the kernel to > do these things. No reason we can't have both; then everybody's happy :-) I like Soren's "pointer chaining" idea .. as long as divert sockets are retained. Then you can use the kernel to do something if it is suitable (and/or you need performance), or if not, then you can always do it in user mode. User mode is also good for testing & debugging new things. -Archie ___________________________________________________________________________ Archie L. Cobbs, archie@whistle.com * Whistle Communications Corporation