Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 1999 08:41:34 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Archie Cobbs <archie@whistle.com>
Cc:        julian@whistle.com, net@FreeBSD.ORG
Subject:   Re: netgraph... 
Message-ID:  <12974.917768494@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 30 Jan 1999 13:21:39 PST." <199901302121.NAA10729@bubba.whistle.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12974.917768494>