From owner-freebsd-net Sat Jan 30 00:27:45 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA00197 for freebsd-net-outgoing; Sat, 30 Jan 1999 00:27:45 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA00192 for ; Sat, 30 Jan 1999 00:27:44 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id AAA03428; Sat, 30 Jan 1999 00:22:05 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma003426; Sat, 30 Jan 99 00:22:00 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id AAA06454; Sat, 30 Jan 1999 00:22:00 -0800 (PST) From: Archie Cobbs Message-Id: <199901300822.AAA06454@bubba.whistle.com> Subject: Re: netgraph... In-Reply-To: <8811.917683529@critter.freebsd.dk> from Poul-Henning Kamp at "Jan 30, 99 09:05:29 am" To: phk@critter.freebsd.dk (Poul-Henning Kamp) Date: Sat, 30 Jan 1999 00:22:00 -0800 (PST) Cc: julian@whistle.com, net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Poul-Henning Kamp writes: > >What did you think of the idea of having each node contain two > >new methods for encoding and decoding ASCII strings? I say methods > >but really they would just understand two new generic message types. > > I don't see the point, quite frankly... The point is that you avoid having to parse ASCII strings for *every* control message. Only ngctl uses these encode/decode messages when it needs to communicate with humans. Otherwise, everything is done in 'native' binary format. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message