From owner-freebsd-net Sat Jan 30 13:04:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13411 for freebsd-net-outgoing; Sat, 30 Jan 1999 13:04:31 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA13406 for ; Sat, 30 Jan 1999 13:04:28 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.1/8.8.5) with ESMTP id WAA11088; Sat, 30 Jan 1999 22:03:52 +0100 (CET) To: Julian Elischer cc: Archie Cobbs , net@FreeBSD.ORG Subject: Re: netgraph... In-reply-to: Your message of "Sat, 30 Jan 1999 13:00:24 PST." Date: Sat, 30 Jan 1999 22:03:51 +0100 Message-ID: <11086.917730231@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yeah, I saw it, and I'm convince that no matter how smart we do it, it will end up being almost enough, and take up just as much space to code. Our current fear for ASCII in the kernel dates from when space was tight on PDP/11s for heavens sake, it is NOT rational in any way. Look at sysctl to understand where I'm coming from. Poul-Henning In message , Ju lian Elischer writes: >Just to satisfy myself, did you see my suggestion about the userland >interpretter using metadata supplied by the module to control the >parsing.. each module would supply the equivalent of 'format strings' >that said what to accept and where to pack it. >You asked the module once for its list of acceptable format strings, >and cache them. from then on anything sent there >is parsed through the appropriate command description. > >this could be broadenned to ioctls in general if that were wanted.. > >Archie almost threw up, but to my mind it's still quite elegant. > >(you could even supply a dk_DK.iso8859-1 version of the meta-strings... >:-) > >julian (doning his waterproofs) > >On Sat, 30 Jan 1999, Poul-Henning Kamp wrote: > >> In message , Ju >> lian Elischer writes: >> >I'm amazed >> >poul.. in this scheme you send the node the ascii message, >> >it sends you the binary version, you then send the binary version back to >> >it.. and it interprets it. There is a disconnection between the binary >> >version sent back to you and the binary that is interpretted.. >> >If you think this is ok, then I'm amazed but then ok, we can do it that >> >way. >> >> Then I misunderstood archie, my version says: >> >> "Here, ASCII from root, do what he says!" >> >> End of story, nothing more. >> >> Poul-Henning >> >> -- >> Poul-Henning Kamp FreeBSD coreteam member >> phk@FreeBSD.ORG "Real hackers run -current on their laptop." >> FreeBSD -- It will take a long time before progress goes too far! >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-net" in the body of the message >> > > -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message