From owner-freebsd-net Sat Jan 30 11:23:15 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA28479 for freebsd-net-outgoing; Sat, 30 Jan 1999 11:23:15 -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 LAA28469 for ; Sat, 30 Jan 1999 11:23:13 -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 UAA10680; Sat, 30 Jan 1999 20:22:36 +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 11:10:08 PST." <199901301910.LAA09983@bubba.whistle.com> Date: Sat, 30 Jan 1999 20:22:36 +0100 Message-ID: <10678.917724156@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199901301910.LAA09983@bubba.whistle.com>, Archie Cobbs writes: >Poul-Henning Kamp writes: >> >The point is that you avoid having to parse ASCII strings >> >for *every* control message. >> >> I simply don't understand why we can't have a single type of >> controlmessage that means >> >> "Here is an ascii string to you from the super-user, do >> whatever he tells you to, thankyou!" >> >> That's what I'm asking for, no more, no less. > >(why is this so hard to communicate) > >Are you saying you really don't understand, or you just weigh the >priorities differently? > >The reason is: > >It's important that control message delivery between nodes be as >fast as possible I'm not talking about control messages between nodes, I'm talking ONLY about control messages between ME as root via the ngctl program to some specific node, to get it to do something or other. >BUT, we can satisfy your need as well. We'll add a new base function: > > extern int ng_send_ascii_msg(node_p here, const char *path > const char *asciimsg, struct ng_mesg **rptr); That will do just fine, thankyou! Now I can write a ng module for something, distribute it in binary form only, and the users can still set option "water_pressure=4psi" or whatever they may need to set, without any hocus pocus with ELF sections and all that. -- 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