From owner-freebsd-net Sat Jan 30 23:42:14 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA24672 for freebsd-net-outgoing; Sat, 30 Jan 1999 23:42:14 -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 XAA24667 for ; Sat, 30 Jan 1999 23:42:09 -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 IAA12976; Sun, 31 Jan 1999 08:41:34 +0100 (CET) To: Archie Cobbs cc: julian@whistle.com, net@FreeBSD.ORG Subject: Re: netgraph... In-reply-to: Your message of "Sat, 30 Jan 1999 13:21:39 PST." <199901302121.NAA10729@bubba.whistle.com> Date: Sun, 31 Jan 1999 08:41:34 +0100 Message-ID: <12974.917768494@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199901302121.NAA10729@bubba.whistle.com>, Archie Cobbs writes: >Poul-Henning Kamp writes: >> 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. > >That's what I said too. Also, why invent a new language for >specifying the translation? That's another step away from KISS. > >Anyway, I think we almost all agree :-) See how this sounds. > >We add three new control messages: > > NGM_ASCII_CTRL_MSG > NGM_ENCODE_ASCII > NGM_DECODE_ASCII > >NGM_ASCII_CTRL_MSG takes an ASCII formatted control message as argument. >The node parses it and takes the corresponding action. Agree. >NGM_ENCODE_ASCII and NGM_DECODE_ASCII convert between ASCII and >binary formats for a control message. Still not sure about these. I think debugging decoding belongs in userspace. -- 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